]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- the allow_null_pks flag on mapper() is deprecated, and
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 31 Aug 2009 20:54:19 +0000 (20:54 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 31 Aug 2009 20:54:19 +0000 (20:54 +0000)
commitc3b0df488fbac3c96eb32ced527a46278008a04c
treeec119c6a7bdbbd6098cfe2b5d049adc7bbc60843
parent3d38969fd4f88d996d438df63f7cbb1833b63429
- the allow_null_pks flag on mapper() is deprecated, and
the feature is turned "on" by default.  This means that
a row which has a non-null value for any of its primary key
columns will be considered an identity.  The need for this
scenario typically only occurs when mapping to an outer join.
[ticket:1339]
- streamlined the NULL check to use set operations
CHANGES
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/mapper.py
test/orm/test_mapper.py
test/orm/test_relationships.py