sqlite

package
v0.0.0-...-ae75a06 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAreaEventQuerySqlite

func NewAreaEventQuerySqlite(db *sql.DB) query.AreaEvent

func NewAreaReadQuerySqlite

func NewAreaReadQuerySqlite(db *sql.DB) query.AreaRead

func NewCropReadQuerySqlite

func NewCropReadQuerySqlite(db *sql.DB) query.CropRead

func NewFarmEventQuerySqlite

func NewFarmEventQuerySqlite(db *sql.DB) query.FarmEvent

func NewFarmReadQuerySqlite

func NewFarmReadQuerySqlite(db *sql.DB) query.FarmRead

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

type AreaEventQuerySqlite struct {
	DB *sql.DB
}

func (*AreaEventQuerySqlite) FindAllByID

func (f *AreaEventQuerySqlite) FindAllByID(uid uuid.UUID) <-chan query.Result

type AreaReadQuerySqlite

type AreaReadQuerySqlite struct {
	DB *sql.DB
}

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

type CropReadQuerySqlite struct {
	DB *sql.DB
}

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

type FarmEventQuerySqlite struct {
	DB *sql.DB
}

func (*FarmEventQuerySqlite) FindAllByID

func (f *FarmEventQuerySqlite) FindAllByID(uid uuid.UUID) <-chan query.Result

type FarmReadQuerySqlite

type FarmReadQuerySqlite struct {
	DB *sql.DB
}

func (FarmReadQuerySqlite) FindAll

func (s FarmReadQuerySqlite) FindAll() <-chan query.Result

func (FarmReadQuerySqlite) FindByID

func (s FarmReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.Result

type MaterialEventQuerySqlite

type MaterialEventQuerySqlite struct {
	DB *sql.DB
}

func (*MaterialEventQuerySqlite) FindAllByID

func (f *MaterialEventQuerySqlite) FindAllByID(uid uuid.UUID) <-chan query.Result

type MaterialReadQuerySqlite

type MaterialReadQuerySqlite struct {
	DB *sql.DB
}

func (MaterialReadQuerySqlite) CountAll

func (q MaterialReadQuerySqlite) CountAll(materialType, materialTypeDetail string) <-chan query.Result

func (MaterialReadQuerySqlite) FindAll

func (q MaterialReadQuerySqlite) FindAll(materialType, materialTypeDetail string, page, limit int) <-chan query.Result

func (MaterialReadQuerySqlite) FindByID

func (q MaterialReadQuerySqlite) FindByID(materialUID uuid.UUID) <-chan query.Result

type ReservoirEventQuerySqlite

type ReservoirEventQuerySqlite struct {
	DB *sql.DB
}

func (*ReservoirEventQuerySqlite) FindAllByID

func (f *ReservoirEventQuerySqlite) FindAllByID(uid uuid.UUID) <-chan query.Result

type ReservoirReadQuerySqlite

type ReservoirReadQuerySqlite struct {
	DB *sql.DB
}

func (ReservoirReadQuerySqlite) FindAllByFarm

func (s ReservoirReadQuerySqlite) FindAllByFarm(farmUID uuid.UUID) <-chan query.Result

func (ReservoirReadQuerySqlite) FindByID

func (s ReservoirReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.Result

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL