Class MysqlColumn (0.1.3)

MysqlColumn(mapping=None, *, ignore_unknown_fields=False, **kwargs)

MySQL Column. .. attribute:: column_name

Column name.

:type: str

Attributes

NameDescription
data_type str
The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data- types.html
length int
Column length.
collation str
Column collation.
primary_key bool
Whether or not the column represents a primary key.
nullable bool
Whether or not the column can accept a null value.
ordinal_position int
The ordinal position of the column in the table.