diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-05-13 12:32:31 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-05-14 09:50:45 -0400 |
commit | 9f7c97b40b6b6c738bd4cac7ae8bdc8803a88973 (patch) | |
tree | a7c75bcc21059b4f6389b373d039f4435b6411fa /examples/sharding/separate_databases.py | |
parent | eb286c15f096771dbb128acbe8fe03e94aa72f6a (diff) | |
download | sqlalchemy-9f7c97b40b6b6c738bd4cac7ae8bdc8803a88973.tar.gz |
limit joinedload exclusion rules to immediate mapped columns
Fixed issue where using additional relationship criteria with the
:func:`_orm.joinedload` loader option, where the additional criteria itself
contained correlated subqueries that referred to the joined entities and
therefore also required "adaption" to aliased entities, would be excluded
from this adaption, producing the wrong ON clause for the joinedload.
Fixes: #9779
Change-Id: Idcfec3e760057fbf6a09c10ad67a0bb4bf70f03a
Diffstat (limited to 'examples/sharding/separate_databases.py')
0 files changed, 0 insertions, 0 deletions