pub async fn update(
dto: UpdatePlantingDto,
map_id: i32,
user_id: Uuid,
pool: &SharedPool,
) -> Result<Vec<PlantingDto>, ServiceError>
Expand description
Update the planting in the database.
§Errors
If the connection to the database could not be established.