backend::model::entity::areas_impl

Function update_shadings

source
pub async fn update_shadings(
    updates: Vec<UpdateShading>,
    conn: &mut AsyncPgConnection,
) -> QueryResult<Vec<AreaDto>>
Expand description

Update shading areas in the database.

§Errors

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