Module table

Source
Expand description

Table definition & alternations statements.

§Usage

Structs§

AddColumnOption
table alter add column options
ColumnDef
Specification of a table column
Table
Helper for constructing any table statement
TableAlterStatement
Alter a table
TableCreateStatement
Create a table
TableDropStatement
Drop a table
TableRenameStatement
Rename a table
TableTruncateStatement
Drop a table

Enums§

ColumnSpec
All column specification keywords
ColumnType
All column types
PgDateTruncUnit
PgInterval
StringLen
Length for var-char/binary; default to 255
TableAlterOption
All available table alter options
TableDropOpt
All available table drop options
TableOpt
All available table options
TablePartition
All available table partition options
TableStatement
All available types of table statement

Traits§

IntoColumnDef