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

Method document_put

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

Source from the content-addressed store, hash-verified

134 }
135
136 async fn document_put(&self, collection: &str, doc: Document) -> NodeDbResult<()> {
137 self.document_put_impl(collection, doc).await
138 }
139
140 async fn document_delete(&self, collection: &str, id: &str) -> NodeDbResult<()> {
141 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