The ~ symbol is interpreted as "not", which is a synonym for sqlalchemy.not_():
~Person.address.contains(foo) not_(Person.address.contains(foo)) On Jan 4, 2011, at 5:37 AM, F.A.Pinkse wrote: > Hi All, > > > I can do a .filter(Person.address.contians(someaddress)) > > but how do I do the negated version? meaning not contains() > > > Thanks, > > Frans > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sqlalchemy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
