On Jan 8, 2008, at 5:40 PM, Eoghan Murray wrote:

>
> On Jan 8, 7:28 pm, Jonathan Gardner <[EMAIL PROTECTED]>
> wrote:
>> Eoghan Murray wrote:
>>> Ideally this would be expressed as:
>>
>>>>>> MyTable.filter(MyTable.c.MyColumn.in(ls))
>>
>> Try: MyTable.filter(MyTable.c.MyColumn.in_(ls))
>>
>> Just a guess. No time to see if this is right.
>
> That produces the following strange SQL where clause:
> WHERE MyTable.MyColumn = ARRAY['foo', 'bar', 'baz']

version 0.4 ?  if on version 0.3 use in_(*list)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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