Re: [sqlalchemy] Commit many queries at once

2011-03-12 Thread Michael Bayer
On Mar 11, 2011, at 6:41 PM, eddy wrote: Like in session we commit all changes in one commit is there any way we can execute different queries at one. for eg q1 = some.table update.query1 q2 = some.table.update.query2 instead of updating table one at a time like running q1.execute()

[sqlalchemy] Commit many queries at once

2011-03-11 Thread eddy
Like in session we commit all changes in one commit is there any way we can execute different queries at one. for eg q1 = some.table update.query1 q2 = some.table.update.query2 instead of updating table one at a time like running q1.execute() q2.execute() can i add these to a session and commit