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: 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.Result

type CropActivityQueryMysql

type CropActivityQueryMysql struct {
	DB *sql.DB
}

func (CropActivityQueryMysql) FindAllByCropID

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

func (CropActivityQueryMysql) FindByCropIDAndActivityType

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

type CropEventQueryMysql

type CropEventQueryMysql struct {
	DB *sql.DB
}

func (*CropEventQueryMysql) FindAllByCropID

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

type CropReadQueryMysql

type CropReadQueryMysql struct {
	DB *sql.DB
}

func (CropReadQueryMysql) CountAllArchivedCropsByFarm

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

func (CropReadQueryMysql) CountAllCropsByFarm

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

func (CropReadQueryMysql) CountTotalBatch

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

func (CropReadQueryMysql) FindAllCropsArchives

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

func (CropReadQueryMysql) FindAllCropsByArea

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

func (CropReadQueryMysql) FindAllCropsByFarm

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

func (CropReadQueryMysql) FindByBatchID

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

func (CropReadQueryMysql) FindByID

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

func (CropReadQueryMysql) FindCropsInformation

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

type FarmReadQueryMysql

type FarmReadQueryMysql struct {
	DB *sql.DB
}

func (FarmReadQueryMysql) FindByID

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

type MaterialReadQueryMysql

type MaterialReadQueryMysql struct {
	DB *sql.DB
}

func (MaterialReadQueryMysql) FindByID

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

func (MaterialReadQueryMysql) FindMaterialByPlantTypeCodeAndName

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

type TaskReadQueryMysql

type TaskReadQueryMysql struct {
	DB *sql.DB
}

func (TaskReadQueryMysql) FindByID

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