Function backend::service::plantings::delete_by_ids

source ·
pub async fn delete_by_ids(
    dtos: Vec<DeletePlantingDto>,
    map_id: i32,
    user_id: Uuid,
    app_data: &Data<AppDataInner>,
) -> Result<(), ServiceError>
Expand description

Delete the planting from the database.

§Errors

If the connection to the database could not be established.