On 5/27/15 5:00 PM, [email protected] wrote:
On 2015-05-26 13:06 Mike Bayer <[email protected]> wrote:
expunge sends a "persistent" object to the "detached" state.
make_transient converts a "persistent" object to a "transient". These
states are described at
When I expunge() an object (it became "detached") and after that
modifying its values (maybe the user did it in a dialog) I want to save
that changes to the database.

I am not sure if I have to call add() or merge() for that.

either, but add() might be the easier approach in this case.




--
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/d/optout.

Reply via email to