Check if a document exists in the CRDT store.
(&self, collection: &str, doc_id: &str)
| 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`. |
no test coverage detected