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 ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé
Classe « Inspector »

Méthode sqlalchemy.Inspector.get_check_constraints

Signature de la méthode get_check_constraints

def get_check_constraints(self, table_name: 'str', schema: 'Optional[str]' = None, **kw: 'Any') -> 'List[ReflectedCheckConstraint]' 

Description

help(Inspector.get_check_constraints)

Return information about check constraints in ``table_name``.

Given a string ``table_name`` and an optional string `schema`, return
check constraint information as a list of
:class:`.ReflectedCheckConstraint`.

:param table_name: string name of the table.  For special quoting,
 use :class:`.quoted_name`.

:param schema: string schema name; if omitted, uses the default schema
 of the database connection.  For special quoting,
 use :class:`.quoted_name`.

:param \**kw: Additional keyword argument to pass to the dialect
 specific implementation. See the documentation of the dialect
 in use for more information.

:return: a list of dictionaries, each representing the
 definition of a check constraints.

.. seealso:: :meth:`Inspector.get_multi_check_constraints`


Vous êtes un professionnel et vous avez besoin d'une formation ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé