MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / null_field_value

Function null_field_value

nodedb-query/src/msgpack_scan/group_key.rs:155–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153
154 #[test]
155 fn null_field_value() {
156 let doc = encode(&json!({"v": null}));
157 let key = build_group_key(&doc, &["v".into()]);
158 assert_eq!(key, "[null]");
159 }
160
161 #[test]
162 fn float_field() {

Callers

nothing calls this directly

Calls 2

build_group_keyFunction · 0.85
encodeFunction · 0.70

Tested by

no test coverage detected