Skip to main content

Module column

Module column 

Source
Expand description

Column: a column of a table blueprint, with the modifiers its dialect supports.

Modifiers every dialect has are inherent methods. The others are gated by marker traits the dialects implement (Unique, Collation, Generated, …), so a modifier a dialect cannot express does not exist on its columns, as in PHP where each dialect’s column class only uses the traits it supports.

Structs§

Column
A column of a table blueprint for the dialect S.
ColumnDefinition
What a column is: its name, type, sizes and every modifier set on it.

Traits§

AutoIncrement
Dialects whose columns can be server-incremented.
Collation
Dialects with column-level collations.
Comment
Dialects with inline column comments.
Dimensions
Dialects whose vector columns have a declared width.
Generated
Dialects with stored generated columns.
Positioning
Dialects that place columns with AFTER.
Srid
Dialects whose geometry columns carry an SRID.
Unique
Dialects with column-level UNIQUE.
VirtualGenerated
Dialects with virtual generated columns.