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

Method DebugPrint

dql/parser.go:239–244  ·  view source on GitHub ↗

DebugPrint is useful for debugging.

(prefix string)

Source from the content-addressed store, hash-verified

237
238// DebugPrint is useful for debugging.
239func (gq *GraphQuery) DebugPrint(prefix string) {
240 glog.Infof("%s[%x %q %q]\n", prefix, gq.UID, gq.Attr, gq.Alias)
241 for _, c := range gq.Children {
242 c.DebugPrint(prefix + "|->")
243 }
244}
245
246func (gq *GraphQuery) isFragment() bool {
247 return gq.fragment != ""

Callers

nothing calls this directly

Calls 1

InfofMethod · 0.80

Tested by

no test coverage detected