]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added new helper function :func:`.was_deleted`, returns True
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 20 Feb 2013 23:24:46 +0000 (18:24 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 20 Feb 2013 23:24:46 +0000 (18:24 -0500)
commit26fb4b81638189547dd24f525ad0d146f2646916
treead77d18c6ea7246cfc34666459123e4432564361
parent6d1c473c4726533764e0d46446abb41c79109f10
- Added new helper function :func:`.was_deleted`, returns True
if the given object was the subject of a :meth:`.Session.delete`
operation.
- An object that's deleted from a session will be de-associated with
that session fully after the transaction is committed, that is
the :func:`.object_session` function will return None.
[ticket:2658]
doc/build/changelog/changelog_08.rst
doc/build/orm/session.rst
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/orm/util.py
test/orm/test_session.py