]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Additional tuning to "many-to-one" relationship
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 11 Feb 2011 19:41:29 +0000 (14:41 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 11 Feb 2011 19:41:29 +0000 (14:41 -0500)
commitd7fda4ae03f0e1c1ab73ced15e7b0472f36d1024
tree280225601b0b1768423babdef6fb52766f4b21d2
parent33eae4a1405b1968ad486bfe3aefee7f7d631128
- Additional tuning to "many-to-one" relationship
loads during a flush().   A change in version 0.6.6
([ticket:2002]) required that more "unnecessary" m2o
loads during a flush could occur.   Extra loading modes have
been added so that the SQL emitted in this
specific use case is trimmed back, while still
retrieving the information the flush needs in order
to not miss anything.  [ticket:2049]
CHANGES
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/dependency.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
test/orm/test_unitofworkv2.py