Function backend::service::plant_layer::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.