Is it possible to do an OR on the Where clause?
Is it possible to do an OR on the Where clause?
This question has an accepted answers - jump to answer
This discussion has been closed.
This question has an accepted answers - jump to answer
Answers
Yes absolutely. The
where()
method in Editor 1.4 accepts an anonymous function which gives you access to the query instance Editor is using. With that you can use itsor_where()
method:The API reference for this is available here.
Allan