(enc *encoder, uid uint64, dst fastJsonNode)
| 1303 | } |
| 1304 | |
| 1305 | func (sg *SubGraph) addInternalNode(enc *encoder, uid uint64, dst fastJsonNode) error { |
| 1306 | sv, ok := sg.Params.UidToVal.Get(uid) |
| 1307 | if !ok || sv.Value == nil { |
| 1308 | return nil |
| 1309 | } |
| 1310 | fieldName := sg.aggWithVarFieldName() |
| 1311 | return enc.AddValue(dst, enc.idForAttr(fieldName), sv) |
| 1312 | } |
| 1313 | |
| 1314 | func (sg *SubGraph) addCheckPwd(enc *encoder, vals []*pb.TaskValue, dst fastJsonNode) error { |
| 1315 | c := types.ValueForType(types.BoolID) |
no test coverage detected