Crate sql

Source

Modules§

migrate
Defines structs and functions for auto-generating migrations.
query
Defines structs and functions for representing SQL queries.
schema
Defines structs and functions for representing SQL database schemas.
util

Structs§

AlterTable
Case
Column
CreateSchema
Cte
Common table expression
DropTable
Create table action
ForeignKey
From
Generated
GroupBy
Index
Create index action for a table
Insert
Join
Migration
MigrationOptions
OrderBy
Schema
Represents a SQL database schema.
Select
A SELECT query.
SelectColumn
Represents a column of a SELECT statement.
Table
Union
Update
Value

Enums§

AlterAction
Alter table action
AlterColumnAction
Conflict
Constraint
Criteria
CteQuery
Dialect
Direction
The direction of a column in an ORDER BY clause.
Expr
GenerationTime
GenerationValue
IndexKind
JoinTable
JoinType
NullsOrder
OnConflict
Operation
SelectExpression
Represents a select column value.
Type
Values
Where

Traits§

ToSql

Functions§

migrate