[sqlalchemy] Unique Identifier for newly added child records?

2010-10-25 Thread Mark Erbaugh
Does SA maintain a usable unique identifier for newly added child records before the data is committed? I have a mapping of a one-many relationship using a foreign key. The detail (many side) records are in an instrumented list. I need to relate the items in this list to rows in an user

Re: [sqlalchemy] Unique Identifier for newly added child records?

2010-10-25 Thread Michael Bayer
On Oct 25, 2010, at 2:19 PM, Mark Erbaugh wrote: Does SA maintain a usable unique identifier for newly added child records before the data is committed? I have a mapping of a one-many relationship using a foreign key. The detail (many side) records are in an instrumented list. I need to

Re: [sqlalchemy] Unique Identifier for newly added child records?

2010-10-25 Thread Mark Erbaugh
On Oct 25, 2010, at 3:57 PM, Michael Bayer wrote: On Oct 25, 2010, at 2:19 PM, Mark Erbaugh wrote: Does SA maintain a usable unique identifier for newly added child records before the data is committed? I have a mapping of a one-many relationship using a foreign key. The detail