backend::service::layer

Function 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.