backend::model::entity::areas_impl

Function update_soil_textures

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

Update soil texture areas in the database.

§Errors

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