Re: [sqlalchemy] How can I use the transaction to make sure data is one by on?

2014-07-30 Thread 'Frank Liou' via sqlalchemy
HI! Jonathan I use self.trans = self.connection.begin() but now i use debug lock before commit then i try to use my pgAdmin to add or update same data. and then it's sussesful to add data by pgAdmin i think that meaning my trans did not work and it maybe just can lock the same

Re: [sqlalchemy] How can I use the transaction to make sure data is one by on?

2014-07-30 Thread Jonathan Rogers
On 07/30/2014 05:59 AM, 'Frank Liou' via sqlalchemy wrote: HI! Jonathan I use self.trans = self.connection.begin() but now i use debug lock before commit I'm afraid I don't know what that means. then i try to use my pgAdmin to add or update same data. At least that

[sqlalchemy] How can I use the transaction to make sure data is one by on?

2014-07-29 Thread 'Frank Liou' via sqlalchemy
My question is I want to add some data But what if so many people add in the same time? Is it will error? So Can i that the add code limit in one guy to use when he is add over then release limit code and let other guy to use Thanks for help -- You received this message because you are