Re: [sqlalchemy] Look for the best way to undelete a model

2010-11-04 Thread Michael Bayer
On Nov 4, 2010, at 4:38 PM, Mike Bernson wrote: > I have a transaction started with begin > I then delete a record in the transaction. > I then commit and the commit fails. > I now want to continue by undelete the record but leave > record in the session. > > I want to leave the record in the se

[sqlalchemy] Look for the best way to undelete a model

2010-11-04 Thread Mike Bernson
I have a transaction started with begin I then delete a record in the transaction. I then commit and the commit fails. I now want to continue by undelete the record but leave record in the session. I want to leave the record in the session because session is doing caching. The session is created