Documentation ¶
Index ¶
- func NewAreaEventQueryMysql(db *sql.DB) query.AreaEventQuery
- func NewAreaReadQueryMysql(db *sql.DB) query.AreaReadQuery
- func NewCropReadQueryMysql(db *sql.DB) query.CropReadQuery
- func NewFarmEventQueryMysql(db *sql.DB) query.FarmEventQuery
- func NewFarmReadQueryMysql(db *sql.DB) query.FarmReadQuery
- func NewMaterialEventQueryMysql(db *sql.DB) query.MaterialEventQuery
- func NewMaterialReadQueryMysql(db *sql.DB) query.MaterialReadQuery
- func NewReservoirEventQueryMysql(db *sql.DB) query.ReservoirEventQuery
- func NewReservoirReadQueryMysql(db *sql.DB) query.ReservoirReadQuery
- type AreaEventQueryMysql
- type AreaReadQueryMysql
- func (s AreaReadQueryMysql) CountAreas(farmUID uuid.UUID) <-chan query.QueryResult
- func (s AreaReadQueryMysql) FindAllByFarm(farmUID uuid.UUID) <-chan query.QueryResult
- func (s AreaReadQueryMysql) FindAreasByReservoirID(reservoirUID uuid.UUID) <-chan query.QueryResult
- func (s AreaReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.QueryResult
- func (s AreaReadQueryMysql) FindByIDAndFarm(areaUID, farmUID uuid.UUID) <-chan query.QueryResult
- type CropReadQueryMysql
- type FarmEventQueryMysql
- type FarmReadQueryMysql
- type MaterialEventQueryMysql
- type MaterialReadQueryMysql
- func (q MaterialReadQueryMysql) CountAll(materialType, materialTypeDetail string) <-chan query.QueryResult
- func (q MaterialReadQueryMysql) FindAll(materialType, materialTypeDetail string, page, limit int) <-chan query.QueryResult
- func (q MaterialReadQueryMysql) FindByID(materialUID uuid.UUID) <-chan query.QueryResult
- type ReservoirEventQueryMysql
- type ReservoirReadQueryMysql
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAreaEventQueryMysql ¶
func NewAreaEventQueryMysql(db *sql.DB) query.AreaEventQuery
func NewAreaReadQueryMysql ¶
func NewAreaReadQueryMysql(db *sql.DB) query.AreaReadQuery
func NewCropReadQueryMysql ¶
func NewCropReadQueryMysql(db *sql.DB) query.CropReadQuery
func NewFarmEventQueryMysql ¶
func NewFarmEventQueryMysql(db *sql.DB) query.FarmEventQuery
func NewFarmReadQueryMysql ¶
func NewFarmReadQueryMysql(db *sql.DB) query.FarmReadQuery
func NewMaterialEventQueryMysql ¶
func NewMaterialEventQueryMysql(db *sql.DB) query.MaterialEventQuery
func NewMaterialReadQueryMysql ¶
func NewMaterialReadQueryMysql(db *sql.DB) query.MaterialReadQuery
func NewReservoirEventQueryMysql ¶
func NewReservoirEventQueryMysql(db *sql.DB) query.ReservoirEventQuery
func NewReservoirReadQueryMysql ¶
func NewReservoirReadQueryMysql(db *sql.DB) query.ReservoirReadQuery
Types ¶
type AreaEventQueryMysql ¶
func (*AreaEventQueryMysql) FindAllByID ¶
func (f *AreaEventQueryMysql) FindAllByID(uid uuid.UUID) <-chan query.QueryResult
type AreaReadQueryMysql ¶
func (AreaReadQueryMysql) CountAreas ¶
func (s AreaReadQueryMysql) CountAreas(farmUID uuid.UUID) <-chan query.QueryResult
func (AreaReadQueryMysql) FindAllByFarm ¶
func (s AreaReadQueryMysql) FindAllByFarm(farmUID uuid.UUID) <-chan query.QueryResult
func (AreaReadQueryMysql) FindAreasByReservoirID ¶
func (s AreaReadQueryMysql) FindAreasByReservoirID(reservoirUID uuid.UUID) <-chan query.QueryResult
func (AreaReadQueryMysql) FindByID ¶
func (s AreaReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.QueryResult
func (AreaReadQueryMysql) FindByIDAndFarm ¶
func (s AreaReadQueryMysql) FindByIDAndFarm(areaUID, farmUID uuid.UUID) <-chan query.QueryResult
type CropReadQueryMysql ¶
func (CropReadQueryMysql) CountCropsByArea ¶
func (q CropReadQueryMysql) CountCropsByArea(areaUID uuid.UUID) <-chan query.QueryResult
func (CropReadQueryMysql) FindAllCropByArea ¶
func (q CropReadQueryMysql) FindAllCropByArea(areaUID uuid.UUID) <-chan query.QueryResult
type FarmEventQueryMysql ¶
func (*FarmEventQueryMysql) FindAllByID ¶
func (f *FarmEventQueryMysql) FindAllByID(uid uuid.UUID) <-chan query.QueryResult
type FarmReadQueryMysql ¶
func (FarmReadQueryMysql) FindAll ¶
func (s FarmReadQueryMysql) FindAll() <-chan query.QueryResult
func (FarmReadQueryMysql) FindByID ¶
func (s FarmReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.QueryResult
type MaterialEventQueryMysql ¶
func (*MaterialEventQueryMysql) FindAllByID ¶
func (f *MaterialEventQueryMysql) FindAllByID(uid uuid.UUID) <-chan query.QueryResult
type MaterialReadQueryMysql ¶
func (MaterialReadQueryMysql) CountAll ¶
func (q MaterialReadQueryMysql) CountAll(materialType, materialTypeDetail string) <-chan query.QueryResult
func (MaterialReadQueryMysql) FindAll ¶
func (q MaterialReadQueryMysql) FindAll(materialType, materialTypeDetail string, page, limit int) <-chan query.QueryResult
func (MaterialReadQueryMysql) FindByID ¶
func (q MaterialReadQueryMysql) FindByID(materialUID uuid.UUID) <-chan query.QueryResult
type ReservoirEventQueryMysql ¶
func (*ReservoirEventQueryMysql) FindAllByID ¶
func (f *ReservoirEventQueryMysql) FindAllByID(uid uuid.UUID) <-chan query.QueryResult
type ReservoirReadQueryMysql ¶
func (ReservoirReadQueryMysql) FindAllByFarm ¶
func (s ReservoirReadQueryMysql) FindAllByFarm(farmUID uuid.UUID) <-chan query.QueryResult
func (ReservoirReadQueryMysql) FindByID ¶
func (s ReservoirReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.QueryResult
Click to show internal directories.
Click to hide internal directories.