Module ast

Module ast 

Source
Expand description

Abstract Syntax Tree (AST) types for SQL statements.

Structs§

ColumnDef
A column definition for CREATE TABLE.
DeleteStatement
A DELETE statement.
FunctionCall
A function call expression.
InsertStatement
An INSERT statement.
JoinClause
A JOIN clause.
OrderBy
An ORDER BY clause entry.
SelectColumn
A column in SELECT clause.
SelectStatement
A SELECT statement.
UpdateAssignment
An assignment in UPDATE SET.
UpdateStatement
An UPDATE statement.

Enums§

BinaryOp
Binary operators.
DataType
SQL data types.
Expr
An SQL expression.
InsertSource
Source of data for INSERT.
JoinType
Join type.
Literal
A literal value.
OrderDirection
Order direction for ORDER BY.
Statement
A SQL statement.
TableRef
A table reference in FROM clause.
UnaryOp
Unary operators.