Constraint¶
- pydantic model felis.datamodel.Constraint¶
Table constraint model.
- Parameters:
data (
Any
)- Fields:
- Validators:
check_deferrable
»all fields
- field deferrable: bool = False¶
Whether this constraint will be declared as deferrable.
- Validated by:
- field initially: Literal['IMMEDIATE', 'DEFERRED'] | None = None¶
Value for
INITIALLY
clause; only used ifdeferrable
isTrue
.- Validated by:
- validator check_deferrable » all fields¶
Check that the
INITIALLY
clause is only used ifdeferrable
isTrue
.- Returns:
The constraint being validated.
- Return type: