Re: [sqlalchemy] How to run multiple statements/operations in a single transaction ?

2016-11-18 Thread Simon King
On Fri, Nov 18, 2016 at 11:43 AM, Santosh Sharma wrote: > I am using SQLAlchemy and postgres database. > > I want to do "Delete and Insert operation" on the table in a single > transaction without using orm. > > Say > table User > Column | Type|

[sqlalchemy] How to run multiple statements/operations in a single transaction ?

2016-11-18 Thread Santosh Sharma
I am using SQLAlchemy and postgres database. I want to do "Delete and Insert operation" on the table in a single transaction *without using orm.* Say *table User* Column | Type| Modifiers