On Dec 10, 2007, at 4:12 PM, Adam Batkin wrote:
> > No, I strongly disagree. Once you save() an object, there are > absolutely > no guarantees about when it will be flushed (other than that it will > happen the transaction is actually committed). > you can guarantee an object is flushed by saying flush(). or if you just retrieved it from a Query, youre similarly guaranteed that its flushed. whats the speciic use case you have that youre concerned about ? nobodys ever had this concern before AFAIK. > I can't find any place where sqlalchemy makes any guarantees regarding > the transition from Pending to Persistent state. Which is why I think > that objects in the Pending state should function (to the best of > sqlalchemy's ability) in as close to the same way as possible. why is flush() not a guarantee ? it seems really simple to me... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
