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

Method document_get

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

Source from the content-addressed store, hash-verified

140 }
141
142 async fn document_get(&self, collection: &str, id: &str) -> NodeDbResult<Option<Document>> {
143 self.document_get_impl(collection, id).await
144 }
145
146 async fn document_put(&self, collection: &str, doc: Document) -> NodeDbResult<()> {
147 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