[][src]Module sqlparser::sqlast

SQL Abstract Syntax Tree (AST) types

Structs

Cte

A single CTE (used after WITH): alias AS ( query )

Join
Key
SQLAssignment

SQL assignment foo = expr as used in SQLUpdate

SQLColumnDef

SQL column definition

SQLObjectName

A name of a table, view, custom type, etc., possibly multi-part, i.e. db.schema.obj

SQLOrderByExpr

SQL ORDER BY expression

SQLQuery

The most complete variant of a SELECT query expression, optionally including WITH, UNION / other set operations, and ORDER BY.

SQLSelect

A restricted variant of SELECT (without CTEs/ORDER BY), which may appear either as the only body item of an SQLQuery, or as an operand to a set operation like UNION.

Enums

ASTNode

Represents a parsed SQL expression, which is a common building block of SQL statements (the part after SELECT, WHERE, etc.)

AlterOperation
FileFormat

External table's available file format

JoinConstraint
JoinOperator
SQLOperator

SQL Operator

SQLSelectItem

One item of the comma-separated list following SELECT

SQLSetExpr

A node in a tree, representing a "query body" expression, roughly: SELECT ... [ {UNION|EXCEPT|INTERSECT} SELECT ...]

SQLSetOperator
SQLStatement

A top-level statement (SELECT, INSERT, CREATE, etc.)

SQLType

SQL datatypes for literals in SQL statements

TableFactor

A table name or a parenthesized subquery with an optional alias

TableKey
Value

SQL values such as int, double, string, timestamp

Type Definitions

SQLIdent

Identifier name, in the originally quoted form (e.g. "id")