Module stmt

Module stmt 

Source

Re-exports§

pub use visit_mut::VisitMut;
pub use visit::Visit;

Modules§

visit
visit_mut

Structs§

Assignment
Assignments
Association
Condition
ConstInput
Cte
Delete
DerivedRef
A resolved reference into a derived table column.
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.
Insert
InsertTable
Join
Limit
MatchArm
A single arm in a match expression.
OrderBy
OrderByExpr
Path
Describes a traversal through fields.
PathFieldSet
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§

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
TableRef
Type
Statement-level type system for values and expressions within Toasty’s query engine.
UpdateTarget
Value

Traits§

EntryPath
Input
IntoExprTarget
Node
Project
Resolve