Documentation ¶
Index ¶
- Constants
- Variables
- func A(v float64) predicate.DeviceKpi
- func AEQ(v float64) predicate.DeviceKpi
- func AGT(v float64) predicate.DeviceKpi
- func AGTE(v float64) predicate.DeviceKpi
- func AIn(vs ...float64) predicate.DeviceKpi
- func AIsNil() predicate.DeviceKpi
- func ALT(v float64) predicate.DeviceKpi
- func ALTE(v float64) predicate.DeviceKpi
- func ANEQ(v float64) predicate.DeviceKpi
- func ANotIn(vs ...float64) predicate.DeviceKpi
- func ANotNil() predicate.DeviceKpi
- func And(predicates ...predicate.DeviceKpi) predicate.DeviceKpi
- func B(v float64) predicate.DeviceKpi
- func BEQ(v float64) predicate.DeviceKpi
- func BGT(v float64) predicate.DeviceKpi
- func BGTE(v float64) predicate.DeviceKpi
- func BIn(vs ...float64) predicate.DeviceKpi
- func BIsNil() predicate.DeviceKpi
- func BLT(v float64) predicate.DeviceKpi
- func BLTE(v float64) predicate.DeviceKpi
- func BNEQ(v float64) predicate.DeviceKpi
- func BNotIn(vs ...float64) predicate.DeviceKpi
- func BNotNil() predicate.DeviceKpi
- func CreatedAt(v time.Time) predicate.DeviceKpi
- func CreatedAtEQ(v time.Time) predicate.DeviceKpi
- func CreatedAtGT(v time.Time) predicate.DeviceKpi
- func CreatedAtGTE(v time.Time) predicate.DeviceKpi
- func CreatedAtIn(vs ...time.Time) predicate.DeviceKpi
- func CreatedAtLT(v time.Time) predicate.DeviceKpi
- func CreatedAtLTE(v time.Time) predicate.DeviceKpi
- func CreatedAtNEQ(v time.Time) predicate.DeviceKpi
- func CreatedAtNotIn(vs ...time.Time) predicate.DeviceKpi
- func CurrentDay1(v int64) predicate.DeviceKpi
- func CurrentDay1EQ(v int64) predicate.DeviceKpi
- func CurrentDay1GT(v int64) predicate.DeviceKpi
- func CurrentDay1GTE(v int64) predicate.DeviceKpi
- func CurrentDay1In(vs ...int64) predicate.DeviceKpi
- func CurrentDay1IsNil() predicate.DeviceKpi
- func CurrentDay1LT(v int64) predicate.DeviceKpi
- func CurrentDay1LTE(v int64) predicate.DeviceKpi
- func CurrentDay1NEQ(v int64) predicate.DeviceKpi
- func CurrentDay1NotIn(vs ...int64) predicate.DeviceKpi
- func CurrentDay1NotNil() predicate.DeviceKpi
- func CurrentDay28(v int64) predicate.DeviceKpi
- func CurrentDay28EQ(v int64) predicate.DeviceKpi
- func CurrentDay28GT(v int64) predicate.DeviceKpi
- func CurrentDay28GTE(v int64) predicate.DeviceKpi
- func CurrentDay28In(vs ...int64) predicate.DeviceKpi
- func CurrentDay28IsNil() predicate.DeviceKpi
- func CurrentDay28LT(v int64) predicate.DeviceKpi
- func CurrentDay28LTE(v int64) predicate.DeviceKpi
- func CurrentDay28NEQ(v int64) predicate.DeviceKpi
- func CurrentDay28NotIn(vs ...int64) predicate.DeviceKpi
- func CurrentDay28NotNil() predicate.DeviceKpi
- func CurrentDay7(v int64) predicate.DeviceKpi
- func CurrentDay7EQ(v int64) predicate.DeviceKpi
- func CurrentDay7GT(v int64) predicate.DeviceKpi
- func CurrentDay7GTE(v int64) predicate.DeviceKpi
- func CurrentDay7In(vs ...int64) predicate.DeviceKpi
- func CurrentDay7IsNil() predicate.DeviceKpi
- func CurrentDay7LT(v int64) predicate.DeviceKpi
- func CurrentDay7LTE(v int64) predicate.DeviceKpi
- func CurrentDay7NEQ(v int64) predicate.DeviceKpi
- func CurrentDay7NotIn(vs ...int64) predicate.DeviceKpi
- func CurrentDay7NotNil() predicate.DeviceKpi
- func DeviceName(v string) predicate.DeviceKpi
- func DeviceNameContains(v string) predicate.DeviceKpi
- func DeviceNameContainsFold(v string) predicate.DeviceKpi
- func DeviceNameEQ(v string) predicate.DeviceKpi
- func DeviceNameEqualFold(v string) predicate.DeviceKpi
- func DeviceNameGT(v string) predicate.DeviceKpi
- func DeviceNameGTE(v string) predicate.DeviceKpi
- func DeviceNameHasPrefix(v string) predicate.DeviceKpi
- func DeviceNameHasSuffix(v string) predicate.DeviceKpi
- func DeviceNameIn(vs ...string) predicate.DeviceKpi
- func DeviceNameLT(v string) predicate.DeviceKpi
- func DeviceNameLTE(v string) predicate.DeviceKpi
- func DeviceNameNEQ(v string) predicate.DeviceKpi
- func DeviceNameNotIn(vs ...string) predicate.DeviceKpi
- func ID(id uint64) predicate.DeviceKpi
- func IDEQ(id uint64) predicate.DeviceKpi
- func IDGT(id uint64) predicate.DeviceKpi
- func IDGTE(id uint64) predicate.DeviceKpi
- func IDIn(ids ...uint64) predicate.DeviceKpi
- func IDLT(id uint64) predicate.DeviceKpi
- func IDLTE(id uint64) predicate.DeviceKpi
- func IDNEQ(id uint64) predicate.DeviceKpi
- func IDNotIn(ids ...uint64) predicate.DeviceKpi
- func IotID(v string) predicate.DeviceKpi
- func IotIDContains(v string) predicate.DeviceKpi
- func IotIDContainsFold(v string) predicate.DeviceKpi
- func IotIDEQ(v string) predicate.DeviceKpi
- func IotIDEqualFold(v string) predicate.DeviceKpi
- func IotIDGT(v string) predicate.DeviceKpi
- func IotIDGTE(v string) predicate.DeviceKpi
- func IotIDHasPrefix(v string) predicate.DeviceKpi
- func IotIDHasSuffix(v string) predicate.DeviceKpi
- func IotIDIn(vs ...string) predicate.DeviceKpi
- func IotIDLT(v string) predicate.DeviceKpi
- func IotIDLTE(v string) predicate.DeviceKpi
- func IotIDNEQ(v string) predicate.DeviceKpi
- func IotIDNotIn(vs ...string) predicate.DeviceKpi
- func Kpi(v float64) predicate.DeviceKpi
- func KpiEQ(v float64) predicate.DeviceKpi
- func KpiGT(v float64) predicate.DeviceKpi
- func KpiGTE(v float64) predicate.DeviceKpi
- func KpiIn(vs ...float64) predicate.DeviceKpi
- func KpiIsNil() predicate.DeviceKpi
- func KpiLT(v float64) predicate.DeviceKpi
- func KpiLTE(v float64) predicate.DeviceKpi
- func KpiNEQ(v float64) predicate.DeviceKpi
- func KpiNotIn(vs ...float64) predicate.DeviceKpi
- func KpiNotNil() predicate.DeviceKpi
- func MonthKpi(v float64) predicate.DeviceKpi
- func MonthKpiEQ(v float64) predicate.DeviceKpi
- func MonthKpiGT(v float64) predicate.DeviceKpi
- func MonthKpiGTE(v float64) predicate.DeviceKpi
- func MonthKpiIn(vs ...float64) predicate.DeviceKpi
- func MonthKpiIsNil() predicate.DeviceKpi
- func MonthKpiLT(v float64) predicate.DeviceKpi
- func MonthKpiLTE(v float64) predicate.DeviceKpi
- func MonthKpiNEQ(v float64) predicate.DeviceKpi
- func MonthKpiNotIn(vs ...float64) predicate.DeviceKpi
- func MonthKpiNotNil() predicate.DeviceKpi
- func Not(p predicate.DeviceKpi) predicate.DeviceKpi
- func Or(predicates ...predicate.DeviceKpi) predicate.DeviceKpi
- func ProductKey(v string) predicate.DeviceKpi
- func ProductKeyContains(v string) predicate.DeviceKpi
- func ProductKeyContainsFold(v string) predicate.DeviceKpi
- func ProductKeyEQ(v string) predicate.DeviceKpi
- func ProductKeyEqualFold(v string) predicate.DeviceKpi
- func ProductKeyGT(v string) predicate.DeviceKpi
- func ProductKeyGTE(v string) predicate.DeviceKpi
- func ProductKeyHasPrefix(v string) predicate.DeviceKpi
- func ProductKeyHasSuffix(v string) predicate.DeviceKpi
- func ProductKeyIn(vs ...string) predicate.DeviceKpi
- func ProductKeyLT(v string) predicate.DeviceKpi
- func ProductKeyLTE(v string) predicate.DeviceKpi
- func ProductKeyNEQ(v string) predicate.DeviceKpi
- func ProductKeyNotIn(vs ...string) predicate.DeviceKpi
- func Sort(v uint32) predicate.DeviceKpi
- func SortEQ(v uint32) predicate.DeviceKpi
- func SortGT(v uint32) predicate.DeviceKpi
- func SortGTE(v uint32) predicate.DeviceKpi
- func SortIn(vs ...uint32) predicate.DeviceKpi
- func SortLT(v uint32) predicate.DeviceKpi
- func SortLTE(v uint32) predicate.DeviceKpi
- func SortNEQ(v uint32) predicate.DeviceKpi
- func SortNotIn(vs ...uint32) predicate.DeviceKpi
- func Status(v uint8) predicate.DeviceKpi
- func StatusEQ(v uint8) predicate.DeviceKpi
- func StatusGT(v uint8) predicate.DeviceKpi
- func StatusGTE(v uint8) predicate.DeviceKpi
- func StatusIn(vs ...uint8) predicate.DeviceKpi
- func StatusIsNil() predicate.DeviceKpi
- func StatusLT(v uint8) predicate.DeviceKpi
- func StatusLTE(v uint8) predicate.DeviceKpi
- func StatusNEQ(v uint8) predicate.DeviceKpi
- func StatusNotIn(vs ...uint8) predicate.DeviceKpi
- func StatusNotNil() predicate.DeviceKpi
- func UpdatedAt(v time.Time) predicate.DeviceKpi
- func UpdatedAtEQ(v time.Time) predicate.DeviceKpi
- func UpdatedAtGT(v time.Time) predicate.DeviceKpi
- func UpdatedAtGTE(v time.Time) predicate.DeviceKpi
- func UpdatedAtIn(vs ...time.Time) predicate.DeviceKpi
- func UpdatedAtLT(v time.Time) predicate.DeviceKpi
- func UpdatedAtLTE(v time.Time) predicate.DeviceKpi
- func UpdatedAtNEQ(v time.Time) predicate.DeviceKpi
- func UpdatedAtNotIn(vs ...time.Time) predicate.DeviceKpi
- func ValidColumn(column string) bool
- func WeekKpi(v float64) predicate.DeviceKpi
- func WeekKpiEQ(v float64) predicate.DeviceKpi
- func WeekKpiGT(v float64) predicate.DeviceKpi
- func WeekKpiGTE(v float64) predicate.DeviceKpi
- func WeekKpiIn(vs ...float64) predicate.DeviceKpi
- func WeekKpiIsNil() predicate.DeviceKpi
- func WeekKpiLT(v float64) predicate.DeviceKpi
- func WeekKpiLTE(v float64) predicate.DeviceKpi
- func WeekKpiNEQ(v float64) predicate.DeviceKpi
- func WeekKpiNotIn(vs ...float64) predicate.DeviceKpi
- func WeekKpiNotNil() predicate.DeviceKpi
- func X(v float64) predicate.DeviceKpi
- func XEQ(v float64) predicate.DeviceKpi
- func XGT(v float64) predicate.DeviceKpi
- func XGTE(v float64) predicate.DeviceKpi
- func XIn(vs ...float64) predicate.DeviceKpi
- func XIsNil() predicate.DeviceKpi
- func XLT(v float64) predicate.DeviceKpi
- func XLTE(v float64) predicate.DeviceKpi
- func XNEQ(v float64) predicate.DeviceKpi
- func XNotIn(vs ...float64) predicate.DeviceKpi
- func XNotNil() predicate.DeviceKpi
- func Y(v float64) predicate.DeviceKpi
- func YEQ(v float64) predicate.DeviceKpi
- func YGT(v float64) predicate.DeviceKpi
- func YGTE(v float64) predicate.DeviceKpi
- func YIn(vs ...float64) predicate.DeviceKpi
- func YIsNil() predicate.DeviceKpi
- func YLT(v float64) predicate.DeviceKpi
- func YLTE(v float64) predicate.DeviceKpi
- func YNEQ(v float64) predicate.DeviceKpi
- func YNotIn(vs ...float64) predicate.DeviceKpi
- func YNotNil() predicate.DeviceKpi
- type OrderOption
- func ByA(opts ...sql.OrderTermOption) OrderOption
- func ByB(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCurrentDay1(opts ...sql.OrderTermOption) OrderOption
- func ByCurrentDay28(opts ...sql.OrderTermOption) OrderOption
- func ByCurrentDay7(opts ...sql.OrderTermOption) OrderOption
- func ByDeviceName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIotID(opts ...sql.OrderTermOption) OrderOption
- func ByKpi(opts ...sql.OrderTermOption) OrderOption
- func ByMonthKpi(opts ...sql.OrderTermOption) OrderOption
- func ByProductKey(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByWeekKpi(opts ...sql.OrderTermOption) OrderOption
- func ByX(opts ...sql.OrderTermOption) OrderOption
- func ByY(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the devicekpi type in the database. Label = "device_kpi" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldSort holds the string denoting the sort field in the database. FieldSort = "sort" // FieldIotID holds the string denoting the iotid field in the database. FieldIotID = "iot_id" // FieldDeviceName holds the string denoting the devicename field in the database. FieldDeviceName = "device_name" // FieldProductKey holds the string denoting the productkey field in the database. FieldProductKey = "product_key" // FieldKpi holds the string denoting the kpi field in the database. FieldKpi = "kpi" // FieldX holds the string denoting the x field in the database. FieldX = "x" // FieldY holds the string denoting the y field in the database. FieldY = "y" // FieldA holds the string denoting the a field in the database. FieldA = "a" // FieldB holds the string denoting the b field in the database. FieldB = "b" // FieldWeekKpi holds the string denoting the weekkpi field in the database. FieldWeekKpi = "week_kpi" // FieldMonthKpi holds the string denoting the monthkpi field in the database. FieldMonthKpi = "month_kpi" // FieldCurrentDay1 holds the string denoting the currentday1 field in the database. FieldCurrentDay1 = "current_day1" // FieldCurrentDay7 holds the string denoting the currentday7 field in the database. FieldCurrentDay7 = "current_day7" // FieldCurrentDay28 holds the string denoting the currentday28 field in the database. FieldCurrentDay28 = "current_day28" // Table holds the table name of the devicekpi in the database. Table = "thing_device_kpi" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus uint8 // DefaultSort holds the default value on creation for the "sort" field. DefaultSort uint32 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldStatus, FieldSort, FieldIotID, FieldDeviceName, FieldProductKey, FieldKpi, FieldX, FieldY, FieldA, FieldB, FieldWeekKpi, FieldMonthKpi, FieldCurrentDay1, FieldCurrentDay7, FieldCurrentDay28, }
Columns holds all SQL columns for devicekpi fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CurrentDay1 ¶
CurrentDay1 applies equality check predicate on the "currentDay1" field. It's identical to CurrentDay1EQ.
func CurrentDay1EQ ¶
CurrentDay1EQ applies the EQ predicate on the "currentDay1" field.
func CurrentDay1GT ¶
CurrentDay1GT applies the GT predicate on the "currentDay1" field.
func CurrentDay1GTE ¶
CurrentDay1GTE applies the GTE predicate on the "currentDay1" field.
func CurrentDay1In ¶
CurrentDay1In applies the In predicate on the "currentDay1" field.
func CurrentDay1IsNil ¶
CurrentDay1IsNil applies the IsNil predicate on the "currentDay1" field.
func CurrentDay1LT ¶
CurrentDay1LT applies the LT predicate on the "currentDay1" field.
func CurrentDay1LTE ¶
CurrentDay1LTE applies the LTE predicate on the "currentDay1" field.
func CurrentDay1NEQ ¶
CurrentDay1NEQ applies the NEQ predicate on the "currentDay1" field.
func CurrentDay1NotIn ¶
CurrentDay1NotIn applies the NotIn predicate on the "currentDay1" field.
func CurrentDay1NotNil ¶
CurrentDay1NotNil applies the NotNil predicate on the "currentDay1" field.
func CurrentDay28 ¶
CurrentDay28 applies equality check predicate on the "currentDay28" field. It's identical to CurrentDay28EQ.
func CurrentDay28EQ ¶
CurrentDay28EQ applies the EQ predicate on the "currentDay28" field.
func CurrentDay28GT ¶
CurrentDay28GT applies the GT predicate on the "currentDay28" field.
func CurrentDay28GTE ¶
CurrentDay28GTE applies the GTE predicate on the "currentDay28" field.
func CurrentDay28In ¶
CurrentDay28In applies the In predicate on the "currentDay28" field.
func CurrentDay28IsNil ¶
CurrentDay28IsNil applies the IsNil predicate on the "currentDay28" field.
func CurrentDay28LT ¶
CurrentDay28LT applies the LT predicate on the "currentDay28" field.
func CurrentDay28LTE ¶
CurrentDay28LTE applies the LTE predicate on the "currentDay28" field.
func CurrentDay28NEQ ¶
CurrentDay28NEQ applies the NEQ predicate on the "currentDay28" field.
func CurrentDay28NotIn ¶
CurrentDay28NotIn applies the NotIn predicate on the "currentDay28" field.
func CurrentDay28NotNil ¶
CurrentDay28NotNil applies the NotNil predicate on the "currentDay28" field.
func CurrentDay7 ¶
CurrentDay7 applies equality check predicate on the "currentDay7" field. It's identical to CurrentDay7EQ.
func CurrentDay7EQ ¶
CurrentDay7EQ applies the EQ predicate on the "currentDay7" field.
func CurrentDay7GT ¶
CurrentDay7GT applies the GT predicate on the "currentDay7" field.
func CurrentDay7GTE ¶
CurrentDay7GTE applies the GTE predicate on the "currentDay7" field.
func CurrentDay7In ¶
CurrentDay7In applies the In predicate on the "currentDay7" field.
func CurrentDay7IsNil ¶
CurrentDay7IsNil applies the IsNil predicate on the "currentDay7" field.
func CurrentDay7LT ¶
CurrentDay7LT applies the LT predicate on the "currentDay7" field.
func CurrentDay7LTE ¶
CurrentDay7LTE applies the LTE predicate on the "currentDay7" field.
func CurrentDay7NEQ ¶
CurrentDay7NEQ applies the NEQ predicate on the "currentDay7" field.
func CurrentDay7NotIn ¶
CurrentDay7NotIn applies the NotIn predicate on the "currentDay7" field.
func CurrentDay7NotNil ¶
CurrentDay7NotNil applies the NotNil predicate on the "currentDay7" field.
func DeviceName ¶
DeviceName applies equality check predicate on the "deviceName" field. It's identical to DeviceNameEQ.
func DeviceNameContains ¶
DeviceNameContains applies the Contains predicate on the "deviceName" field.
func DeviceNameContainsFold ¶
DeviceNameContainsFold applies the ContainsFold predicate on the "deviceName" field.
func DeviceNameEQ ¶
DeviceNameEQ applies the EQ predicate on the "deviceName" field.
func DeviceNameEqualFold ¶
DeviceNameEqualFold applies the EqualFold predicate on the "deviceName" field.
func DeviceNameGT ¶
DeviceNameGT applies the GT predicate on the "deviceName" field.
func DeviceNameGTE ¶
DeviceNameGTE applies the GTE predicate on the "deviceName" field.
func DeviceNameHasPrefix ¶
DeviceNameHasPrefix applies the HasPrefix predicate on the "deviceName" field.
func DeviceNameHasSuffix ¶
DeviceNameHasSuffix applies the HasSuffix predicate on the "deviceName" field.
func DeviceNameIn ¶
DeviceNameIn applies the In predicate on the "deviceName" field.
func DeviceNameLT ¶
DeviceNameLT applies the LT predicate on the "deviceName" field.
func DeviceNameLTE ¶
DeviceNameLTE applies the LTE predicate on the "deviceName" field.
func DeviceNameNEQ ¶
DeviceNameNEQ applies the NEQ predicate on the "deviceName" field.
func DeviceNameNotIn ¶
DeviceNameNotIn applies the NotIn predicate on the "deviceName" field.
func IotID ¶
IotID applies equality check predicate on the "iotID" field. It's identical to IotIDEQ.
func IotIDContains ¶
IotIDContains applies the Contains predicate on the "iotID" field.
func IotIDContainsFold ¶
IotIDContainsFold applies the ContainsFold predicate on the "iotID" field.
func IotIDEqualFold ¶
IotIDEqualFold applies the EqualFold predicate on the "iotID" field.
func IotIDHasPrefix ¶
IotIDHasPrefix applies the HasPrefix predicate on the "iotID" field.
func IotIDHasSuffix ¶
IotIDHasSuffix applies the HasSuffix predicate on the "iotID" field.
func IotIDNotIn ¶
IotIDNotIn applies the NotIn predicate on the "iotID" field.
func MonthKpi ¶
MonthKpi applies equality check predicate on the "monthKpi" field. It's identical to MonthKpiEQ.
func MonthKpiEQ ¶
MonthKpiEQ applies the EQ predicate on the "monthKpi" field.
func MonthKpiGT ¶
MonthKpiGT applies the GT predicate on the "monthKpi" field.
func MonthKpiGTE ¶
MonthKpiGTE applies the GTE predicate on the "monthKpi" field.
func MonthKpiIn ¶
MonthKpiIn applies the In predicate on the "monthKpi" field.
func MonthKpiIsNil ¶
MonthKpiIsNil applies the IsNil predicate on the "monthKpi" field.
func MonthKpiLT ¶
MonthKpiLT applies the LT predicate on the "monthKpi" field.
func MonthKpiLTE ¶
MonthKpiLTE applies the LTE predicate on the "monthKpi" field.
func MonthKpiNEQ ¶
MonthKpiNEQ applies the NEQ predicate on the "monthKpi" field.
func MonthKpiNotIn ¶
MonthKpiNotIn applies the NotIn predicate on the "monthKpi" field.
func MonthKpiNotNil ¶
MonthKpiNotNil applies the NotNil predicate on the "monthKpi" field.
func ProductKey ¶
ProductKey applies equality check predicate on the "productKey" field. It's identical to ProductKeyEQ.
func ProductKeyContains ¶
ProductKeyContains applies the Contains predicate on the "productKey" field.
func ProductKeyContainsFold ¶
ProductKeyContainsFold applies the ContainsFold predicate on the "productKey" field.
func ProductKeyEQ ¶
ProductKeyEQ applies the EQ predicate on the "productKey" field.
func ProductKeyEqualFold ¶
ProductKeyEqualFold applies the EqualFold predicate on the "productKey" field.
func ProductKeyGT ¶
ProductKeyGT applies the GT predicate on the "productKey" field.
func ProductKeyGTE ¶
ProductKeyGTE applies the GTE predicate on the "productKey" field.
func ProductKeyHasPrefix ¶
ProductKeyHasPrefix applies the HasPrefix predicate on the "productKey" field.
func ProductKeyHasSuffix ¶
ProductKeyHasSuffix applies the HasSuffix predicate on the "productKey" field.
func ProductKeyIn ¶
ProductKeyIn applies the In predicate on the "productKey" field.
func ProductKeyLT ¶
ProductKeyLT applies the LT predicate on the "productKey" field.
func ProductKeyLTE ¶
ProductKeyLTE applies the LTE predicate on the "productKey" field.
func ProductKeyNEQ ¶
ProductKeyNEQ applies the NEQ predicate on the "productKey" field.
func ProductKeyNotIn ¶
ProductKeyNotIn applies the NotIn predicate on the "productKey" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WeekKpi ¶
WeekKpi applies equality check predicate on the "weekKpi" field. It's identical to WeekKpiEQ.
func WeekKpiGTE ¶
WeekKpiGTE applies the GTE predicate on the "weekKpi" field.
func WeekKpiIsNil ¶
WeekKpiIsNil applies the IsNil predicate on the "weekKpi" field.
func WeekKpiLTE ¶
WeekKpiLTE applies the LTE predicate on the "weekKpi" field.
func WeekKpiNEQ ¶
WeekKpiNEQ applies the NEQ predicate on the "weekKpi" field.
func WeekKpiNotIn ¶
WeekKpiNotIn applies the NotIn predicate on the "weekKpi" field.
func WeekKpiNotNil ¶
WeekKpiNotNil applies the NotNil predicate on the "weekKpi" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the DeviceKpi queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCurrentDay1 ¶
func ByCurrentDay1(opts ...sql.OrderTermOption) OrderOption
ByCurrentDay1 orders the results by the currentDay1 field.
func ByCurrentDay28 ¶
func ByCurrentDay28(opts ...sql.OrderTermOption) OrderOption
ByCurrentDay28 orders the results by the currentDay28 field.
func ByCurrentDay7 ¶
func ByCurrentDay7(opts ...sql.OrderTermOption) OrderOption
ByCurrentDay7 orders the results by the currentDay7 field.
func ByDeviceName ¶
func ByDeviceName(opts ...sql.OrderTermOption) OrderOption
ByDeviceName orders the results by the deviceName field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIotID ¶
func ByIotID(opts ...sql.OrderTermOption) OrderOption
ByIotID orders the results by the iotID field.
func ByKpi ¶
func ByKpi(opts ...sql.OrderTermOption) OrderOption
ByKpi orders the results by the kpi field.
func ByMonthKpi ¶
func ByMonthKpi(opts ...sql.OrderTermOption) OrderOption
ByMonthKpi orders the results by the monthKpi field.
func ByProductKey ¶
func ByProductKey(opts ...sql.OrderTermOption) OrderOption
ByProductKey orders the results by the productKey field.
func BySort ¶
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByWeekKpi ¶
func ByWeekKpi(opts ...sql.OrderTermOption) OrderOption
ByWeekKpi orders the results by the weekKpi field.