pub fn delete_tree_batch<M: ModelTree + ModelDelete>(
conn: &mut SqliteConnection,
ids: Vec<&M::Id>,
) -> QueryResult<usize>Expand description
Delete selected subtrees once, even when both an ancestor and its descendant are selected. Duplicate IDs and missing records reject the whole batch before any deletion.