diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-08-01 12:01:59 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-08-01 18:06:48 -0400 |
commit | 19cd4d4bc01d6176a23c72d37634c8ee4acbac40 (patch) | |
tree | 2b799e9a421e18590101e1d2961f35d8c1f63137 /lib/sqlalchemy/dialects/postgresql/base.py | |
parent | 1c32206120b1a6555f8bb7a20a0c4c53ea2f52a8 (diff) | |
download | sqlalchemy-19cd4d4bc01d6176a23c72d37634c8ee4acbac40.tar.gz |
Handle association proxy delete and provide for scalar delete cascade
Fixed multiple issues regarding de-association of scalar objects with the
association proxy. ``del`` now works, and additionally a new flag
:paramref:`.AssociationProxy.cascade_scalar_deletes` is added, which when
set to True indicates that setting a scalar attribute to ``None`` or
deleting via ``del`` will also set the source association to ``None``.
Change-Id: I1580d761571d63eb03a7e8df078cef97d265b85c
Fixes: #4308
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
0 files changed, 0 insertions, 0 deletions