Documentation ¶
Index ¶
- func NewAreaEventQuerySqlite(db *sql.DB) query.AreaEvent
- func NewAreaReadQuerySqlite(db *sql.DB) query.AreaRead
- func NewCropReadQuerySqlite(db *sql.DB) query.CropRead
- func NewFarmEventQuerySqlite(db *sql.DB) query.FarmEvent
- func NewFarmReadQuerySqlite(db *sql.DB) query.FarmRead
- func NewMaterialEventQuerySqlite(db *sql.DB) query.MaterialEvent
- func NewMaterialReadQuerySqlite(db *sql.DB) query.MaterialRead
- func NewReservoirEventQuerySqlite(db *sql.DB) query.ReservoirEvent
- func NewReservoirReadQuerySqlite(db *sql.DB) query.ReservoirRead
- type AreaEventQuerySqlite
- type AreaReadQuerySqlite
- func (s AreaReadQuerySqlite) CountAreas(farmUID uuid.UUID) <-chan query.Result
- func (s AreaReadQuerySqlite) FindAllByFarm(farmUID uuid.UUID) <-chan query.Result
- func (s AreaReadQuerySqlite) FindAreasByReservoirID(reservoirUID uuid.UUID) <-chan query.Result
- func (s AreaReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.Result
- func (s AreaReadQuerySqlite) FindByIDAndFarm(areaUID, farmUID uuid.UUID) <-chan query.Result
- type CropReadQuerySqlite
- type FarmEventQuerySqlite
- type FarmReadQuerySqlite
- type MaterialEventQuerySqlite
- type MaterialReadQuerySqlite
- func (q MaterialReadQuerySqlite) CountAll(materialType, materialTypeDetail string) <-chan query.Result
- func (q MaterialReadQuerySqlite) FindAll(materialType, materialTypeDetail string, page, limit int) <-chan query.Result
- func (q MaterialReadQuerySqlite) FindByID(materialUID uuid.UUID) <-chan query.Result
- type ReservoirEventQuerySqlite
- type ReservoirReadQuerySqlite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMaterialEventQuerySqlite ¶
func NewMaterialEventQuerySqlite(db *sql.DB) query.MaterialEvent
func NewMaterialReadQuerySqlite ¶
func NewMaterialReadQuerySqlite(db *sql.DB) query.MaterialRead
func NewReservoirEventQuerySqlite ¶
func NewReservoirEventQuerySqlite(db *sql.DB) query.ReservoirEvent
func NewReservoirReadQuerySqlite ¶
func NewReservoirReadQuerySqlite(db *sql.DB) query.ReservoirRead
Types ¶
type AreaEventQuerySqlite ¶
func (*AreaEventQuerySqlite) FindAllByID ¶
func (f *AreaEventQuerySqlite) FindAllByID(uid uuid.UUID) <-chan query.Result
type AreaReadQuerySqlite ¶
func (AreaReadQuerySqlite) CountAreas ¶
func (s AreaReadQuerySqlite) CountAreas(farmUID uuid.UUID) <-chan query.Result
func (AreaReadQuerySqlite) FindAllByFarm ¶
func (s AreaReadQuerySqlite) FindAllByFarm(farmUID uuid.UUID) <-chan query.Result
func (AreaReadQuerySqlite) FindAreasByReservoirID ¶
func (s AreaReadQuerySqlite) FindAreasByReservoirID(reservoirUID uuid.UUID) <-chan query.Result
func (AreaReadQuerySqlite) FindByID ¶
func (s AreaReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.Result
func (AreaReadQuerySqlite) FindByIDAndFarm ¶
func (s AreaReadQuerySqlite) FindByIDAndFarm(areaUID, farmUID uuid.UUID) <-chan query.Result
type CropReadQuerySqlite ¶
func (CropReadQuerySqlite) CountCropsByArea ¶
func (q CropReadQuerySqlite) CountCropsByArea(areaUID uuid.UUID) <-chan query.Result
func (CropReadQuerySqlite) FindAllCropByArea ¶
func (q CropReadQuerySqlite) FindAllCropByArea(areaUID uuid.UUID) <-chan query.Result
type FarmEventQuerySqlite ¶
func (*FarmEventQuerySqlite) FindAllByID ¶
func (f *FarmEventQuerySqlite) FindAllByID(uid uuid.UUID) <-chan query.Result
type FarmReadQuerySqlite ¶
func (FarmReadQuerySqlite) FindAll ¶
func (s FarmReadQuerySqlite) FindAll() <-chan query.Result
type MaterialEventQuerySqlite ¶
func (*MaterialEventQuerySqlite) FindAllByID ¶
func (f *MaterialEventQuerySqlite) FindAllByID(uid uuid.UUID) <-chan query.Result
type MaterialReadQuerySqlite ¶
func (MaterialReadQuerySqlite) CountAll ¶
func (q MaterialReadQuerySqlite) CountAll(materialType, materialTypeDetail string) <-chan query.Result
type ReservoirEventQuerySqlite ¶
func (*ReservoirEventQuerySqlite) FindAllByID ¶
func (f *ReservoirEventQuerySqlite) FindAllByID(uid uuid.UUID) <-chan query.Result
type ReservoirReadQuerySqlite ¶
func (ReservoirReadQuerySqlite) FindAllByFarm ¶
func (s ReservoirReadQuerySqlite) FindAllByFarm(farmUID uuid.UUID) <-chan query.Result
Click to show internal directories.
Click to hide internal directories.