Michael Bayer ha scritto:
>>>> from sqlalchemy import *
>>>> aa = [1,2,3,4]
>>>> print func.in_(*[literal_column(str(x)) for x in aa])
>>>>         
> in(1, 2, 3, 4)
>
> this is what you asked for ?
>
>
>   
Yess! well done !

I'm using the sa.func.literal_column instead of sa.literal_column...


Thank you one more time Michael

Gla


-- 
+------------------------------------------------------------+
 Glauco Uri  
 glauco(at)sferacarta.com 
                               
          Sfera Carta Software®       info(at)sferacarta.com
  Via Bazzanese,69  Casalecchio di Reno(BO) - Tel. 051591054
+------------------------------------------------------------+



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