Expand description
AST types specific to CREATE/ALTER variants of crate::ast::Statement
(commonly referred to as Data Definition Language, or DDL)
Structs§
- Column
Def - SQL column definition
- Column
Option Def - An optionally-named
ColumnOption
:[ CONSTRAINT <name> ] <column-option>
. - Source
Watermark - The watermark on source.
WATERMARK FOR <column> AS (<expr>)
- Webhook
Source Info - secure secret definition for webhook source
Enums§
- Alter
Column Operation - An
ALTER COLUMN
(Statement::AlterTable
) operation - Alter
Connection Operation - Alter
Database Operation - Alter
Fragment Operation - Alter
Function Operation - Alter
Index Operation - Alter
Schema Operation - Alter
Secret Operation - Alter
Sink Operation - Alter
Source Operation - Alter
Subscription Operation - Alter
Table Operation - An
ALTER TABLE
(Statement::AlterTable
) operation - Alter
View Operation - Column
Option ColumnOption
s are modifiers that follow a column definition in aCREATE TABLE
statement.- Referential
Action <referential_action> = { RESTRICT | CASCADE | SET NULL | NO ACTION | SET DEFAULT }
- Table
Constraint - A table-level constraint, specified in a
CREATE TABLE
or anALTER TABLE ADD <constraint>
statement.