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

Function kv_get

nodedb-test-support/src/tx_batch_helpers.rs:211–218  ·  view source on GitHub ↗
(key: &[u8])

Source from the content-addressed store, hash-verified

209}
210
211pub fn kv_get(key: &[u8]) -> PhysicalPlan {
212 PhysicalPlan::Kv(KvOp::Get {
213 collection: "kv_coll".into(),
214 key: key.to_vec(),
215 rls_filters: Vec::new(),
216 surrogate_ceiling: None,
217 })
218}
219
220pub fn columnar_insert(collection: &str, id: &str, val: i64) -> PhysicalPlan {
221 let rows = serde_json::json!([{"id": id, "val": val}]);

Callers 1

assert_kv_absentFunction · 0.70

Calls 1

to_vecMethod · 0.45

Tested by

no test coverage detected