推动:否定多重条件

时间:2010-08-22 23:22:10

标签: php orm where-clause propel

我需要使用Propel一次性否定多个条件。 E. g。相应的sql条件是:

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

我找不到使用Propel ORM解决这个问题的方法。有没有办法使用Propel 1.3提供的Criteria-API构建此查询?

1 个答案:

答案 0 :(得分:1)

这是等效的: 某事!='a'或someOtherThing!='b'