Constraint¶
- pydantic model felis.datamodel.Constraint¶
Table constraint model.
- Parameters:
data (
Any
)- Fields:
- Validators:
- field annotations: Mapping[str, Any] [Optional]¶
Additional annotations for this constraint.
- Validated by:
- field deferrable: bool = False¶
Whether this constraint will be declared as deferrable.
- Validated by:
- field initially: str | None = None¶
Value for
INITIALLY
clause; only used ifdeferrable
isTrue
.- Validated by:
- field type: str | None = None (alias '@type')¶
Type of the constraint.
- Validated by: