[sqlalchemy] Re: sql.expression.text in clause how to?

2010-09-16 Thread Pykler
It seems it is not possible to do this with bindparams, my workaround was as follows On Sep 16, 2:01 pm, Pykler hnass...@gmail.com 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

Re: [sqlalchemy] Re: sql.expression.text in clause how to?

2010-09-16 Thread Conor
On 09/16/2010 04:28 PM, Pykler wrote: It seems it is not possible to do this with bindparams, my workaround was as follows On Sep 16, 2:01 pm, Pykler hnass...@gmail.com wrote: engine.execute(sql.expression.text(''' select * from users where id in %s '''% SqlTuple([1,2,3,4]))