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.
pub async fn delete_by_id(
map_id: i32,
layer_id: Uuid,
pool: &SharedPool,
) -> Result<(), ServiceError>Delete the layer in the database.
If the connection to the database could not be established.