Documentation ¶
Index ¶
- func NewAreaReadQuerySqlite(db *sql.DB) query.AreaReadQuery
- func NewCropActivityQuerySqlite(db *sql.DB) query.CropActivityQuery
- func NewCropEventQuerySqlite(db *sql.DB) query.CropEventQuery
- func NewCropReadQuerySqlite(db *sql.DB) query.CropReadQuery
- func NewFarmReadQuerySqlite(db *sql.DB) query.FarmReadQuery
- func NewMaterialReadQuerySqlite(db *sql.DB) query.MaterialReadQuery
- func NewTaskReadQuerySqlite(db *sql.DB) query.TaskReadQuery
- type AreaReadQuerySqlite
- type CropActivityQuerySqlite
- type CropEventQuerySqlite
- type CropReadQuerySqlite
- func (s CropReadQuerySqlite) CountAllArchivedCropsByFarm(farmUID uuid.UUID) <-chan query.QueryResult
- func (s CropReadQuerySqlite) CountAllCropsByFarm(farmUID uuid.UUID, status string) <-chan query.QueryResult
- func (s CropReadQuerySqlite) CountTotalBatch(farmUID uuid.UUID) <-chan query.QueryResult
- func (s CropReadQuerySqlite) FindAllCropsArchives(farmUID uuid.UUID, page, limit int) <-chan query.QueryResult
- func (s CropReadQuerySqlite) FindAllCropsByArea(areaUID uuid.UUID) <-chan query.QueryResult
- func (s CropReadQuerySqlite) FindAllCropsByFarm(farmUID uuid.UUID, status string, page, limit int) <-chan query.QueryResult
- func (s CropReadQuerySqlite) FindByBatchID(batchID string) <-chan query.QueryResult
- func (s CropReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.QueryResult
- func (s CropReadQuerySqlite) FindCropsInformation(farmUID uuid.UUID) <-chan query.QueryResult
- type FarmReadQuerySqlite
- type MaterialReadQuerySqlite
- type TaskReadQuerySqlite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAreaReadQuerySqlite ¶
func NewAreaReadQuerySqlite(db *sql.DB) query.AreaReadQuery
func NewCropActivityQuerySqlite ¶
func NewCropActivityQuerySqlite(db *sql.DB) query.CropActivityQuery
func NewCropEventQuerySqlite ¶
func NewCropEventQuerySqlite(db *sql.DB) query.CropEventQuery
func NewCropReadQuerySqlite ¶
func NewCropReadQuerySqlite(db *sql.DB) query.CropReadQuery
func NewFarmReadQuerySqlite ¶
func NewFarmReadQuerySqlite(db *sql.DB) query.FarmReadQuery
func NewMaterialReadQuerySqlite ¶
func NewMaterialReadQuerySqlite(db *sql.DB) query.MaterialReadQuery
func NewTaskReadQuerySqlite ¶
func NewTaskReadQuerySqlite(db *sql.DB) query.TaskReadQuery
Types ¶
type AreaReadQuerySqlite ¶
func (AreaReadQuerySqlite) FindByID ¶
func (s AreaReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.QueryResult
type CropActivityQuerySqlite ¶
func (CropActivityQuerySqlite) FindAllByCropID ¶
func (s CropActivityQuerySqlite) FindAllByCropID(uid uuid.UUID) <-chan query.QueryResult
func (CropActivityQuerySqlite) FindByCropIDAndActivityType ¶
func (s CropActivityQuerySqlite) FindByCropIDAndActivityType(uid uuid.UUID, activityType interface{}) <-chan query.QueryResult
type CropEventQuerySqlite ¶
func (*CropEventQuerySqlite) FindAllByCropID ¶
func (f *CropEventQuerySqlite) FindAllByCropID(uid uuid.UUID) <-chan query.QueryResult
type CropReadQuerySqlite ¶
func (CropReadQuerySqlite) CountAllArchivedCropsByFarm ¶
func (s CropReadQuerySqlite) CountAllArchivedCropsByFarm(farmUID uuid.UUID) <-chan query.QueryResult
func (CropReadQuerySqlite) CountAllCropsByFarm ¶
func (s CropReadQuerySqlite) CountAllCropsByFarm(farmUID uuid.UUID, status string) <-chan query.QueryResult
func (CropReadQuerySqlite) CountTotalBatch ¶
func (s CropReadQuerySqlite) CountTotalBatch(farmUID uuid.UUID) <-chan query.QueryResult
func (CropReadQuerySqlite) FindAllCropsArchives ¶
func (s CropReadQuerySqlite) FindAllCropsArchives(farmUID uuid.UUID, page, limit int) <-chan query.QueryResult
func (CropReadQuerySqlite) FindAllCropsByArea ¶
func (s CropReadQuerySqlite) FindAllCropsByArea(areaUID uuid.UUID) <-chan query.QueryResult
func (CropReadQuerySqlite) FindAllCropsByFarm ¶
func (s CropReadQuerySqlite) FindAllCropsByFarm(farmUID uuid.UUID, status string, page, limit int) <-chan query.QueryResult
func (CropReadQuerySqlite) FindByBatchID ¶
func (s CropReadQuerySqlite) FindByBatchID(batchID string) <-chan query.QueryResult
func (CropReadQuerySqlite) FindByID ¶
func (s CropReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.QueryResult
func (CropReadQuerySqlite) FindCropsInformation ¶
func (s CropReadQuerySqlite) FindCropsInformation(farmUID uuid.UUID) <-chan query.QueryResult
type FarmReadQuerySqlite ¶
func (FarmReadQuerySqlite) FindByID ¶
func (s FarmReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.QueryResult
type MaterialReadQuerySqlite ¶
func (MaterialReadQuerySqlite) FindByID ¶
func (s MaterialReadQuerySqlite) FindByID(materialUID uuid.UUID) <-chan query.QueryResult
func (MaterialReadQuerySqlite) FindMaterialByPlantTypeCodeAndName ¶
func (q MaterialReadQuerySqlite) FindMaterialByPlantTypeCodeAndName(plantTypeCode string, name string) <-chan query.QueryResult
type TaskReadQuerySqlite ¶
func (TaskReadQuerySqlite) FindByID ¶
func (s TaskReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.QueryResult
Click to show internal directories.
Click to hide internal directories.