Module 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§

ColumnDef
SQL column definition
ColumnOptionDef
An optionally-named ColumnOption: [ CONSTRAINT <name> ] <column-option>.
SourceWatermark
The watermark on source. WATERMARK FOR <column> AS (<expr>)
WebhookSourceInfo
secure secret definition for webhook source

Enums§

AlterColumnOperation
An ALTER COLUMN (Statement::AlterTable) operation
AlterConnectionOperation
AlterDatabaseOperation
AlterFragmentOperation
AlterFunctionOperation
AlterIndexOperation
AlterSchemaOperation
AlterSecretOperation
AlterSinkOperation
AlterSourceOperation
AlterSubscriptionOperation
AlterTableOperation
An ALTER TABLE (Statement::AlterTable) operation
AlterViewOperation
ColumnOption
ColumnOptions are modifiers that follow a column definition in a CREATE TABLE statement.
ReferentialAction
<referential_action> = { RESTRICT | CASCADE | SET NULL | NO ACTION | SET DEFAULT }
TableConstraint
A table-level constraint, specified in a CREATE TABLE or an ALTER TABLE ADD <constraint> statement.

Functions§

display_constraint_name 🔒