Module mz_sql_parser::ast::defs::ddl
source · Expand description
AST types specific to CREATE/ALTER variants of crate::ast::Statement (commonly referred to as Data Definition Language, or DDL)
Structs§
- SQL column definition
- An optionally-named
ColumnOption
:[ CONSTRAINT <name> ] <column-option>
. - An option in a
CREATE CONNECTION
. - An option in a
CREATE CONNECTION...
statement. - An option in a
CREATE SOURCE...
statement. - An option in a
{FROM|INTO} CONNECTION ...
statement. - An option in a
CREATE CONNECTION...SSH
. - An option in a
{FROM|INTO} CONNECTION ...
statement. - An option in a
{FROM|INTO} CONNECTION ...
statement.
Enums§
ColumnOption
s are modifiers that follow a column definition in aCREATE TABLE
statement.- A key constraint, specified in a
CREATE SOURCE
. - A table-level constraint, specified in a
CREATE TABLE
or anALTER TABLE ADD <constraint>
statement.