]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- enabled the DetectKeySwitch, and additionally added that it need
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 5 Apr 2010 18:49:35 +0000 (14:49 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 5 Apr 2010 18:49:35 +0000 (14:49 -0400)
commit67b99a7bfae11b20b9b3c025f357ad366c4d991b
tree3d5995b9a600e245f8ee6ee47a192eeb59eb54ee
parentddb40afc6b5742341c2710a39e06128545752172
- enabled the DetectKeySwitch, and additionally added that it need
not execute at all when a one-to-many is present on the reverse side.
- OneToMany can establish a state as "listonly" when passive_updates are enabled
and the change is due to key switch.
lib/sqlalchemy/orm/dependency.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/unitofwork.py
test/orm/test_naturalpks.py