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 ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé
Classe « Constraint »

Constructeur sqlalchemy.Constraint.__init__

Signature de la constructeur __init__

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

Description

help(Constraint.__init__)

Create a SQL constraint.

:param name:
  Optional, the in-database name of this ``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.

:param comment: Optional string that will render an SQL comment on
  foreign key constraint creation.

    .. versionadded:: 2.0

:param \**dialect_kw:  Additional keyword arguments are dialect
    specific, and passed in the form ``<dialectname>_<argname>``.  See
    the documentation regarding an individual dialect at
    :ref:`dialect_toplevel` for detail on documented arguments.

:param _create_rule:
  used internally by some datatypes that also create constraints.

:param _type_bound:
  used internally to indicate that this constraint is associated with
  a specific datatype.



Vous êtes un professionnel et vous avez besoin d'une formation ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé