Browse Source

fmt

pull/7185/head
chrislu 1 month ago
parent
commit
c10a0ba2fd
  1. 10
      weed/query/engine/engine.go

10
weed/query/engine/engine.go

@ -71,10 +71,10 @@ type TypeRef struct {
func (d *DDLStatement) isStatement() {} func (d *DDLStatement) isStatement() {}
type SelectStatement struct { type SelectStatement struct {
SelectExprs []SelectExpr
From []TableExpr
Where *WhereClause
Limit *LimitClause
SelectExprs []SelectExpr
From []TableExpr
Where *WhereClause
Limit *LimitClause
WindowFunctions []*WindowFunction WindowFunctions []*WindowFunction
} }
@ -98,7 +98,7 @@ type WindowFunction struct {
Function string // ROW_NUMBER, RANK, LAG, LEAD Function string // ROW_NUMBER, RANK, LAG, LEAD
Args []ExprNode // Function arguments Args []ExprNode // Function arguments
Over *WindowSpec Over *WindowSpec
Alias string // Column alias for the result
Alias string // Column alias for the result
} }
type OrderByClause struct { type OrderByClause struct {

Loading…
Cancel
Save