snowflake.core.table.TableColumn¶
- class snowflake.core.table.TableColumn(name: str, datatype: str, nullable: bool | None = True, collate: str | None = None, default: str | None = None, identity: bool | None = None, identity_start: int | None = None, identity_increment: int | None = None, constraints: List[ConstraintModel] | None = None, comment: str | None = None)¶
Bases:
object
Methods
- __init__(name: str, datatype: str, nullable: bool | None = True, collate: str | None = None, default: str | None = None, identity: bool | None = None, identity_start: int | None = None, identity_increment: int | None = None, constraints: List[ConstraintModel] | None = None, comment: str | None = None)¶
- classmethod from_dict(obj: dict) TableColumnModel ¶
Create an instance of TableColumn from a dict
- to_dict()¶
Returns the dictionary representation of the model using alias