MCPcopy Create free account
hub / github.com/AppFlowy-IO/AppFlowy-Collab / insert

Method insert

collab/tests/plugins/disk/script.rs:199–208  ·  view source on GitHub ↗
(&mut self, id: &str, key: String, value: Any)

Source from the content-addressed store, hash-verified

197 }
198
199 pub async fn insert(&mut self, id: &str, key: String, value: Any) {
200 self
201 .collab_by_id
202 .get(id)
203 .as_ref()
204 .unwrap()
205 .write()
206 .await
207 .insert(&key, value);
208 }
209
210 pub async fn assert_collab(&mut self, id: &str, expected: JsonValue) {
211 let object_id =

Callers 15

test_id_mapperFunction · 0.45
insert_cell_testFunction · 0.45
update_cell_testFunction · 0.45
fromMethod · 0.45
default_document_dataFunction · 0.45

Calls 3

writeMethod · 0.45
as_refMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected