Documentation ¶
Index ¶
- func NewAreaEventQuerySqlite(db *sql.DB) query.AreaEventQuery
- func NewAreaReadQuerySqlite(db *sql.DB) query.AreaReadQuery
- func NewCropReadQuerySqlite(db *sql.DB) query.CropReadQuery
- func NewFarmEventQuerySqlite(db *sql.DB) query.FarmEventQuery
- func NewFarmReadQuerySqlite(db *sql.DB) query.FarmReadQuery
- func NewMaterialEventQuerySqlite(db *sql.DB) query.MaterialEventQuery
- func NewMaterialReadQuerySqlite(db *sql.DB) query.MaterialReadQuery
- func NewReservoirEventQuerySqlite(db *sql.DB) query.ReservoirEventQuery
- func NewReservoirReadQuerySqlite(db *sql.DB) query.ReservoirReadQuery
- type AreaEventQuerySqlite
- type AreaReadQuerySqlite
- func (s AreaReadQuerySqlite) CountAreas(farmUID uuid.UUID) <-chan query.QueryResult
- func (s AreaReadQuerySqlite) FindAllByFarm(farmUID uuid.UUID) <-chan query.QueryResult
- func (s AreaReadQuerySqlite) FindAreasByReservoirID(reservoirUID uuid.UUID) <-chan query.QueryResult
- func (s AreaReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.QueryResult
- func (s AreaReadQuerySqlite) FindByIDAndFarm(areaUID, farmUID uuid.UUID) <-chan query.QueryResult
- type CropReadQuerySqlite
- type FarmEventQuerySqlite
- type FarmReadQuerySqlite
- type MaterialEventQuerySqlite
- type MaterialReadQuerySqlite
- func (q MaterialReadQuerySqlite) CountAll(materialType, materialTypeDetail string) <-chan query.QueryResult
- func (q MaterialReadQuerySqlite) FindAll(materialType, materialTypeDetail string, page, limit int) <-chan query.QueryResult
- func (q MaterialReadQuerySqlite) FindByID(materialUID uuid.UUID) <-chan query.QueryResult
- type ReservoirEventQuerySqlite
- type ReservoirReadQuerySqlite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAreaEventQuerySqlite ¶
func NewAreaEventQuerySqlite(db *sql.DB) query.AreaEventQuery
func NewAreaReadQuerySqlite ¶
func NewAreaReadQuerySqlite(db *sql.DB) query.AreaReadQuery
func NewCropReadQuerySqlite ¶
func NewCropReadQuerySqlite(db *sql.DB) query.CropReadQuery
func NewFarmEventQuerySqlite ¶
func NewFarmEventQuerySqlite(db *sql.DB) query.FarmEventQuery
func NewFarmReadQuerySqlite ¶
func NewFarmReadQuerySqlite(db *sql.DB) query.FarmReadQuery
func NewMaterialEventQuerySqlite ¶
func NewMaterialEventQuerySqlite(db *sql.DB) query.MaterialEventQuery
func NewMaterialReadQuerySqlite ¶
func NewMaterialReadQuerySqlite(db *sql.DB) query.MaterialReadQuery
func NewReservoirEventQuerySqlite ¶
func NewReservoirEventQuerySqlite(db *sql.DB) query.ReservoirEventQuery
func NewReservoirReadQuerySqlite ¶
func NewReservoirReadQuerySqlite(db *sql.DB) query.ReservoirReadQuery
Types ¶
type AreaEventQuerySqlite ¶
func (*AreaEventQuerySqlite) FindAllByID ¶
func (f *AreaEventQuerySqlite) FindAllByID(uid uuid.UUID) <-chan query.QueryResult
type AreaReadQuerySqlite ¶
func (AreaReadQuerySqlite) CountAreas ¶
func (s AreaReadQuerySqlite) CountAreas(farmUID uuid.UUID) <-chan query.QueryResult
func (AreaReadQuerySqlite) FindAllByFarm ¶
func (s AreaReadQuerySqlite) FindAllByFarm(farmUID uuid.UUID) <-chan query.QueryResult
func (AreaReadQuerySqlite) FindAreasByReservoirID ¶
func (s AreaReadQuerySqlite) FindAreasByReservoirID(reservoirUID uuid.UUID) <-chan query.QueryResult
func (AreaReadQuerySqlite) FindByID ¶
func (s AreaReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.QueryResult
func (AreaReadQuerySqlite) FindByIDAndFarm ¶
func (s AreaReadQuerySqlite) FindByIDAndFarm(areaUID, farmUID uuid.UUID) <-chan query.QueryResult
type CropReadQuerySqlite ¶
func (CropReadQuerySqlite) CountCropsByArea ¶
func (q CropReadQuerySqlite) CountCropsByArea(areaUID uuid.UUID) <-chan query.QueryResult
func (CropReadQuerySqlite) FindAllCropByArea ¶
func (q CropReadQuerySqlite) FindAllCropByArea(areaUID uuid.UUID) <-chan query.QueryResult
type FarmEventQuerySqlite ¶
func (*FarmEventQuerySqlite) FindAllByID ¶
func (f *FarmEventQuerySqlite) FindAllByID(uid uuid.UUID) <-chan query.QueryResult
type FarmReadQuerySqlite ¶
func (FarmReadQuerySqlite) FindAll ¶
func (s FarmReadQuerySqlite) FindAll() <-chan query.QueryResult
func (FarmReadQuerySqlite) FindByID ¶
func (s FarmReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.QueryResult
type MaterialEventQuerySqlite ¶
func (*MaterialEventQuerySqlite) FindAllByID ¶
func (f *MaterialEventQuerySqlite) FindAllByID(uid uuid.UUID) <-chan query.QueryResult
type MaterialReadQuerySqlite ¶
func (MaterialReadQuerySqlite) CountAll ¶
func (q MaterialReadQuerySqlite) CountAll(materialType, materialTypeDetail string) <-chan query.QueryResult
func (MaterialReadQuerySqlite) FindAll ¶
func (q MaterialReadQuerySqlite) FindAll(materialType, materialTypeDetail string, page, limit int) <-chan query.QueryResult
func (MaterialReadQuerySqlite) FindByID ¶
func (q MaterialReadQuerySqlite) FindByID(materialUID uuid.UUID) <-chan query.QueryResult
type ReservoirEventQuerySqlite ¶
func (*ReservoirEventQuerySqlite) FindAllByID ¶
func (f *ReservoirEventQuerySqlite) FindAllByID(uid uuid.UUID) <-chan query.QueryResult
type ReservoirReadQuerySqlite ¶
func (ReservoirReadQuerySqlite) FindAllByFarm ¶
func (s ReservoirReadQuerySqlite) FindAllByFarm(farmUID uuid.UUID) <-chan query.QueryResult
func (ReservoirReadQuerySqlite) FindByID ¶
func (s ReservoirReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.QueryResult
Click to show internal directories.
Click to hide internal directories.