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.QueryResult
- func (s CropReadQueryMysql) CountAllCropsByFarm(farmUID uuid.UUID, status string) <-chan query.QueryResult
- func (s CropReadQueryMysql) CountTotalBatch(farmUID uuid.UUID) <-chan query.QueryResult
- func (s CropReadQueryMysql) FindAllCropsArchives(farmUID uuid.UUID, page, limit int) <-chan query.QueryResult
- func (s CropReadQueryMysql) FindAllCropsByArea(areaUID uuid.UUID) <-chan query.QueryResult
- func (s CropReadQueryMysql) FindAllCropsByFarm(farmUID uuid.UUID, status string, page, limit int) <-chan query.QueryResult
- func (s CropReadQueryMysql) FindByBatchID(batchID string) <-chan query.QueryResult
- func (s CropReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.QueryResult
- func (s CropReadQueryMysql) FindCropsInformation(farmUID uuid.UUID) <-chan query.QueryResult
- 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 ¶
func (AreaReadQueryMysql) FindByID ¶
func (s AreaReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.QueryResult
type CropActivityQueryMysql ¶
func (CropActivityQueryMysql) FindAllByCropID ¶
func (s CropActivityQueryMysql) FindAllByCropID(uid uuid.UUID) <-chan query.QueryResult
func (CropActivityQueryMysql) FindByCropIDAndActivityType ¶
func (s CropActivityQueryMysql) FindByCropIDAndActivityType(uid uuid.UUID, activityType interface{}) <-chan query.QueryResult
type CropEventQueryMysql ¶
func (*CropEventQueryMysql) FindAllByCropID ¶
func (f *CropEventQueryMysql) FindAllByCropID(uid uuid.UUID) <-chan query.QueryResult
type CropReadQueryMysql ¶
func (CropReadQueryMysql) CountAllArchivedCropsByFarm ¶
func (s CropReadQueryMysql) CountAllArchivedCropsByFarm(farmUID uuid.UUID) <-chan query.QueryResult
func (CropReadQueryMysql) CountAllCropsByFarm ¶
func (s CropReadQueryMysql) CountAllCropsByFarm(farmUID uuid.UUID, status string) <-chan query.QueryResult
func (CropReadQueryMysql) CountTotalBatch ¶
func (s CropReadQueryMysql) CountTotalBatch(farmUID uuid.UUID) <-chan query.QueryResult
func (CropReadQueryMysql) FindAllCropsArchives ¶
func (s CropReadQueryMysql) FindAllCropsArchives(farmUID uuid.UUID, page, limit int) <-chan query.QueryResult
func (CropReadQueryMysql) FindAllCropsByArea ¶
func (s CropReadQueryMysql) FindAllCropsByArea(areaUID uuid.UUID) <-chan query.QueryResult
func (CropReadQueryMysql) FindAllCropsByFarm ¶
func (s CropReadQueryMysql) FindAllCropsByFarm(farmUID uuid.UUID, status string, page, limit int) <-chan query.QueryResult
func (CropReadQueryMysql) FindByBatchID ¶
func (s CropReadQueryMysql) FindByBatchID(batchID string) <-chan query.QueryResult
func (CropReadQueryMysql) FindByID ¶
func (s CropReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.QueryResult
func (CropReadQueryMysql) FindCropsInformation ¶
func (s CropReadQueryMysql) FindCropsInformation(farmUID uuid.UUID) <-chan query.QueryResult
type FarmReadQueryMysql ¶
func (FarmReadQueryMysql) FindByID ¶
func (s FarmReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.QueryResult
type MaterialReadQueryMysql ¶
func (MaterialReadQueryMysql) FindByID ¶
func (s MaterialReadQueryMysql) FindByID(materialUID uuid.UUID) <-chan query.QueryResult
func (MaterialReadQueryMysql) FindMaterialByPlantTypeCodeAndName ¶
func (q MaterialReadQueryMysql) FindMaterialByPlantTypeCodeAndName(plantTypeCode string, name string) <-chan query.QueryResult
type TaskReadQueryMysql ¶
func (TaskReadQueryMysql) FindByID ¶
func (s TaskReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.QueryResult
Click to show internal directories.
Click to hide internal directories.