]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added new parameter :paramref:`.orm.mapper.passive_deletes` to
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 20 Jan 2016 22:56:04 +0000 (17:56 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 20 Jan 2016 22:59:56 +0000 (17:59 -0500)
commit963aa3029742b4f52082f5ea89fac2100130e15b
tree08d50b29b29fde98ac9247301d8d98d9b276778b
parent61016f17d1a5aff1224d6609d74952be1d6e09ad
- Added new parameter :paramref:`.orm.mapper.passive_deletes` to
available mapper options.   This allows a DELETE to proceed
for a joined-table inheritance mapping against the base table only,
while allowing for ON DELETE CASCADE to handle deleting the row
from the subclass tables.
fixes #2349
doc/build/changelog/changelog_11.rst
doc/build/changelog/migration_11.rst
doc/build/orm/collections.rst
doc/build/orm/relationship_persistence.rst
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/persistence.py
test/orm/inheritance/test_basic.py