Documentation ¶
Index ¶
- func NewAreaQuerySqlite(db *sql.DB) query.AreaQuery
- func NewCropQuerySqlite(db *sql.DB) query.CropQuery
- func NewMaterialQuerySqlite(db *sql.DB) query.MaterialQuery
- func NewReservoirQuerySqlite(db *sql.DB) query.ReservoirQuery
- func NewTaskEventQuerySqlite(db *sql.DB) query.TaskEventQuery
- func NewTaskReadQuerySqlite(s *sql.DB) query.TaskReadQuery
- type AreaQuerySqlite
- type CropQuerySqlite
- type MaterialQuerySqlite
- type ReservoirQuerySqlite
- type TaskEventQuerySqlite
- type TaskReadQuerySqlite
- func (q TaskReadQuerySqlite) CountAll() <-chan query.QueryResult
- func (q TaskReadQuerySqlite) CountTasksWithFilter(params map[string]string) <-chan query.QueryResult
- func (r TaskReadQuerySqlite) FindAll(page, limit int) <-chan query.QueryResult
- func (r TaskReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.QueryResult
- func (s TaskReadQuerySqlite) FindTasksWithFilter(params map[string]string, page, limit int) <-chan query.QueryResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMaterialQuerySqlite ¶
func NewMaterialQuerySqlite(db *sql.DB) query.MaterialQuery
func NewReservoirQuerySqlite ¶
func NewReservoirQuerySqlite(db *sql.DB) query.ReservoirQuery
func NewTaskEventQuerySqlite ¶
func NewTaskEventQuerySqlite(db *sql.DB) query.TaskEventQuery
func NewTaskReadQuerySqlite ¶
func NewTaskReadQuerySqlite(s *sql.DB) query.TaskReadQuery
Types ¶
type AreaQuerySqlite ¶
func (AreaQuerySqlite) FindByID ¶
func (s AreaQuerySqlite) FindByID(uid uuid.UUID) <-chan query.QueryResult
type CropQuerySqlite ¶
func (CropQuerySqlite) FindCropByID ¶
func (s CropQuerySqlite) FindCropByID(uid uuid.UUID) <-chan query.QueryResult
type MaterialQuerySqlite ¶
func (MaterialQuerySqlite) FindMaterialByID ¶
func (s MaterialQuerySqlite) FindMaterialByID(uid uuid.UUID) <-chan query.QueryResult
type ReservoirQuerySqlite ¶
func (ReservoirQuerySqlite) FindReservoirByID ¶
func (s ReservoirQuerySqlite) FindReservoirByID(uid uuid.UUID) <-chan query.QueryResult
type TaskEventQuerySqlite ¶
func (*TaskEventQuerySqlite) FindAllByTaskID ¶
func (f *TaskEventQuerySqlite) FindAllByTaskID(uid uuid.UUID) <-chan query.QueryResult
type TaskReadQuerySqlite ¶
func (TaskReadQuerySqlite) CountAll ¶
func (q TaskReadQuerySqlite) CountAll() <-chan query.QueryResult
func (TaskReadQuerySqlite) CountTasksWithFilter ¶
func (q TaskReadQuerySqlite) CountTasksWithFilter(params map[string]string) <-chan query.QueryResult
func (TaskReadQuerySqlite) FindAll ¶
func (r TaskReadQuerySqlite) FindAll(page, limit int) <-chan query.QueryResult
func (TaskReadQuerySqlite) FindByID ¶
func (r TaskReadQuerySqlite) FindByID(uid uuid.UUID) <-chan query.QueryResult
FindByID is to find by ID
func (TaskReadQuerySqlite) FindTasksWithFilter ¶
func (s TaskReadQuerySqlite) FindTasksWithFilter(params map[string]string, page, limit int) <-chan query.QueryResult
Click to show internal directories.
Click to hide internal directories.