ForeignKeyConstraint¶
- pydantic model felis.datamodel.ForeignKeyConstraint¶
Table foreign key constraint model.
This constraint is used to define a foreign key relationship between two tables in the schema.
Notes
These relationships will be reflected in the TAP_SCHEMA
keys
andkey_columns
data.- Parameters:
data (
Any
)- Fields:
- Validators:
- field columns: list[str] [Required]¶
The columns comprising the foreign key.
- Validated by:
- field referenced_columns: list[str] [Required] (alias 'referencedColumns')¶
The columns referenced by the foreign key.
- Validated by:
- field type: Literal['ForeignKey'] = 'ForeignKey' (alias '@type')¶
Type of the constraint.
- Validated by: