On Sat, Apr 24, 2010 at 12:54, Alexander Zhabotinskiy
<[email protected]> wrote:
> Another trouble (if it's possible)
>
> I need to get like + in_ filter.
>
> values = ['64', '55', '37']
>
> filter(Some.value.like("%:64%")), but in loop like
> "filter(Some.value.like(in_([("%:" + x + "%") for x in values]))"

As far as I know there's no way to do that other than by OR-ing the
various LIKE clauses together?



-- 
Rami Chowdhury
"Never assume malice when stupidity will suffice." -- Hanlon's Razor
408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD)

-- 
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.

Reply via email to