Hi Michael, On 1 May 2009, at 20:50, Michael Bayer wrote:
> obj in session.new > obj in session.dirty > obj in session Cheers for that. I was actually on the right page in the documentation when I was looking for that. http://www.sqlalchemy.org/docs/05/reference/orm/sessions.html?highlight=session#sqlalchemy.orm.session.Session A modest suggestion - it might be useful to mention these methods right below the paragraph there where the terms "transient", "pending", etc. are introduced. Thanks again, Demitri > On May 1, 2009, at 6:55 PM, [email protected] wrote: > >> Given a session object, is there a way to test if an object in the >> session is pending (or for that matter, transient, persistent, or >> detached)? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
