WebAPI-DBIC icon indicating copy to clipboard operation
WebAPI-DBIC copied to clipboard

support for OR'ing conditions in where.

Open rmallah opened this issue 8 years ago • 1 comments

Hi was trying to seek help in irc chat before posting here.

I am using HAL support in WebAPI::DBIC and i have a simple requirement of getting data using 'OR' clause in 2 separate columns , eg

"SELECT some fields from TABLE where somecol = 1 OR othercol=1 "

how would the query params be passed for this requirement.

had it been AND i would use say, ?me.somecol=1&me.othercol=1&fields=some_fields

regds mallah.

rmallah avatar Jan 04 '18 13:01 rmallah

Hello @rmallah. I'm sorry but I'm not working on WebAPI::DBIC any more and don't expect to in the future.

timbunce avatar Jan 04 '18 19:01 timbunce