backend::service::plant_layer

Function find_relations

source
pub async fn find_relations(
    search_query: RelationSearchParameters,
    pool: &SharedPool,
) -> Result<RelationsDto, ServiceError>
Expand description

Get spatial relations of a certain plant.

ยงErrors

  • If the connection to the database could not be established.
  • If the SQL query failed.