On Feb 26, 3:25 pm, "King Simon-NFHD78" <[EMAIL PROTECTED]> wrote: > If you are wanting to know _after_ the session.flush(), I don't think > session.new/dirty/deleted will help you. Also, your primary key will be > read back from the database immediately after INSERT, so it won't be > None. Between, the save and the flush, "obj in session.new" should do > the job.
Brilliant - that's exactly what I was after. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---