0

我需要使用 Propel 一次否定多个条件。例如。对应的sql条件为:

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

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

4

1 回答 1

1

这里是等价的:something != 'a' or someOtherThing != 'b'

于 2010-09-03T14:57:31.787 回答