On May 5, 2008, at 9:10 AM, Roopesh wrote:

>
> How can I do something like:
> table2.c.domain in ['naukri.com', 'gmail.com', 'yahoo.com']
>
> Also how can I do something like
> table2.c.domain not in ['naukri.com', 'gmail.com', 'yahoo.com']
>

use the "in_" method, column.in_(['naukri.com', 'gmail.com',  
'yahoo.com']),  not_(column.in_(['naukri.com', 'gmail.com',  
'yahoo.com'])) .



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