snowflake.core.table.ForeignKey

class snowflake.core.table.ForeignKey(referenced_table_name: str, referenced_column_names: List[str], name: str | None = None, column_names: List[str] | None = None)

Bases: ConstraintModel

Methods

__init__(referenced_table_name: str, referenced_column_names: List[str], name: str | None = None, column_names: List[str] | None = None)
classmethod from_dict(obj: dict) ForeignKeyModel

Create an instance of ForeignKey from a dict

to_dict()

Returns the dictionary representation of the model using alias