summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/psycopg2.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2021-01-20 17:06:14 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2021-01-20 17:07:22 -0500
commitb6ff056b91834ec56f685c8735cd67c9b0603de7 (patch)
treeb7f313f12c3cf756fa735d1547cddb712ddf585a /lib/sqlalchemy/dialects/postgresql/psycopg2.py
parent3df145c57c966e1511bccc117161563123ec6f0b (diff)
downloadsqlalchemy-b6ff056b91834ec56f685c8735cd67c9b0603de7.tar.gz
chain joins from SelectState context, not Select
Fixed issue in new :meth:`_sql.Select.join` method where chaining from the current JOIN wasn't looking at the right state, causing an expression like "FROM a JOIN b <onclause>, b JOIN c <onclause>" rather than "FROM a JOIN b <onclause> JOIN c <onclause>". Added :meth:`_sql.Select.outerjoin_from` method to complement :meth:`_sql.Select.join_from`. Fixes: #5858 Change-Id: I1346ebe0963bbd1e4bf868650e3ee1d6d3072f04
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/psycopg2.py')
0 files changed, 0 insertions, 0 deletions