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

Function NewWith

query/sql/tree/With.go:28–34  ·  view source on GitHub ↗

NewWith creates With

(location *NodeLocation, recursive bool, queries []*WithQuery)

Source from the content-addressed store, hash-verified

26
27// NewWith creates With
28func NewWith(location *NodeLocation, recursive bool, queries []*WithQuery) *With {
29 return &With{
30 NewNode(location),
31 recursive,
32 queries,
33 }
34}
35
36// Accept accepts visitor
37func (n *With) Accept(visitor AstVisitor, ctx interface{}) interface{} {

Callers 1

VisitWithMethod · 0.92

Calls 1

NewNodeFunction · 0.70

Tested by

no test coverage detected