Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-08 Thread Prasad Somwanshi
Yes, using flush does work. regards, Prasad Somwanshi     Sent: Tuesday, September 08, 2015 at 11:14 AM From: "Ashesh Vashi" To: "Ronan Dunklau" Cc: pgadmin-hackers , "Dave Page" , "Khushboo Vashi" , Prasad Subject: Re: [pgadmin-hackers] pgadmin4 setup.py, first time run On Tue, Sep 8, 2015

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-08 Thread Ashesh Vashi
On Tue, Sep 8, 2015 at 2:54 PM, Ronan Dunklau wrote: > If you want DML to be sent to the database with SQLAlchemy, you don't > necessarily need to commit: the flush() method will send all pending DML > operations without commiting. > What do you suggest - should we should use flush(...) instead o

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-08 Thread Ronan Dunklau
If you want DML to be sent to the database with SQLAlchemy, you don't necessarily need to commit: the flush() method will send all pending DML operations without commiting. Le Monday 07 September 2015 18:31:58 Ashesh Vashi a écrit : > On Mon, Sep 7, 2015 at 6:29 PM, Dave Page wrote: > > On Mon,