MCPcopy
hub / github.com/dgraph-io/dgraph / recurse

Method recurse

query/query.go:300–308  ·  view source on GitHub ↗
(set func(sg *SubGraph))

Source from the content-addressed store, hash-verified

298}
299
300func (sg *SubGraph) recurse(set func(sg *SubGraph)) {
301 set(sg)
302 for _, child := range sg.Children {
303 child.recurse(set)
304 }
305 for _, filter := range sg.Filters {
306 filter.recurse(set)
307 }
308}
309
310// IsGroupBy returns whether this subgraph is part of a groupBy query.
311func (sg *SubGraph) IsGroupBy() bool {

Callers 1

ProcessQueryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected