Module seed

Source
Expand description

Service layer for seeds.

Functionsยง

archive
Archive or unarchive a seed in the database.
create
Create a new seed in the database.
delete_by_id
Delete the seed from the database.
edit
Edits a seed in the database.
find
Search seeds from the database. Seeds are returned in ascending order of their use_by dates. If that is not available, the harvest year is used instead.
find_by_id
Find the seed by id from the database.