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
14 changes: 14 additions & 0 deletions lyx/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,19 @@ type SelectLimit struct {
// limitOption LimitOption ;
}

const (
SORTBY_ASC = iota
SORTBY_DESC
SORTBY_DEFAULT
SORTBY_USING
)

type SortBy struct {
Node Node

SortbyDir int
}

type Select struct {
FromClause []FromClauseNode
WithClause []*CommonTableExpr
Expand Down Expand Up @@ -403,6 +416,7 @@ func (*CreateType) iNode() {}
func (*ExplainStmt) iNode() {}
func (*GroupBy) iNode() {}
func (*SelectLimit) iNode() {}
func (*SortBy) iNode() {}

type TransactionStmtType int

Expand Down
Loading