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

Function NamespaceAttrList

x/keys.go:83–89  ·  view source on GitHub ↗
(ns uint64, preds []string)

Source from the content-addressed store, hash-verified

81}
82
83func NamespaceAttrList(ns uint64, preds []string) []string {
84 var resp []string
85 for _, pred := range preds {
86 resp = append(resp, NamespaceAttr(ns, pred))
87 }
88 return resp
89}
90
91func AttrInRootNamespace(attr string) string {
92 return NamespaceAttr(RootNamespace, attr)

Callers 1

ProcessMethod · 0.92

Calls 1

NamespaceAttrFunction · 0.85

Tested by

no test coverage detected