(&mut self, row_ids: &[RowId])
| 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) |