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 « CheckConstraint »

Constructeur sqlalchemy.CheckConstraint.__init__

Signature de la constructeur __init__

def __init__(self, sqltext: '_TextCoercedExpressionArgument[Any]', name: '_ConstraintNameArgument' = None, deferrable: 'Optional[bool]' = None, initially: 'Optional[str]' = None, table: 'Optional[Table]' = None, info: 'Optional[_InfoType]' = None, _create_rule: 'Optional[Any]' = None, _autoattach: 'bool' = True, _type_bound: 'bool' = False, **dialect_kw: 'Any') -> 'None' 

Description

help(CheckConstraint.__init__)

Construct a CHECK constraint.

:param sqltext:
 A string containing the constraint definition, which will be used
 verbatim, or a SQL expression construct.   If given as a string,
 the object is converted to a :func:`_expression.text` object.
 If the textual
 string includes a colon character, escape this using a backslash::

   CheckConstraint(r"foo ~ E'a(?\:b|c)d")

:param name:
  Optional, the in-database name of the constraint.

:param deferrable:
  Optional bool.  If set, emit DEFERRABLE or NOT DEFERRABLE when
  issuing DDL for this constraint.

:param initially:
  Optional string.  If set, emit INITIALLY <value> when issuing DDL
  for this constraint.

:param info: Optional data dictionary which will be populated into the
    :attr:`.SchemaItem.info` attribute of this object.


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é