MCPcopy
hub / github.com/uber/aresdb / NewOrderBy

Function NewOrderBy

query/sql/tree/OrderBy.go:26–31  ·  view source on GitHub ↗

NewOrderBy creates OrderBy

(location *NodeLocation, sortItems []*SortItem)

Source from the content-addressed store, hash-verified

24
25// NewOrderBy creates OrderBy
26func NewOrderBy(location *NodeLocation, sortItems []*SortItem) *OrderBy {
27 return &OrderBy{
28 NewNode(location),
29 sortItems,
30 }
31}
32
33// Accept accepts visitor
34func (n *OrderBy) Accept(visitor AstVisitor, ctx interface{}) interface{} {

Callers 1

getOrderByMethod · 0.92

Calls 1

NewNodeFunction · 0.70

Tested by

no test coverage detected