diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-08-30 18:13:36 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-08-30 19:45:04 -0400 |
commit | 575b6dded9a25fca693f0aa7f6d7c6e735490460 (patch) | |
tree | 4bc0c76ee49bdac200abe0ec73ade88564b727c0 /lib/sqlalchemy/ext/asyncio/engine.py | |
parent | 406034d41a764f6fe24374d40c95e79d295f6e80 (diff) | |
download | sqlalchemy-575b6dded9a25fca693f0aa7f6d7c6e735490460.tar.gz |
Support extra / single inh criteria with ORM update/delete
The ORM bulk update and delete operations, historically available via the
:meth:`_orm.Query.update` and :meth:`_orm.Query.delete` methods as well as
via the :class:`_dml.Update` and :class:`_dml.Delete` constructs for
:term:`2.0 style` execution, will now automatically accommodate for the
additional WHERE criteria needed for a single-table inheritance
discrminiator. Joined-table inheritance is still not directly
supported. The new :func:`_orm.with_loader_criteria` construct is also
supported for all mappings with bulk update/delete.
Fixes: #5018
Fixes: #3903
Change-Id: Id90827cc7e2bc713d1255127f908c8e133de9295
Diffstat (limited to 'lib/sqlalchemy/ext/asyncio/engine.py')
0 files changed, 0 insertions, 0 deletions