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

Function checkUidZero

worker/task.go:1872–1879  ·  view source on GitHub ↗
(uids []uint64)

Source from the content-addressed store, hash-verified

1870}
1871
1872func checkUidZero(uids []uint64) bool {
1873 for _, uid := range uids {
1874 if uid == 0 {
1875 return true
1876 }
1877 }
1878 return false
1879}
1880
1881func planForEqFilter(fc *functionContext, pred string, uidlist []uint64) {
1882 if checkUidZero(uidlist) {

Callers 2

planForEqFilterFunction · 0.85
parseSrcFnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected