Glauco wrote:
>
>
> I don't know if is better to use the psycopg adapter.
>
> Can i use the funct.* function only as adapter?
>
> example:
>
> In [1]: aa = [1,2,3,4,]
>
> In [2]: print sa.func.in_( *aa )
> in(:in, :in_1, :in_2, :in_3)
>
> how to obtain  this?
> in ( 1,2,3,4 )

perhaps you're looking for  sa.func.in_(*[literal_column(x) for x in aa]) ?

I'm not sure what this accomplishes for you overall, however.


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