Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? RAG (Retrieval-Augmented Generation)
et Fine Tuning d'un LLM
Voir le programme détaillé
Classe « FromClause »

Méthode sqlalchemy.FromClause.outerjoin

Signature de la méthode outerjoin

def outerjoin(self, right: '_FromClauseArgument', onclause: 'Optional[_ColumnExpressionArgument[bool]]' = None, full: 'bool' = False) -> 'Join' 

Description

help(FromClause.outerjoin)

Return a :class:`_expression.Join` from this
:class:`_expression.FromClause`
to another :class:`FromClause`, with the "isouter" flag set to
True.

E.g.::

    from sqlalchemy import outerjoin

    j = user_table.outerjoin(
        address_table, user_table.c.id == address_table.c.user_id
    )

The above is equivalent to::

    j = user_table.join(
        address_table, user_table.c.id == address_table.c.user_id, isouter=True
    )

:param right: the right side of the join; this is any
 :class:`_expression.FromClause` object such as a
 :class:`_schema.Table` object, and
 may also be a selectable-compatible object such as an ORM-mapped
 class.

:param onclause: a SQL expression representing the ON clause of the
 join.  If left at ``None``, :meth:`_expression.FromClause.join`
 will attempt to
 join the two tables based on a foreign key relationship.

:param full: if True, render a FULL OUTER JOIN, instead of
 LEFT OUTER JOIN.

.. seealso::

    :meth:`_expression.FromClause.join`

    :class:`_expression.Join`



Vous êtes un professionnel et vous avez besoin d'une formation ? Coder avec une
Intelligence Artificielle
Voir le programme détaillé