]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- major simplification of _collect_update_commands. in particular,
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 18 Aug 2014 16:50:29 +0000 (12:50 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 18 Aug 2014 17:18:46 +0000 (13:18 -0400)
commitd39927ec20dd0b66f4ab3aab3e4e67b3814186ce
treef6de4962376a9c1d50073bfa8df9ec0507be3565
parent530d3f07e0c1e70e0f9b80d3b5986253e06dcaf2
- major simplification of _collect_update_commands.  in particular,
we only call upon the history API fully for primary key columns.
We also now skip the whole step of looking at PK columns and using
any history at all if no net changes are detected on the object.
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/persistence.py
test/orm/test_dynamic.py
test/orm/test_unitofworkv2.py