# Class MysqlColumn (1.19.0)

1.19.0 (latest) 1.18.0 1.17.0 1.16.0 1.15.0 1.14.1 1.13.2 1.12.0 1.11.0 1.10.1 1.9.5 1.8.0 1.7.0 1.6.1 1.5.1 1.4.1 1.3.0 1.2.2 1.1.1 1.0.2 0.4.3 0.3.1 0.2.0 0.1.3

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

MySQL Column.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `column_name` | `str` Column name. |
| `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. |