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

Method exists

nodedb/src/engine/document/crdt_store.rs:42–44  ·  view source on GitHub ↗

Check if a document exists in the CRDT store.

(&self, collection: &str, doc_id: &str)

Source from the content-addressed store, hash-verified

40
41 /// Check if a document exists in the CRDT store.
42 pub fn exists(&self, collection: &str, doc_id: &str) -> bool {
43 self.crdt.row_exists(collection, doc_id)
44 }
45}
46
47/// Convert a `LoroValue` to `serde_json::Value`.

Callers 3

drop_arrayMethod · 0.45
run_archive_cycleFunction · 0.45
merge_o3_into_partitionFunction · 0.45

Calls 1

row_existsMethod · 0.45

Tested by

no test coverage detected