]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added session.is_modified(obj) method; performs the same "history" comparison operation
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Sep 2007 14:51:23 +0000 (14:51 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Sep 2007 14:51:23 +0000 (14:51 +0000)
commit6b5543995b66b524097ad540a0a3f9dfd9eb9413
tree08ae6d6f784c90c3c2a7aad55b549f084aa9e716
parent8c9795d9e4b39eba655bdf656b2645224f7c8b13
- added session.is_modified(obj) method; performs the same "history" comparison operation
  as occurs within a flush operation; setting include_collections=False gives the same
  result as is used when the flush determines whether or not to issue an UPDATE for the
  instance's row.
CHANGES
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/scoping.py
lib/sqlalchemy/orm/session.py
test/orm/session.py