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
10 changes: 10 additions & 0 deletions lyx/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,13 @@ type CommonTableExpr struct {
SubQuery Node
}

/* Private struct for the result of opt_select_limit production */
type SelectLimit struct {
LimitOffset Node
LimitCount Node
// limitOption LimitOption ;
}

type Select struct {
FromClause []FromClauseNode
WithClause []*CommonTableExpr
Expand All @@ -202,6 +209,8 @@ type Select struct {

SortClause []Node

Limit Node

// Used in set operations
Op SetOperation
LArg Node
Expand Down Expand Up @@ -393,6 +402,7 @@ func (*CreateFunctionStmt) iNode() {}
func (*CreateType) iNode() {}
func (*ExplainStmt) iNode() {}
func (*GroupBy) iNode() {}
func (*SelectLimit) iNode() {}

type TransactionStmtType int

Expand Down
Loading