[sqlalchemy] Re: text binding for sql queries

2009-02-14 Thread Max Ischenko
On 13 фев, 18:46, a...@svilendobrev.com wrote: i guess s.execute(stmt, params=dict(codeword=codeword) ) It worked, thanks a lot! Strangely though params= not mentioned on this page: http://www.sqlalchemy.org/docs/05/sqlexpression.html Max.

[sqlalchemy] Re: text binding for sql queries

2009-02-13 Thread az
i guess s.execute(stmt, params=dict(codeword=codeword) ) }On Friday 13 February 2009 18:42:26 Max Ischenko wrote: I get an error when I'm trying tu run this: stmt = text(select * from salary_data_new where codeword=:codeword union select * from