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

Function kv_get

nodedb/tests/calvin_executor_apply.rs:103–110  ·  view source on GitHub ↗
(coll: &str, key: &[u8])

Source from the content-addressed store, hash-verified

101}
102
103fn kv_get(coll: &str, key: &[u8]) -> PhysicalPlan {
104 PhysicalPlan::Kv(KvOp::Get {
105 collection: coll.to_string(),
106 key: key.to_vec(),
107 rls_filters: Vec::new(),
108 surrogate_ceiling: None,
109 })
110}
111
112// ── Test 1: successful Calvin static-set apply ───────────────────────────────
113

Calls 2

to_stringMethod · 0.80
to_vecMethod · 0.45

Tested by

no test coverage detected