summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2018-11-12 18:27:34 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2018-11-14 21:35:15 -0500
commit7dcfd1e019e1c0ebceba06d6684f5bf64a2efb71 (patch)
tree35a6a875d1cee208b22884919359128b078eaae6 /lib/sqlalchemy/sql/base.py
parenta698bdbc5716201804ddedde6a0fc5ab33d43300 (diff)
downloadsqlalchemy-7dcfd1e019e1c0ebceba06d6684f5bf64a2efb71.tar.gz
Allow join() to pick the best candidate from multiple froms/entities
Refactored :meth:`.Query.join` to further clarify the individual components of structuring the join. This refactor adds the ability for :meth:`.Query.join` to determine the most appropriate "left" side of the join when there is more than one element in the FROM list or the query is against multiple entities. In particular this targets the regression we saw in :ticket:`4363` but is also of general use. The codepaths within :meth:`.Query.join` are now easier to follow and the error cases are decided more specifically at an earlier point in the operation. Fixes: #4365 Change-Id: I403f451243904a020ceab4c3f94bead550c7b2d5
Diffstat (limited to 'lib/sqlalchemy/sql/base.py')
0 files changed, 0 insertions, 0 deletions