Expand description
SQL Abstract Syntax Tree
Represents parsed SQL statements as a tree structure.
Structs§
- Alter
Table Stmt - ALTER TABLE statement
- Assignment
- Assignment: column = expr
- Begin
Stmt - BEGIN statement
- Column
Def - Column definition
- Column
Ref - Column reference
- Create
Index Stmt - CREATE INDEX statement
- Create
Table Stmt - CREATE TABLE statement
- Delete
Stmt - DELETE statement
- Drop
Index Stmt - DROP INDEX statement
- Drop
Table Stmt - DROP TABLE statement
- From
Clause - FROM clause
- Function
Call - Function call
- Index
Column - Insert
Stmt - INSERT statement
- Object
Name - Object name (potentially qualified: schema.table)
- OnConflict
- ON CONFLICT clause
- Order
ByItem - ORDER BY item
- Select
Stmt - SELECT statement
- Table
Option - Table options (ENGINE, CHARSET, etc.)
- Update
Stmt - UPDATE statement
- Window
Frame - Window
Spec - Window specification for window functions
Enums§
- Alter
Column Op - Alter
Table Op - Binary
Operator - Binary operators
- Column
Constraint - Column constraints
- Conflict
Action - Conflict
Target - Data
Type - SQL Data types
- Expr
- Expression
- Index
Type - Insert
Source - Source of INSERT data
- Isolation
Level - Join
Condition - Join condition
- Join
Type - Join types
- Literal
- Literal values
- Referential
Action - Select
Item - Items in SELECT clause
- SetOp
- Set operations (UNION, INTERSECT, EXCEPT)
- Statement
- Top-level SQL statement
- Table
Constraint - Table-level constraints
- Table
Ref - Table reference in FROM clause
- Unary
Operator - Unary operators
- Vector
Metric - Vector distance metrics (SochDB extension)
- Window
Frame Bound - Window
Frame Kind