[RSS Feed/News] Or condition on finder

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hey,

I want to write a query on xenforo that will have both operator AND , OR .

If i use $item->where() then it will use only AND .. but if use $item->where()->whereOr(). Then it will wrap all OR condition in AND .


Is there anyway i can write something like that .

Select * from zyx where abc=1 and zzz=2 and bbb=3 or rrr in(10)

Please guide me

Thanks

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom