diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-11-01 13:15:14 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-11-02 01:22:41 -0400 |
commit | 2e2af8d918a568ca3036f88e457caaf59f6af644 (patch) | |
tree | e9f2c307a79fe1a0111f702e10166aa6ba5021f3 /lib/sqlalchemy/sql/compiler.py | |
parent | 7d372da7385be6a9817a20b6b62f7c4237af7b26 (diff) | |
download | sqlalchemy-2e2af8d918a568ca3036f88e457caaf59f6af644.tar.gz |
Implement __delete__
A long-standing oversight in the ORM, the ``__delete__`` method for a many-
to-one relationship was non-functional, e.g. for an operation such as ``del
a.b``. This is now implemented and is equivalent to setting the attribute
to ``None``.
Fixes: #4354
Change-Id: I60131a84c007b0bf6f20c5cc5f21a3b96e954046
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions