Versions in this module Expand all Collapse all v0 v0.10.0 Dec 3, 2025 v0.9.0 Dec 2, 2025 v0.8.0 Dec 2, 2025 v0.7.0 Oct 20, 2025 v0.6.0 Oct 13, 2025 v0.5.0 Oct 12, 2025 v0.4.1 Oct 7, 2025 v0.4.0 Oct 6, 2025 v0.3.1 Oct 6, 2025 v0.3.0 Oct 5, 2025 v0.2.0 Oct 5, 2025 v0.1.0 Oct 3, 2025 v0.0.2 Oct 2, 2025 v0.0.1 Oct 2, 2025 Changes in this version + func Walk(v Visitor, node Node) + type Assignment struct + Column *Identifier + Value Expr + type BetweenExpr struct + Expr Expr + Lower Expr + Not bool + Upper Expr + func (b *BetweenExpr) Accept(v Visitor) + type BinaryExpr struct + Left Expr + Operator string + Right Expr + func (b *BinaryExpr) Accept(v Visitor) + type BooleanLiteral struct + Value bool + func (b *BooleanLiteral) Accept(v Visitor) + type CaseExpr struct + Else Expr + Operand Expr + When []WhenClause + func (c *CaseExpr) Accept(v Visitor) + type CommonTableExpression struct + Columns []*Identifier + Name *Identifier + Select *SelectStatement + type CreateViewStatement struct + Columns []*Identifier + IfNotExists bool + Materialized bool + Name *Identifier + OrReplace bool + Select *SelectStatement + func (s *CreateViewStatement) Accept(v Visitor) + type DeleteStatement struct + Table TableExpr + Using TableExpr + Where Expr + func (s *DeleteStatement) Accept(v Visitor) + type DescribeStatement struct + Name *Identifier + Target DescribeTarget + func (s *DescribeStatement) Accept(v Visitor) + type DescribeTarget string + const DescribeTable + const DescribeView + type DropViewStatement struct + IfExists bool + Materialized bool + Name *Identifier + func (s *DropViewStatement) Accept(v Visitor) + type ExistsExpr struct + Not bool + Subquery *SelectStatement + func (e *ExistsExpr) Accept(v Visitor) + type Expr interface + type FuncCall struct + Args []Expr + Distinct bool + Name Identifier + Over *WindowSpecification + func (f *FuncCall) Accept(v Visitor) + type Identifier struct + Parts []string + func (i *Identifier) Accept(v Visitor) + type InExpr struct + Expr Expr + List []Expr + Not bool + Subquery *SelectStatement + func (i *InExpr) Accept(v Visitor) + type InsertStatement struct + Columns []*Identifier + Rows [][]Expr + Select *SelectStatement + Table *TableName + func (s *InsertStatement) Accept(v Visitor) + type IsNullExpr struct + Expr Expr + Not bool + func (i *IsNullExpr) Accept(v Visitor) + type JoinCondition struct + On Expr + type JoinExpr struct + Condition JoinCondition + Left TableExpr + Right TableExpr + Type JoinType + func (j *JoinExpr) Accept(v Visitor) + type JoinType string + const JoinCross + const JoinFull + const JoinInner + const JoinLeft + const JoinRight + type LikeExpr struct + Expr Expr + Not bool + Pattern Expr + func (l *LikeExpr) Accept(v Visitor) + type LimitClause struct + Count Expr + Offset Expr + type Node interface + Accept func(Visitor) + type NullLiteral struct + func (n *NullLiteral) Accept(v Visitor) + type NumericLiteral struct + Value string + func (n *NumericLiteral) Accept(v Visitor) + type OrderDirection string + const Ascending + const Descending + type OrderItem struct + Direction OrderDirection + Expr Expr + type Placeholder struct + Symbol string + func (p *Placeholder) Accept(v Visitor) + type SelectItem struct + Alias string + Expr Expr + type SelectStatement struct + Columns []SelectItem + Distinct bool + From TableExpr + GroupBy []Expr + Having Expr + Limit *LimitClause + OrderBy []OrderItem + SetOps []SetOperation + Where Expr + With *WithClause + func (s *SelectStatement) Accept(v Visitor) + type SetOperation struct + All bool + Operator SetOperator + Select *SelectStatement + type SetOperator string + const SetOpExcept + const SetOpIntersect + const SetOpUnion + type ShowTablesStatement struct + func (s *ShowTablesStatement) Accept(v Visitor) + type ShowViewsStatement struct + func (s *ShowViewsStatement) Accept(v Visitor) + type StarExpr struct + Table *Identifier + func (s *StarExpr) Accept(v Visitor) + type Statement interface + type StringLiteral struct + Value string + func (s *StringLiteral) Accept(v Visitor) + type SubqueryExpr struct + Select *SelectStatement + func (s *SubqueryExpr) Accept(v Visitor) + type SubqueryTable struct + Alias string + Select *SelectStatement + func (t *SubqueryTable) Accept(v Visitor) + type TableExpr interface + type TableName struct + Alias string + Name *Identifier + func (t *TableName) Accept(v Visitor) + type UnaryExpr struct + Expr Expr + Operator string + func (u *UnaryExpr) Accept(v Visitor) + type UpdateStatement struct + Assignments []Assignment + From TableExpr + Table TableExpr + Where Expr + func (s *UpdateStatement) Accept(v Visitor) + type Visitor interface + Visit func(Node) Visitor + type WhenClause struct + Condition Expr + Result Expr + type WindowSpecification struct + OrderBy []OrderItem + PartitionBy []Expr + type WithClause struct + CTEs []CommonTableExpression + Recursive bool