How to formulate where or statement, simple question
How to formulate where or statement, simple question
This question has an accepted answers - jump to answer
This discussion has been closed.
This question has an accepted answers - jump to answer
Answers
I believe that the Editor has an "orwhere" method.
I may be wrong, so read the docs.
Thx, I tried both orwhere and or_where (which I did find a reference to), but it didn't work...
There isn't actually an
or_where
method on theEditor
class - it exists on theQuery
class. So you'd need to use a closure function to be able to modify the query.This is documented in the manual which a specific section on going exactly what you are looking for.
Regards,
Allan
Excellent. Thank you for your, as always, relevant reply.