Hello. In the API help ( https://docs.phalcon.io/en/latest/api/Phalcon_Mvc_Model_Query_Builder.html ) i can see that the query builder has the functions where
, andWhere
, orWhere
. The first add the "first" where to the query. The second add a clause "and where" and the third add a clause "or where".
So far, so good.
But looking at the "between where", i can only find betweenWhere
and notBetweenWhere
. So, my question is: Is there no andBetweenWhere
or orBetweenWhere
and to execute such query i would have to do something like andWhere("column BETWEEN :min: AND :max:")
?
Thank you all very much