mysql

package
v0.0.0-...-87346ed Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

type AreaEventQueryMysql struct {
	DB *sql.DB
}

func (*AreaEventQueryMysql) FindAllByID

func (f *AreaEventQueryMysql) FindAllByID(uid uuid.UUID) <-chan query.QueryResult

type AreaReadQueryMysql

type AreaReadQueryMysql struct {
	DB *sql.DB
}

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

type CropReadQueryMysql struct {
	DB *sql.DB
}

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

type FarmEventQueryMysql struct {
	DB *sql.DB
}

func (*FarmEventQueryMysql) FindAllByID

func (f *FarmEventQueryMysql) FindAllByID(uid uuid.UUID) <-chan query.QueryResult

type FarmReadQueryMysql

type FarmReadQueryMysql struct {
	DB *sql.DB
}

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

type MaterialEventQueryMysql struct {
	DB *sql.DB
}

func (*MaterialEventQueryMysql) FindAllByID

func (f *MaterialEventQueryMysql) FindAllByID(uid uuid.UUID) <-chan query.QueryResult

type MaterialReadQueryMysql

type MaterialReadQueryMysql struct {
	DB *sql.DB
}

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

type ReservoirEventQueryMysql struct {
	DB *sql.DB
}

func (*ReservoirEventQueryMysql) FindAllByID

func (f *ReservoirEventQueryMysql) FindAllByID(uid uuid.UUID) <-chan query.QueryResult

type ReservoirReadQueryMysql

type ReservoirReadQueryMysql struct {
	DB *sql.DB
}

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

Jump to

Keyboard shortcuts

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