开发者

Propel: negate multiple conditions

I need to negate multiple conditions at once u开发者_如何学编程sing Propel. E. g. a corresponding sql condition is:

WHERE !(something = 'a' and someOtherThing = 'b')

I couldn't find a way to solve this using Propel ORM. Is there a way to build this query with the Criteria-API that Propel 1.3 provides?


here is the equivalent: something != 'a' or someOtherThing != 'b'

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜