[sqlalchemy] pairing merged object with the original

2010-02-10 Thread Kent
After merge() returns, is there a way for me to pair each object in the returned merge_obj with the object it was created from? For example: merged_obj = session.merge(object) At the top level, it is trivial, merged_obj was created because of the instance object For single RelationProperties

Re: [sqlalchemy] pairing merged object with the original

2010-02-10 Thread Michael Bayer
On Feb 10, 2010, at 2:49 PM, Kent wrote: After merge() returns, is there a way for me to pair each object in the returned merge_obj with the object it was created from? For example: merged_obj = session.merge(object) At the top level, it is trivial, merged_obj was created because of the