Re: [sqlalchemy] Determining what, if anything, a Session.merge() does?

2016-03-10 Thread Russ
Excellent, thank you. is_modified() works very well in this case, with caveats noted. Also, a nice intro to the History API... hadn't seen that before! -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop

Re: [sqlalchemy] Determining what, if anything, a Session.merge() does?

2016-03-10 Thread Mike Bayer
On 03/10/2016 08:06 PM, Russ wrote: Is there any way to tell what the outcome of a Session.merge() operation is? The case of specific interest is when the instance to be merged *does* exist prior to the merge() call. Is there a built in way to see if any attributes end up updated, or does

[sqlalchemy] Determining what, if anything, a Session.merge() does?

2016-03-10 Thread Russ
Is there any way to tell what the outcome of a Session.merge() operation is? The case of specific interest is when the instance to be merged *does* exist prior to the merge() call. Is there a built in way to see if any attributes end up updated, or does this need to be checked manually? --