[sqlalchemy] Re: 0.3 -- 0.4 : dictionaries for execute()

2008-05-21 Thread Michael Bayer
On May 21, 2008, at 11:06 AM, Moshe C. wrote: This is probably very simple, but I am searching the docs and not finding the answer :-( In 0.3 I had a working statement of the form: engine.execute(table.select(), cond_dict) where cond_dict is a dictionary of column names mapped to values.

[sqlalchemy] Re: 0.3 -- 0.4 : dictionaries for execute()

2008-05-21 Thread Moshe C.
Thanks. So I guess you cannot use the dictionary argument as is. It was very convenient. On May 21, 6:16 pm, Michael Bayer [EMAIL PROTECTED] wrote: On May 21, 2008, at 11:06 AM, Moshe C. wrote: This is probably very simple, but I am searching the docs and not finding the answer :-( In

[sqlalchemy] Re: 0.3 -- 0.4 : dictionaries for execute()

2008-05-21 Thread Michael Bayer
On May 21, 2008, at 11:37 AM, Moshe C. wrote: Thanks. So I guess you cannot use the dictionary argument as is. It was very convenient. It greatly complicated statement compilation since the cond_dict needed to be sent along to the compilation of table.select(), where extra logic kicked