Skip to main content

validate_area_exists

Function validate_area_exists 

Source
pub async fn validate_area_exists(
    pool: &SqlitePool,
    id: &ThingsId,
) -> Result<()>
Expand description

Validate that an area exists

ยงErrors

Returns an error if the area does not exist or if the database query fails