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

Method fieldName

query/outputnode.go:1270–1276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1268}
1269
1270func (sg *SubGraph) fieldName() string {
1271 fieldName := sg.Attr
1272 if sg.Params.Alias != "" {
1273 fieldName = sg.Params.Alias
1274 }
1275 return fieldName
1276}
1277
1278func (sg *SubGraph) addCount(enc *encoder, count uint64, dst fastJsonNode) error {
1279 if sg.Params.Normalize && sg.Params.Alias == "" {

Callers 4

handleCountUIDNodesMethod · 0.95
preTraverseMethod · 0.80
rdfForSubgraphMethod · 0.80
rdfForUIDListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected