On Jul 3, 2013, at 5:06 PM, Michael Bayer <[email protected]> wrote:
> Do the UPDATE through Session.execute() so it's within the same transaction.
.. or even just query(Gadget).with_parent(some_widget).update({"machine_id":
some_widget.machine_id}), then you can have those Gadget objects refreshed in
memory using synchronize_session, if that's important.
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.