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

Method AddValue

query/outputnode.go:469–471  ·  view source on GitHub ↗
(fj fastJsonNode, attr uint16, v types.Val)

Source from the content-addressed store, hash-verified

467}
468
469func (enc *encoder) AddValue(fj fastJsonNode, attr uint16, v types.Val) error {
470 return enc.AddListValue(fj, attr, v, false)
471}
472
473func (enc *encoder) AddListValue(fj fastJsonNode, attr uint16, v types.Val, list bool) error {
474 if v.Tid == types.VFloatID {

Callers 11

attachFacetsMethod · 0.95
TestEncodeFunction · 0.80
addGroupbyMethod · 0.80
addAggregationsMethod · 0.80
handleCountUIDNodesMethod · 0.80
addCountMethod · 0.80
addInternalNodeMethod · 0.80
addCheckPwdMethod · 0.80
preTraverseMethod · 0.80
TestEncodeMemoryFunction · 0.80
TestNormalizeJSONLimitFunction · 0.80

Calls 1

AddListValueMethod · 0.95

Tested by 3

TestEncodeFunction · 0.64
TestEncodeMemoryFunction · 0.64
TestNormalizeJSONLimitFunction · 0.64