backend::service::plantings

Function delete_by_ids

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

Delete the planting from the database.

ยงErrors

If the connection to the database could not be established.