pub async fn find_by_id(
id: Uuid,
pool: &SharedPool,
) -> Result<LayerDto, ServiceError>
Expand description
Find a layer by id in the database.
ยงErrors
If the connection to the database could not be established.
pub async fn find_by_id(
id: Uuid,
pool: &SharedPool,
) -> Result<LayerDto, ServiceError>
Find a layer by id in the database.
If the connection to the database could not be established.