Class PostgresqlColumn (1.4.0)

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

PostgreSQL Column.

Attributes

NameDescription
column str
Column name.
data_type str
The PostgreSQL data type.
length int
Column length.
precision int
Column precision.
scale int
Column scale.
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.