diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-04-17 13:46:12 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-04-17 15:32:00 -0400 |
commit | a05ae2c7ce0c056eef549d078faa2ca20356d35c (patch) | |
tree | 3927fa073a6b3b3b9d124ce953ed38c062ff1d28 /lib/sqlalchemy/dialects/postgresql/base.py | |
parent | acf7fbd60b9b1291dfc91438416867c88e94c5ba (diff) | |
download | sqlalchemy-a05ae2c7ce0c056eef549d078faa2ca20356d35c.tar.gz |
apply criteria options from top-level core-only statement
Made an improvement to the :func:`_orm.with_loader_criteria` loader option
to allow it to be indicated in the :meth:`.Executable.options` method of a
top-level statement that is not itself an ORM statement. Examples include
:func:`_sql.select` that's embedded in compound statements such as
:func:`_sql.union`, within an :meth:`_dml.Insert.from_select` construct, as
well as within CTE expressions that are not ORM related at the top level.
Improved propagation of :func:`_orm.with_loader_criteria` within
ORM enabled UPDATE and DELETE statements as well.
Fixes: #9635
Change-Id: I088ad91929dc797c06f292f5dc547d48ffb30430
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
0 files changed, 0 insertions, 0 deletions