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

Method document_get

nodedb-client/src/native/client/dispatch.rs:132–134  ·  view source on GitHub ↗
(&self, collection: &str, id: &str)

Source from the content-addressed store, hash-verified

130 }
131
132 async fn document_get(&self, collection: &str, id: &str) -> NodeDbResult<Option<Document>> {
133 self.document_get_impl(collection, id).await
134 }
135
136 async fn document_put(&self, collection: &str, doc: Document) -> NodeDbResult<()> {
137 self.document_put_impl(collection, doc).await

Callers

nothing calls this directly

Calls 1

document_get_implMethod · 0.45

Tested by

no test coverage detected