sqlite

package
v0.0.0-...-334f10d Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAreaReadQueryMysql

func NewAreaReadQueryMysql(db *sql.DB) query.AreaReadQuery

func NewCropActivityQueryMysql

func NewCropActivityQueryMysql(db *sql.DB) query.CropActivityQuery

func NewCropEventQueryMysql

func NewCropEventQueryMysql(db *sql.DB) query.CropEventQuery

func NewCropReadQueryMysql

func NewCropReadQueryMysql(db *sql.DB) query.CropReadQuery

func NewFarmReadQueryMysql

func NewFarmReadQueryMysql(db *sql.DB) query.FarmReadQuery

func NewMaterialReadQueryMysql

func NewMaterialReadQueryMysql(db *sql.DB) query.MaterialReadQuery

func NewTaskReadQueryMysql

func NewTaskReadQueryMysql(db *sql.DB) query.TaskReadQuery

Types

type AreaReadQueryMysql

type AreaReadQueryMysql struct {
	DB *sql.DB
}

func (AreaReadQueryMysql) FindByID

func (s AreaReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.QueryResult

type CropActivityQueryMysql

type CropActivityQueryMysql struct {
	DB *sql.DB
}

func (CropActivityQueryMysql) FindAllByCropID

func (s CropActivityQueryMysql) FindAllByCropID(uid uuid.UUID) <-chan query.QueryResult

func (CropActivityQueryMysql) FindByCropIDAndActivityType

func (s CropActivityQueryMysql) FindByCropIDAndActivityType(uid uuid.UUID, activityType interface{}) <-chan query.QueryResult

type CropEventQueryMysql

type CropEventQueryMysql struct {
	DB *sql.DB
}

func (*CropEventQueryMysql) FindAllByCropID

func (f *CropEventQueryMysql) FindAllByCropID(uid uuid.UUID) <-chan query.QueryResult

type CropReadQueryMysql

type CropReadQueryMysql struct {
	DB *sql.DB
}

func (CropReadQueryMysql) CountAllArchivedCropsByFarm

func (s CropReadQueryMysql) CountAllArchivedCropsByFarm(farmUID uuid.UUID) <-chan query.QueryResult

func (CropReadQueryMysql) CountAllCropsByFarm

func (s CropReadQueryMysql) CountAllCropsByFarm(farmUID uuid.UUID, status string) <-chan query.QueryResult

func (CropReadQueryMysql) CountTotalBatch

func (s CropReadQueryMysql) CountTotalBatch(farmUID uuid.UUID) <-chan query.QueryResult

func (CropReadQueryMysql) FindAllCropsArchives

func (s CropReadQueryMysql) FindAllCropsArchives(farmUID uuid.UUID, page, limit int) <-chan query.QueryResult

func (CropReadQueryMysql) FindAllCropsByArea

func (s CropReadQueryMysql) FindAllCropsByArea(areaUID uuid.UUID) <-chan query.QueryResult

func (CropReadQueryMysql) FindAllCropsByFarm

func (s CropReadQueryMysql) FindAllCropsByFarm(farmUID uuid.UUID, status string, page, limit int) <-chan query.QueryResult

func (CropReadQueryMysql) FindByBatchID

func (s CropReadQueryMysql) FindByBatchID(batchID string) <-chan query.QueryResult

func (CropReadQueryMysql) FindByID

func (s CropReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.QueryResult

func (CropReadQueryMysql) FindCropsInformation

func (s CropReadQueryMysql) FindCropsInformation(farmUID uuid.UUID) <-chan query.QueryResult

type FarmReadQueryMysql

type FarmReadQueryMysql struct {
	DB *sql.DB
}

func (FarmReadQueryMysql) FindByID

func (s FarmReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.QueryResult

type MaterialReadQueryMysql

type MaterialReadQueryMysql struct {
	DB *sql.DB
}

func (MaterialReadQueryMysql) FindByID

func (s MaterialReadQueryMysql) FindByID(materialUID uuid.UUID) <-chan query.QueryResult

func (MaterialReadQueryMysql) FindMaterialByPlantTypeCodeAndName

func (q MaterialReadQueryMysql) FindMaterialByPlantTypeCodeAndName(plantTypeCode string, name string) <-chan query.QueryResult

type TaskReadQueryMysql

type TaskReadQueryMysql struct {
	DB *sql.DB
}

func (TaskReadQueryMysql) FindByID

func (s TaskReadQueryMysql) 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