]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- merge() may actually work now, though we've heard that before...
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 1 Apr 2008 17:13:09 +0000 (17:13 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 1 Apr 2008 17:13:09 +0000 (17:13 +0000)
commitad231da3b83bcdad4446690fa37fbe03408a40d6
treeaf2efdd02ba000e2b994b7e191f964bed336a841
parent1e0a91fe81cd8cf38603c7147ebf2e79301be6f5
- merge() may actually work now, though we've heard that before...
- merge() uses the priamry key attributes on the object if _instance_key not present.  so merging works for instances that dont have an instnace_key, will still issue UPDATE for existing rows.
- improved collection behavior for merge() - will remove elements from a destination collection that are not in the source.
- fixed naive set-mutation issue in Select._get_display_froms
- simplified fixtures.Base a bit
CHANGES
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/sql/expression.py
test/orm/merge.py
test/testlib/fixtures.py