Files
sqlalchemy/test/orm
Arya Rizky cf3cfa307f Fix subqueryload losing .and_() criteria when combined with of_type()
Fixed issue where :func:`_orm.subqueryload` combined with
:meth:`.PropComparator.of_type` and :meth:`.PropComparator.and_` would
silently drop the additional filter criteria, causing all related objects
to be loaded instead of only those matching the filter.  The
:class:`.LoaderCriteriaOption` was being constructed against the base
entity rather than the effective entity indicated by
:meth:`.PropComparator.of_type`.  Pull request courtesy Arya Rizky.

Fixes: #13207

Closes: #13290
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/13290
Pull-request-sha: b7a8617cde

Change-Id: I2c24652ec112511deaf39dbb9d6197e2097904ed
2026-05-27 18:06:55 -04:00
..
2025-12-19 21:24:23 +01:00
2026-05-10 19:00:42 +02:00
2024-01-31 21:54:59 +01:00
2026-05-10 19:00:42 +02:00
2025-11-15 18:33:07 +00:00
2025-03-18 09:17:07 -04:00
2025-12-18 21:18:42 +01:00
2025-12-19 21:24:23 +01:00
2026-05-10 19:00:42 +02:00
2026-05-10 19:00:42 +02:00
2025-12-18 21:18:42 +01:00
2026-05-10 19:00:42 +02:00
2026-05-10 19:00:42 +02:00
2025-11-30 14:38:13 -05:00
2025-11-30 14:38:13 -05:00
2026-05-10 19:00:42 +02:00
2023-06-27 23:50:25 +02:00