Documentation ¶
Index ¶
- func NewAreaQueryMysql(db *sql.DB) query.Area
- func NewCropQueryMysql(db *sql.DB) query.Crop
- func NewMaterialQueryMysql(db *sql.DB) query.Material
- func NewReservoirQueryMysql(db *sql.DB) query.Reservoir
- func NewTaskEventQueryMysql(db *sql.DB) query.TaskEvent
- func NewTaskReadQueryMysql(s *sql.DB) query.TaskRead
- type AreaQueryMysql
- type CropQueryMysql
- type MaterialQueryMysql
- type ReservoirQueryMysql
- type TaskEventQueryMysql
- type TaskReadQueryMysql
- func (q TaskReadQueryMysql) CountAll() <-chan query.Result
- func (q TaskReadQueryMysql) CountTasksWithFilter(params map[string]string) <-chan query.Result
- func (q TaskReadQueryMysql) FindAll(page, limit int) <-chan query.Result
- func (q TaskReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.Result
- func (q TaskReadQueryMysql) FindTasksWithFilter(params map[string]string, page, limit int) <-chan query.Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AreaQueryMysql ¶
type CropQueryMysql ¶
func (CropQueryMysql) FindCropByID ¶
func (s CropQueryMysql) FindCropByID(uid uuid.UUID) <-chan query.Result
type MaterialQueryMysql ¶
func (MaterialQueryMysql) FindMaterialByID ¶
func (s MaterialQueryMysql) FindMaterialByID(uid uuid.UUID) <-chan query.Result
type ReservoirQueryMysql ¶
func (ReservoirQueryMysql) FindReservoirByID ¶
func (s ReservoirQueryMysql) FindReservoirByID(uid uuid.UUID) <-chan query.Result
type TaskEventQueryMysql ¶
func (*TaskEventQueryMysql) FindAllByTaskID ¶
func (f *TaskEventQueryMysql) FindAllByTaskID(uid uuid.UUID) <-chan query.Result
type TaskReadQueryMysql ¶
func (TaskReadQueryMysql) CountAll ¶
func (q TaskReadQueryMysql) CountAll() <-chan query.Result
func (TaskReadQueryMysql) CountTasksWithFilter ¶
func (q TaskReadQueryMysql) CountTasksWithFilter(params map[string]string) <-chan query.Result
func (TaskReadQueryMysql) FindAll ¶
func (q TaskReadQueryMysql) FindAll(page, limit int) <-chan query.Result
func (TaskReadQueryMysql) FindByID ¶
func (q TaskReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.Result
FindByID is to find by ID.
func (TaskReadQueryMysql) FindTasksWithFilter ¶
Click to show internal directories.
Click to hide internal directories.