backend::model::entity::areas_impl

Function delete_areas_by_ids

source
pub async fn delete_areas_by_ids(
    area_kind: AreaKind,
    ids: Vec<Uuid>,
    conn: &mut AsyncPgConnection,
) -> QueryResult<usize>
Expand description

Delete the shading from the database.

§Errors

  • Unknown, diesel doesn’t say why it might error.