Function backend::service::plant_layer::find_relations

source ·
pub async fn find_relations(
    search_query: RelationSearchParameters,
    app_data: &Data<AppDataInner>,
) -> 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.