sebs
sebs

Reputation: 15

Propel: negate multiple conditions

I need to negate multiple conditions at once using 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?

Upvotes: 0

Views: 323

Answers (1)

DmitryK
DmitryK

Reputation: 5582

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

Upvotes: 1

Related Questions