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

Method document_put

nodedb-client/src/remote/client/dispatch.rs:146–148  ·  view source on GitHub ↗
(&self, collection: &str, doc: Document)

Source from the content-addressed store, hash-verified

144 }
145
146 async fn document_put(&self, collection: &str, doc: Document) -> NodeDbResult<()> {
147 self.document_put_impl(collection, doc).await
148 }
149
150 async fn document_delete(&self, collection: &str, id: &str) -> NodeDbResult<()> {
151 self.document_delete_impl(collection, id).await

Callers

nothing calls this directly

Calls 1

document_put_implMethod · 0.45

Tested by

no test coverage detected