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 ? Sensibilisation à
l'Intelligence Artificielle
Voir le programme détaillé
Classe « HasSuffixes »

Méthode sqlalchemy.HasSuffixes.suffix_with

Signature de la méthode suffix_with

def suffix_with(self, *suffixes: '_TextCoercedExpressionArgument[Any]', dialect: 'str' = '*') -> 'Self' 

Description

help(HasSuffixes.suffix_with)

Add one or more expressions following the statement as a whole.

This is used to support backend-specific suffix keywords on
certain constructs.

E.g.::

    stmt = (
        select(col1, col2)
        .cte()
        .suffix_with(
            "cycle empno set y_cycle to 1 default 0", dialect="oracle"
        )
    )

Multiple suffixes can be specified by multiple calls
to :meth:`_expression.HasSuffixes.suffix_with`.

:param \*suffixes: textual or :class:`_expression.ClauseElement`
 construct which
 will be rendered following the target clause.
:param dialect: Optional string dialect name which will
 limit rendering of this suffix to only that dialect.


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