If you are using Session.connection() with the ORM, it gives you a connection
that's part of the Session's transaction.
If you aren't working with the ORM and just have an Engine, you need to get a
Connection then call begin() on it.
this stuff is all up there if you poke around a bit.
On Ju
Hmm, new to SQLAlchemy here, but if I want transactions, then I need
to go the Session route, correct?
On Jun 23, 2:48 pm, Michael Bayer wrote:
> On Jun 23, 2011, at 5:08 PM, Wells Oliver wrote:
>
> > W/ psycopg2, you can do a cursor.execute(query, list) where list is an
> > actual python list of