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

Method remove_rows

collab/src/database/database.rs:497–506  ·  view source on GitHub ↗
(&mut self, row_ids: &[RowId])

Source from the content-addressed store, hash-verified

495 }
496
497 pub async fn remove_rows(&mut self, row_ids: &[RowId]) {
498 {
499 let mut txn = self.collab.transact_mut();
500 self.body.views.update_all_views(&mut txn, |_, mut update| {
501 for row_id in row_ids {
502 update = update.remove_row_order(&row_id.to_string());
503 }
504 });
505 };
506 }
507
508 /// Update the row
509 pub async fn update_row<F>(&mut self, row_id: RowId, f: F)

Calls 3

transact_mutMethod · 0.80
update_all_viewsMethod · 0.80
remove_row_orderMethod · 0.80