Function backend::service::layer::delete_by_id

source ·
pub async fn delete_by_id(
    map_id: i32,
    layer_id: Uuid,
    pool: &SharedPool,
) -> Result<(), ServiceError>
Expand description

Delete the layer in the database.

§Errors

If the connection to the database could not be established.