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

Function alreadySeen

query/outputnode.go:1329–1336  ·  view source on GitHub ↗
(parentIds []uint64, uid uint64)

Source from the content-addressed store, hash-verified

1327}
1328
1329func alreadySeen(parentIds []uint64, uid uint64) bool {
1330 for _, id := range parentIds {
1331 if id == uid {
1332 return true
1333 }
1334 }
1335 return false
1336}
1337
1338func facetName(fieldName string, f *api.Facet) string {
1339 if f.Alias != "" {

Callers 1

preTraverseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected