Documentation ¶
Index ¶
- func NewAreaQueryMysql(db *sql.DB) query.AreaQuery
- func NewCropQueryMysql(db *sql.DB) query.CropQuery
- func NewDeviceEventQueryMysql(db *sql.DB) query.DeviceEventQuery
- func NewDeviceReadQueryMysql(s *sql.DB) query.DeviceReadQuery
- func NewMaterialQueryMysql(db *sql.DB) query.MaterialQuery
- type AreaQueryMysql
- type CropQueryMysql
- type DeviceEventQueryMysql
- type DeviceReadQueryMysql
- func (r DeviceReadQueryMysql) CountAll() <-chan query.Result
- func (r DeviceReadQueryMysql) CountDevicesWithFilter(params map[string]string) <-chan query.Result
- func (r DeviceReadQueryMysql) FindAll(page, limit int) <-chan query.Result
- func (r DeviceReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.Result
- func (r DeviceReadQueryMysql) FindDevicesWithFilter(params map[string]string, page, limit int) <-chan query.Result
- type MaterialQueryMysql
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeviceEventQueryMysql ¶
func NewDeviceEventQueryMysql(db *sql.DB) query.DeviceEventQuery
NewDeviceEventQueryMysql :
func NewDeviceReadQueryMysql ¶
func NewDeviceReadQueryMysql(s *sql.DB) query.DeviceReadQuery
NewDeviceReadQueryMysql :
func NewMaterialQueryMysql ¶
func NewMaterialQueryMysql(db *sql.DB) query.MaterialQuery
NewMaterialQueryMysql :
Types ¶
type AreaQueryMysql ¶
AreaQueryMysql :
type CropQueryMysql ¶
CropQueryMysql :
func (CropQueryMysql) FindCropByID ¶
func (s CropQueryMysql) FindCropByID(uid uuid.UUID) <-chan query.Result
FindCropByID :
type DeviceEventQueryMysql ¶
DeviceEventQueryMysql :
func (*DeviceEventQueryMysql) FindAllByDeviceID ¶
func (f *DeviceEventQueryMysql) FindAllByDeviceID(uid uuid.UUID) <-chan query.Result
FindAllByDeviceID :
type DeviceReadQueryMysql ¶
DeviceReadQueryMysql :
func (DeviceReadQueryMysql) CountAll ¶
func (r DeviceReadQueryMysql) CountAll() <-chan query.Result
CountAll :
func (DeviceReadQueryMysql) CountDevicesWithFilter ¶
func (r DeviceReadQueryMysql) CountDevicesWithFilter(params map[string]string) <-chan query.Result
CountDevicesWithFilter :
func (DeviceReadQueryMysql) FindAll ¶
func (r DeviceReadQueryMysql) FindAll(page, limit int) <-chan query.Result
FindAll :
func (DeviceReadQueryMysql) FindByID ¶
func (r DeviceReadQueryMysql) FindByID(uid uuid.UUID) <-chan query.Result
FindByID :
func (DeviceReadQueryMysql) FindDevicesWithFilter ¶
func (r DeviceReadQueryMysql) FindDevicesWithFilter(params map[string]string, page, limit int) <-chan query.Result
FindDevicesWithFilter :
type MaterialQueryMysql ¶
MaterialQueryMysql :
func (MaterialQueryMysql) FindMaterialByID ¶
func (s MaterialQueryMysql) FindMaterialByID(uid uuid.UUID) <-chan query.Result
FindMaterialByID :
Click to show internal directories.
Click to hide internal directories.