Module table

Source
Expand description

Table definition & alternations statements.

ยงUsage

Modulesยง

alter ๐Ÿ”’
column ๐Ÿ”’
constraint ๐Ÿ”’
create ๐Ÿ”’
drop ๐Ÿ”’
rename ๐Ÿ”’
truncate ๐Ÿ”’

Structsยง

AddColumnOption
table alter add column options
Check
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