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

Method update_database_view

collab/src/database/database.rs:431–439  ·  view source on GitHub ↗
(&mut self, view_id: &str, f: F)

Source from the content-addressed store, hash-verified

429 }
430
431 pub fn update_database_view<F>(&mut self, view_id: &str, f: F)
432 where
433 F: FnOnce(DatabaseViewUpdate),
434 {
435 let mut txn = self.collab.transact_mut();
436 if let Ok(view_id) = self.body.parse_view_id(view_id) {
437 self.body.views.update_database_view(&mut txn, &view_id, f);
438 }
439 }
440
441 pub fn contains_row(&self, view_id: &str, row_id: &RowId) -> bool {
442 let txn = self.collab.transact();

Callers 15

insert_group_settingMethod · 0.45
delete_group_settingMethod · 0.45
update_group_settingMethod · 0.45
remove_group_settingMethod · 0.45
insert_sortMethod · 0.45
move_sortMethod · 0.45
remove_sortMethod · 0.45
remove_all_sortsMethod · 0.45
update_calculationMethod · 0.45
remove_calculationMethod · 0.45
update_filterMethod · 0.45
remove_filterMethod · 0.45

Calls 2

transact_mutMethod · 0.80
parse_view_idMethod · 0.80