MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / outerjoin

Function outerjoin

lib/sqlalchemy/orm/_orm_constructors.py:2681–2694  ·  view source on GitHub ↗

Produce a left outer join between left and right clauses. This is the "outer join" version of the :func:`_orm.join` function, featuring the same behavior except that an OUTER JOIN is generated. See that function's documentation for other usage details.

(
    left: _FromClauseArgument,
    right: _FromClauseArgument,
    onclause: Optional[_OnClauseArgument] = None,
    full: bool = False,
)

Source from the content-addressed store, hash-verified

2679
2680
2681def outerjoin(
2682 left: _FromClauseArgument,
2683 right: _FromClauseArgument,
2684 onclause: Optional[_OnClauseArgument] = None,
2685 full: bool = False,
2686) -> _ORMJoin:
2687 """Produce a left outer join between left and right clauses.
2688
2689 This is the "outer join" version of the :func:`_orm.join` function,
2690 featuring the same behavior except that an OUTER JOIN is generated.
2691 See that function's documentation for other usage details.
2692
2693 """
2694 return _ORMJoin(left, right, onclause, True, full)

Callers 6

test_joinsMethod · 0.90
test_full_outer_joinMethod · 0.90
test_aliased_classesMethod · 0.90
test_outer_join_oneMethod · 0.90

Calls 1

_ORMJoinClass · 0.85

Tested by 6

test_joinsMethod · 0.72
test_full_outer_joinMethod · 0.72
test_aliased_classesMethod · 0.72
test_outer_join_oneMethod · 0.72