It seems it is not possible to do this with bindparams, my workaround
was as follows

On Sep 16, 2:01 pm, Pykler <[email protected]> wrote:
> engine.execute(sql.expression.text('''
> select * from users where id in %s
> '''% SqlTuple([1,2,3,4]))

Where SqlTuple is a tuple with a custom repr method to print without
the trailing ,

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