Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lyx/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ type Select struct {
FromClause []FromClauseNode
WithClause []*CommonTableExpr
Where Node
GroupBy Node
TargetList []Node

// Used in set operations
Expand Down Expand Up @@ -338,6 +339,10 @@ type ResTarget struct {
Value Node
}

type GroupBy struct {
GroupByList []Node
}

const (
SetOpUnion = SetOperation("UNION")
SetOpIntersect = SetOperation("INTERSECT")
Expand Down Expand Up @@ -376,6 +381,7 @@ func (*DefineStmt) iNode() {}
func (*CreateFunctionStmt) iNode() {}
func (*CreateType) iNode() {}
func (*ExplainStmt) iNode() {}
func (*GroupBy) iNode() {}

type TransactionStmtType int

Expand Down
Loading