]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added an automatic "row switch" feature to mapping, which will
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 27 Sep 2006 05:08:22 +0000 (05:08 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 27 Sep 2006 05:08:22 +0000 (05:08 +0000)
commitdf9c1a10b568cb89aec41fcb0c7c31a1ae75943c
treec5a45acd6719070254fc8483db9981408c334cbd
parentb4112538dbd46ee7d3c25fc35f3c43aed342e429
- added an automatic "row switch" feature to mapping, which will
detect a pending instance/deleted instance pair with the same
identity key and convert the INSERT/DELETE to a single UPDATE
- "association" mappings simplified to take advantage of
automatic "row switch" feature
- fixes [ticket:311]
CHANGES
lib/sqlalchemy/orm/dependency.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/unitofwork.py