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:45 -0400 |
| commit | 02f50ded0b8897ab10f5c5db0336f1f3f68451ef (patch) | |
| tree | 30f6e2df962c4cd577d617649170e9dc17510146 /lib/sqlalchemy/sql | |
| parent | 6c9fa2dc8667ea5de66023dc7140881befa788da (diff) | |
| download | sqlalchemy-02f50ded0b8897ab10f5c5db0336f1f3f68451ef.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
(cherry picked from commit a55476fbdbc9b4e192a052b81dfe7e750d6241e4)
Diffstat (limited to 'lib/sqlalchemy/sql')
0 files changed, 0 insertions, 0 deletions
