]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The "allow_null_pks" flag is now called "allow_partial_pks",
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 22 Feb 2010 23:53:35 +0000 (23:53 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 22 Feb 2010 23:53:35 +0000 (23:53 +0000)
commit9f020d3ba342cb777d20f7eed0304e8806d47207
treea64116e5b5524b9ed180761a388776d42e2b1693
parente3ffcf82ce1f0ba4bf887f889d7f1c0bfcc1f68b
- The "allow_null_pks" flag is now called "allow_partial_pks",
defaults to True, acts like it did in 0.5 again.  Except,
it also is implemented within merge() such that a SELECT
won't be issued for an incoming instance with partially
NULL primary key if the flag is False.  [ticket:1680]
CHANGES
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/session.py
test/orm/test_mapper.py
test/orm/test_merge.py