Skip to main content

delete_removed

Function delete_removed 

Source
async fn delete_removed(
    conn: &mut PgConnection,
    writes: &StagedWrites<'_>,
    authors: &Authors,
) -> Result<(), WriteStop>
Expand description

Deletes the entities the changeset removes: chapters with their pages first, then the other pages, then modules, so that nothing still points at what is deleted next.