Documentation ¶
Index ¶
- func NewAreaReadQueryMysql(db *sql.DB) query.AreaReadQuery
- func NewCropActivityQueryMysql(db *sql.DB) query.CropActivityQuery
- func NewCropEventQueryMysql(db *sql.DB) query.CropEventQuery
- func NewCropReadQueryMysql(db *sql.DB) query.CropReadQuery
- func NewFarmReadQueryMysql(db *sql.DB) query.FarmReadQuery
- func NewMaterialReadQueryMysql(db *sql.DB) query.MaterialReadQuery
- func NewTaskReadQueryMysql(db *sql.DB) query.TaskReadQuery
- type AreaReadQueryMysql
- type CropActivityQueryMysql
- type CropEventQueryMysql
- type CropReadQueryMysql
- func (s CropReadQueryMysql) CountAllArchivedCropsByFarm(farmUID uuid.UUID) <-chan query.Result
- func (s CropReadQueryMysql) CountAllCropsByFarm(farmUID uuid.UUID, status string) <-chan query.Result
- func (s CropReadQueryMysql) CountTotalBatch(farmUID uuid.UUID) <-chan query.Result
- func (s CropReadQueryMysql) FindAllCropsArchives(farmUID uuid.UUID, page, limit int) <-chan query.Result
- func (s CropReadQueryMysql) FindAllCropsByArea(areaUID uuid.UUID) <-chan query.Result
- func (s CropReadQueryMysql) FindAllCropsByFarm(farmUID uuid.UUID, status string, page, limit int) <-chan query.Result
- func (s CropReadQueryMysql) FindByBatchID(batchID string) <-chan query.Result
- func (s CropReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.Result
- func (s CropReadQueryMysql) FindCropsInformation(farmUID uuid.UUID) <-chan query.Result
- type FarmReadQueryMysql
- type MaterialReadQueryMysql
- type TaskReadQueryMysql
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAreaReadQueryMysql ¶
func NewAreaReadQueryMysql(db *sql.DB) query.AreaReadQuery
func NewCropActivityQueryMysql ¶
func NewCropActivityQueryMysql(db *sql.DB) query.CropActivityQuery
func NewCropEventQueryMysql ¶
func NewCropEventQueryMysql(db *sql.DB) query.CropEventQuery
func NewCropReadQueryMysql ¶
func NewCropReadQueryMysql(db *sql.DB) query.CropReadQuery
func NewFarmReadQueryMysql ¶
func NewFarmReadQueryMysql(db *sql.DB) query.FarmReadQuery
func NewMaterialReadQueryMysql ¶
func NewMaterialReadQueryMysql(db *sql.DB) query.MaterialReadQuery
func NewTaskReadQueryMysql ¶
func NewTaskReadQueryMysql(db *sql.DB) query.TaskReadQuery
Types ¶
type AreaReadQueryMysql ¶
type CropActivityQueryMysql ¶
func (CropActivityQueryMysql) FindAllByCropID ¶
func (s CropActivityQueryMysql) FindAllByCropID(uid uuid.UUID) <-chan query.Result
func (CropActivityQueryMysql) FindByCropIDAndActivityType ¶
func (s CropActivityQueryMysql) FindByCropIDAndActivityType(uid uuid.UUID, activityType interface{}) <-chan query.Result
type CropEventQueryMysql ¶
func (*CropEventQueryMysql) FindAllByCropID ¶
func (f *CropEventQueryMysql) FindAllByCropID(uid uuid.UUID) <-chan query.Result
type CropReadQueryMysql ¶
func (CropReadQueryMysql) CountAllArchivedCropsByFarm ¶
func (s CropReadQueryMysql) CountAllArchivedCropsByFarm(farmUID uuid.UUID) <-chan query.Result
func (CropReadQueryMysql) CountAllCropsByFarm ¶
func (CropReadQueryMysql) CountTotalBatch ¶
func (s CropReadQueryMysql) CountTotalBatch(farmUID uuid.UUID) <-chan query.Result
func (CropReadQueryMysql) FindAllCropsArchives ¶
func (CropReadQueryMysql) FindAllCropsByArea ¶
func (s CropReadQueryMysql) FindAllCropsByArea(areaUID uuid.UUID) <-chan query.Result
func (CropReadQueryMysql) FindAllCropsByFarm ¶
func (CropReadQueryMysql) FindByBatchID ¶
func (s CropReadQueryMysql) FindByBatchID(batchID string) <-chan query.Result
func (CropReadQueryMysql) FindByID ¶
func (s CropReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.Result
func (CropReadQueryMysql) FindCropsInformation ¶
func (s CropReadQueryMysql) FindCropsInformation(farmUID uuid.UUID) <-chan query.Result
type FarmReadQueryMysql ¶
type MaterialReadQueryMysql ¶
func (MaterialReadQueryMysql) FindByID ¶
func (q MaterialReadQueryMysql) FindByID(materialUID uuid.UUID) <-chan query.Result
func (MaterialReadQueryMysql) FindMaterialByPlantTypeCodeAndName ¶
func (q MaterialReadQueryMysql) FindMaterialByPlantTypeCodeAndName(plantTypeCode string, name string) <-chan query.Result
Click to show internal directories.
Click to hide internal directories.