mysql

package
v0.0.0-...-87346ed Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAreaQueryMysql

func NewAreaQueryMysql(db *sql.DB) query.AreaQuery

NewAreaQueryMysql :

func NewCropQueryMysql

func NewCropQueryMysql(db *sql.DB) query.CropQuery

NewCropQueryMysql :

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

type AreaQueryMysql struct {
	DB *sql.DB
}

AreaQueryMysql :

func (AreaQueryMysql) FindByID

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

FindByID :

type CropQueryMysql

type CropQueryMysql struct {
	DB *sql.DB
}

CropQueryMysql :

func (CropQueryMysql) FindCropByID

func (s CropQueryMysql) FindCropByID(uid uuid.UUID) <-chan query.Result

FindCropByID :

type DeviceEventQueryMysql

type DeviceEventQueryMysql struct {
	DB *sql.DB
}

DeviceEventQueryMysql :

func (*DeviceEventQueryMysql) FindAllByDeviceID

func (f *DeviceEventQueryMysql) FindAllByDeviceID(uid uuid.UUID) <-chan query.Result

FindAllByDeviceID :

type DeviceReadQueryMysql

type DeviceReadQueryMysql struct {
	DB *sql.DB
}

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

type MaterialQueryMysql struct {
	DB *sql.DB
}

MaterialQueryMysql :

func (MaterialQueryMysql) FindMaterialByID

func (s MaterialQueryMysql) FindMaterialByID(uid uuid.UUID) <-chan query.Result

FindMaterialByID :

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL