On Mon, 11 May 2009 09:01:06 -0700 (PDT) polaar <[email protected]> wrote:
> > this would even be easier (and correcter if the terms contain "%") > written as: > > cond = or_(*[Fruit.name.contains(term) for term in terms]) > Indeed, good catch. I was so interested in the "apply or_" logic that I missed the escaping bug :) -Kyle --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
