Module sql

Module sql 

Source
Expand description

Produces a valid SQL data manipulation script from a model in the theory of schemas.

Structs§

ForeignKeyConstraints
Data containing foreign key constraints and their behavior, which are interpreted as backend-specific attributes.
SQLAnalysis
Struct for building a valid SQL DDL.

Enums§

ColumnType
Enum for specifying the behavior of a column. For example, an Ordinary column is simply a foreign key constraint.
SQLAnalysisError
Error thrown when the SQL Analysis fails.
SQLBackend
Variants of SQL backends. Each correspond to types which implement the SchemaBuilder trait that is used to render into the correct backend. The SchemaBuilder and the types implementing that trait are owned by sea_query.