Module stmt

Module stmt 

Source

Modules§

visit
visit_mut

Structs§

AddColumn
A statement to add a column to a table.
AlterColumn
A statement to alter a column in a table.
AlterColumnChanges
A statement to alter a column in a table.
AlterTable
A statement to alter a SQL table.
Assignment
Assignments
Association
ColumnDef
Condition
ConstInput
CopyTable
A statement to copy rows from one table to another.
CreateIndex
CreateTable
Cte
Delete
DerivedRef
A resolved reference into a derived table column.
DropColumn
A statement to drop a column from a table.
DropIndex
A statement to drop a SQL index.
DropTable
A statement to drop a SQL table.
ExprAnd
A logical “and” of multiple expressions.
ExprAny
Returns true if any item in a collection evaluates to true.
ExprArg
A positional argument placeholder.
ExprBinaryOp
A binary operation between two expressions.
ExprCast
A type cast expression.
ExprColumn
A reference to a database column.
ExprContext
ExprError
An expression representing an unreachable branch.
ExprExists
Tests whether a subquery returns any rows.
ExprInList
Tests whether a value is contained in a list.
ExprInSubquery
Tests whether a value is in the results of a subquery.
ExprIsNull
Tests whether an expression is null.
ExprIsVariant
Tests whether an expression evaluates to a specific enum variant.
ExprLet
A scoped binding expression with one or more bindings.
ExprList
A list of expressions.
ExprMap
A map/transform operation over a collection.
ExprMatch
A match expression that dispatches on a subject expression.
ExprNot
Negates a boolean expression.
ExprOr
A logical “or” of multiple expressions.
ExprProject
Projects a field or element from a base expression.
ExprRecord
A record of expressions.
ExprSetOp
A set operation combining multiple queries.
ExprStmt
A statement used as an expression.
Filter
FuncCount
FuncLastInsertId
The LAST_INSERT_ID() function expression (MySQL-specific).
HashIndex
A unique hash index over a borrowed slice of Values.
Ident
Insert
InsertTable
Join
Limit
MatchArm
A single arm in a match expression.
Name
OrderBy
OrderByExpr
Path
Describes a traversal through fields.
PathFieldSet
Pragma
A SQLite PRAGMA statement.
Projection
Query
Select
SortedIndex
A sorted index over a borrowed slice of Values.
SourceModel
SourceTable
SourceTableId
SparseRecord
A typed record, indicating the record represents a specific model (or a subset of its fields).
TableDerived
TableWithJoins
TypeUnion
A set of types representing the possible result types of a match expression.
TypedInput
Update
ValueRecord
ValueStream
Values
Set of values to insert
With

Enums§

AlterTableAction
The action to perform in an ALTER TABLE statement.
AssignmentOp
BinaryOp
Direction
Entry
EntryMut
Expr
An expression.
ExprFunc
A function call expression.
ExprReference
A reference to a model, field, or column.
ExprSet
A set of rows produced by a query, set operation, or explicit values.
ExprTarget
InsertTarget
JoinOp
Lock
Offset
PathRoot
The root of a path traversal.
ResolvedRef
Result of resolving an ExprReference to its concrete schema location.
Returning
TODO: rename since this is also used in Select?
SetOp
Source
Statement
TableFactor
TableName
TableRef
Type
Statement-level type system for values and expressions within Toasty’s query engine.
UpdateTarget
Value

Traits§

EntryPath
Input
IntoExprTarget
Node
Project
Resolve
Visit
VisitMut