Module backend::service::seed

source ·
Expand description

Service layer for seeds.

Functions§

  • Archive or unarchive a seed in the database.
  • Create a new seed in the database.
  • Delete the seed from the database.
  • Edits a seed in the database.
  • 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 the seed by id from the database.