]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added expire_all() method to Session. Calls expire()
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Feb 2008 19:22:34 +0000 (19:22 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Feb 2008 19:22:34 +0000 (19:22 +0000)
commit6f9aa3a9003d4d63348bc56f612690a153da640c
tree13c41e15a1d80de7236a9b834c6cc25ea9b23eed
parent645fa5255d899431d489b89d1c567bce96c1bb4d
- added expire_all() method to Session.  Calls expire()
for all persistent instances.  This is handy in conjunction
with .....

- instances which have been partially or fully expired
will have their expired attributes populated during a regular
Query operation which affects those objects, preventing
a needless second SQL statement for each instance.
CHANGES
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/session.py
test/orm/expire.py