diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-04-27 16:51:43 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-04-27 18:38:49 -0400 |
commit | 483a644959f396e3abdcb8f0f373936569958970 (patch) | |
tree | f797c2f1666fda104d428c8c1ebfc228868eb0ed /lib/sqlalchemy/dialects/postgresql/pypostgresql.py | |
parent | d57767e08b35e4cd18ef57192a1842cc1b4939d4 (diff) | |
download | sqlalchemy-483a644959f396e3abdcb8f0f373936569958970.tar.gz |
Alias the onclause if ORM join is to same polymorphic selectable
Fixed bug where using :func:`.with_polymorphic` as the target of a join via
:meth:`.RelationshipComparator.of_type` on a mapper that already has a
subquery-based with_polymorphic setting that's equivalent to the one
requested would not correctly alias the ON clause in the join.
Fixes: #5288
Change-Id: I0212a990ee67a344c87fe21833bf47fdb72ca0cc
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/pypostgresql.py')
0 files changed, 0 insertions, 0 deletions