Function backend::service::seed::find_by_id

source ·
pub async fn find_by_id(
    id: i32,
    user_id: Uuid,
    pool: &SharedPool,
) -> Result<SeedDto, ServiceError>
Expand description

Find the seed by id from the database.

§Errors

If the connection to the database could not be established.