[−][src]Module sql_ast::ast
SQL Abstract Syntax Tree (AST) types
Structs
| Assignment | SQL assignment |
| ColumnDef | SQL column definition |
| ColumnOptionDef | An optionally-named |
| Cte | A single CTE (used after |
| Fetch | |
| Function | A function call |
| Ident | An identifier, decomposed into its value or character data and the quote style. |
| Join | |
| ObjectName | A name of a table, view, custom type, etc., possibly multi-part, i.e. db.schema.obj |
| OrderByExpr | SQL ORDER BY expression |
| Query | The most complete variant of a |
| Select | A restricted variant of |
| SqlOption | |
| TableAlias | |
| TableWithJoins | |
| Values | |
| WindowFrame | Specifies the data processed by a window function, e.g.
|
| WindowSpec | A window specification (i.e. |
Enums
| AlterTableOperation | An |
| BinaryOperator | Binary operators |
| ColumnOption |
|
| DataType | SQL data types |
| DateTimeField | |
| Expr | An SQL expression of any type. |
| FileFormat | External table's available file format |
| JoinConstraint | |
| JoinOperator | |
| ObjectType | |
| SelectItem | One item of the comma-separated list following |
| SetExpr | A node in a tree, representing a "query body" expression, roughly:
|
| SetOperator | |
| SetVariableValue | |
| ShowStatementFilter | |
| Statement | A top-level statement (SELECT, INSERT, CREATE, etc.) |
| TableConstraint | A table-level constraint, specified in a |
| TableFactor | A table name or a parenthesized subquery with an optional alias |
| TransactionAccessMode | |
| TransactionIsolationLevel | |
| TransactionMode | |
| UnaryOperator | Unary operators |
| Value | Primitive SQL values such as number and string |
| WindowFrameBound | Specifies WindowFrame's |
| WindowFrameUnits |