Function backend::model::entity::areas_impl::create_hydrologies

source ·
pub async fn create_hydrologies(
    new_hydrologies: Vec<Hydrology>,
    conn: &mut AsyncPgConnection,
) -> QueryResult<Vec<AreaDto>>
Expand description

Save hydrologies in the database.

§Errors

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