On Mon, Apr 9, 2012 at 6:50 PM, Michael Bayer <mike...@zzzcomputing.com> wrote: > better one to use from engine is begin() (also new in 0.7.6): > > with engine.begin() as conn: > ... > > that way everything you do with conn is on the same transaction.
Yeah, because I'm using 0.5.8 (and couldn't switch to 0.6.x yet, the app breaks with it). -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.