ForeignKeyReference

pydantic model felis.datamodel.ForeignKeyReference

Reference target of a foreign key constraint.

This is used by the name-based style of foreign key, which names the referenced table and its columns directly rather than using global column IDs.

Parameters:

data (Any)

Fields:
field columns: list[str] [Required]

Referenced columns in the referenced table, by name.

Constraints:
  • min_length = 1

field table: str [Required]

Name of the referenced table.