]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- mutable primary key support is added. primary key columns can be
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 9 Dec 2007 05:00:12 +0000 (05:00 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 9 Dec 2007 05:00:12 +0000 (05:00 +0000)
commitacdb90784b84bc66e15e4295dd87ce30734d4025
treea7cf6968fc223df720fe58aa1b54551c0f0fea87
parentc9b3f0bcef20794ac7296a855aafe8b75ae7630e
- mutable primary key support is added. primary key columns can be
changed freely, and the identity of the instance will change upon
flush. In addition, update cascades of foreign key referents (primary
key or not) along relations are supported, either in tandem with the
database's ON UPDATE CASCADE (required for DB's like Postgres) or
issued directly by the ORM in the form of UPDATE statements, by setting
the flag "passive_cascades=False".
13 files changed:
CHANGES
doc/build/content/mappers.txt
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/dependency.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/sync.py
lib/sqlalchemy/orm/unitofwork.py
test/orm/alltests.py
test/orm/naturalpks.py [new file with mode: 0644]
test/orm/unitofwork.py