backend::model::entity::plant_layer

Function find_relations

source
pub async fn find_relations(
    search_query: RelationSearchParameters,
    conn: &mut AsyncPgConnection,
) -> QueryResult<RelationsDto>
Expand description

Get all spatial relations of a certain plant.

ยงErrors

  • If the SQL query fails.