]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Correct for CTE correspondence w/ aliased CTE
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 31 Mar 2021 23:38:10 +0000 (19:38 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 31 Mar 2021 23:39:23 +0000 (19:39 -0400)
commit496f97cd068237af2e519cd9fde49196fc27a55c
tree8d6ace43f609e5eab51c751381efd687a906266f
parent1c8e221b55082afcecde0c05fe7b00d8018f8015
Correct for CTE correspondence w/ aliased CTE

Fixed regression where the :func:`_orm.joinedload` loader strategy would
not successfully joinedload to a mapper that is mapper against a
:class:`.CTE` construct.

Fixes: #6172
Change-Id: I667e46d00d4209dab5a89171118a00a7c30fb542
doc/build/changelog/unreleased_14/6172.rst [new file with mode: 0644]
lib/sqlalchemy/sql/selectable.py
test/orm/test_eager_relations.py
test/orm/test_lazy_relations.py
test/orm/test_selectin_relations.py
test/orm/test_subquery_relations.py
test/sql/test_selectable.py