]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- merged sync_simplify branch
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Apr 2008 00:21:28 +0000 (00:21 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Apr 2008 00:21:28 +0000 (00:21 +0000)
commit1dbed0b2b4446408f14a87d94f9c0c6b3356fcf2
tree2dcd585d8472170cdcfd8bdbd658f60a4728a282
parent9dd01e52e2e0755bbaf6e08b048e9a48b55879d1
- merged sync_simplify branch
- The methodology behind "primaryjoin"/"secondaryjoin" has
been refactored.  Behavior should be slightly more
intelligent, primarily in terms of error messages which
have been pared down to be more readable.  In a slight
number of scenarios it can better resolve the correct
foreign key than before.
- moved collections unit test from relationships.py to collection.py
- PropertyLoader now has "synchronize_pairs" and "equated_pairs"
collections which allow easy access to the source/destination
parent/child relation between columns (might change names)
- factored out ClauseSynchronizer (finally)
- added many more tests for priamryjoin/secondaryjoin
error checks
12 files changed:
CHANGES
lib/sqlalchemy/orm/dependency.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/sync.py
lib/sqlalchemy/schema.py
lib/sqlalchemy/sql/util.py
test/orm/collection.py
test/orm/inheritance/polymorph2.py
test/orm/relationships.py