backend::service::drawings

Function find

source
pub async fn find(
    map_id: i32,
    pool: &SharedPool,
) -> Result<Vec<DrawingDto>, ServiceError>
Expand description

Get all drawings from one map.

ยงErrors

If the connection to the database could not be established.