[sqlalchemy] simple update without a session or mapping

2011-01-26 Thread Josh Stratton
I'm currently interfacing with an Oracle db using sqlalchemy without any sessions or mappings. Selects and inserts work great, but I'd like to be able to update a row without having to delete and reinsert it. # remove the id table.delete(table.c.id == row['id']).execute()

Re: [sqlalchemy] simple update without a session or mapping

2011-01-26 Thread Michael Bayer
the docs for update() are at: tutorial: http://www.sqlalchemy.org/docs/core/tutorial.html#inserts-and-updates API: http://www.sqlalchemy.org/docs/core/expression_api.html#sqlalchemy.sql.expression.update On Jan 26, 2011, at 2:14 PM, Josh Stratton wrote: I'm currently interfacing with an