Skip to main content

delete

Function delete 

Source
pub(crate) async fn delete(conn: &mut PgConnection, id: Uuid) -> ModelResult<()>
Expand description

Deletes the module without recording history. Errors with InvalidRequest if chapters still belong to it.