backend::service::plants

Function find

source
pub async fn find(
    search_parameters: PlantsSearchParameters,
    page_parameters: PageParameters,
    pool: &SharedPool,
) -> Result<Page<PlantsSummaryDto>, ServiceError>
Expand description

Search plants from in the database.

ยงErrors

If the connection to the database could not be established.