MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / visit_binary

Method visit_binary

lib/sqlalchemy/dialects/oracle/base.py:1429–1437  ·  view source on GitHub ↗
(binary)

Source from the content-addressed store, hash-verified

1427 # the join condition in the WHERE clause" - that is,
1428 # unconditionally regardless of operator or the other side
1429 def visit_binary(binary):
1430 if isinstance(
1431 binary.left, expression.ColumnClause
1432 ) and join.right.is_derived_from(binary.left.table):
1433 binary.left = _OuterJoinColumn(binary.left)
1434 elif isinstance(
1435 binary.right, expression.ColumnClause
1436 ) and join.right.is_derived_from(binary.right.table):
1437 binary.right = _OuterJoinColumn(binary.right)
1438
1439 clauses.append(
1440 visitors.cloned_traverse(

Callers

nothing calls this directly

Calls 2

_OuterJoinColumnClass · 0.85
is_derived_fromMethod · 0.45

Tested by

no test coverage detected