diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-03-29 09:48:24 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-03-29 10:07:30 -0400 |
| commit | a55476fbdbc9b4e192a052b81dfe7e750d6241e4 (patch) | |
| tree | 7dc6802b398cfeb8e31e3d0dd1d10ba4dd40edfb /lib/sqlalchemy/sql/_elements_constructors.py | |
| parent | 4fd4e4b0d6d20586614a18c3365476184d1a6a70 (diff) | |
| download | sqlalchemy-a55476fbdbc9b4e192a052b81dfe7e750d6241e4.tar.gz | |
use annotated entity when adding secondary
Fixed regression in "dynamic" loader strategy where the
:meth:`_orm.Query.filter_by` method would not be given an appropriate
entity to filter from, in the case where a "secondary" table were present
in the relationship being queried and the mapping were against something
complex such as a "with polymorphic".
Fixes: #7868
Change-Id: I3b82eec6485c5a92b56a596da0cfb009e9e67883
Diffstat (limited to 'lib/sqlalchemy/sql/_elements_constructors.py')
0 files changed, 0 insertions, 0 deletions
