backend::model::entity::areas_impl

Function update_hydrologies

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

Update hydrology areas in the database.

§Errors

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