devicekpi

package
v0.0.0-...-24d6c83 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for devicekpi fields.

Functions

func A

A applies equality check predicate on the "a" field. It's identical to AEQ.

func AEQ

AEQ applies the EQ predicate on the "a" field.

func AGT

AGT applies the GT predicate on the "a" field.

func AGTE

func AGTE(v float64) predicate.DeviceKpi

AGTE applies the GTE predicate on the "a" field.

func AIn

func AIn(vs ...float64) predicate.DeviceKpi

AIn applies the In predicate on the "a" field.

func AIsNil

func AIsNil() predicate.DeviceKpi

AIsNil applies the IsNil predicate on the "a" field.

func ALT

ALT applies the LT predicate on the "a" field.

func ALTE

func ALTE(v float64) predicate.DeviceKpi

ALTE applies the LTE predicate on the "a" field.

func ANEQ

func ANEQ(v float64) predicate.DeviceKpi

ANEQ applies the NEQ predicate on the "a" field.

func ANotIn

func ANotIn(vs ...float64) predicate.DeviceKpi

ANotIn applies the NotIn predicate on the "a" field.

func ANotNil

func ANotNil() predicate.DeviceKpi

ANotNil applies the NotNil predicate on the "a" field.

func And

func And(predicates ...predicate.DeviceKpi) predicate.DeviceKpi

And groups predicates with the AND operator between them.

func B

B applies equality check predicate on the "b" field. It's identical to BEQ.

func BEQ

BEQ applies the EQ predicate on the "b" field.

func BGT

BGT applies the GT predicate on the "b" field.

func BGTE

func BGTE(v float64) predicate.DeviceKpi

BGTE applies the GTE predicate on the "b" field.

func BIn

func BIn(vs ...float64) predicate.DeviceKpi

BIn applies the In predicate on the "b" field.

func BIsNil

func BIsNil() predicate.DeviceKpi

BIsNil applies the IsNil predicate on the "b" field.

func BLT

BLT applies the LT predicate on the "b" field.

func BLTE

func BLTE(v float64) predicate.DeviceKpi

BLTE applies the LTE predicate on the "b" field.

func BNEQ

func BNEQ(v float64) predicate.DeviceKpi

BNEQ applies the NEQ predicate on the "b" field.

func BNotIn

func BNotIn(vs ...float64) predicate.DeviceKpi

BNotIn applies the NotIn predicate on the "b" field.

func BNotNil

func BNotNil() predicate.DeviceKpi

BNotNil applies the NotNil predicate on the "b" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.DeviceKpi

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.DeviceKpi

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.DeviceKpi

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.DeviceKpi

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.DeviceKpi

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.DeviceKpi

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.DeviceKpi

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.DeviceKpi

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.DeviceKpi

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CurrentDay1

func CurrentDay1(v int64) predicate.DeviceKpi

CurrentDay1 applies equality check predicate on the "currentDay1" field. It's identical to CurrentDay1EQ.

func CurrentDay1EQ

func CurrentDay1EQ(v int64) predicate.DeviceKpi

CurrentDay1EQ applies the EQ predicate on the "currentDay1" field.

func CurrentDay1GT

func CurrentDay1GT(v int64) predicate.DeviceKpi

CurrentDay1GT applies the GT predicate on the "currentDay1" field.

func CurrentDay1GTE

func CurrentDay1GTE(v int64) predicate.DeviceKpi

CurrentDay1GTE applies the GTE predicate on the "currentDay1" field.

func CurrentDay1In

func CurrentDay1In(vs ...int64) predicate.DeviceKpi

CurrentDay1In applies the In predicate on the "currentDay1" field.

func CurrentDay1IsNil

func CurrentDay1IsNil() predicate.DeviceKpi

CurrentDay1IsNil applies the IsNil predicate on the "currentDay1" field.

func CurrentDay1LT

func CurrentDay1LT(v int64) predicate.DeviceKpi

CurrentDay1LT applies the LT predicate on the "currentDay1" field.

func CurrentDay1LTE

func CurrentDay1LTE(v int64) predicate.DeviceKpi

CurrentDay1LTE applies the LTE predicate on the "currentDay1" field.

func CurrentDay1NEQ

func CurrentDay1NEQ(v int64) predicate.DeviceKpi

CurrentDay1NEQ applies the NEQ predicate on the "currentDay1" field.

func CurrentDay1NotIn

func CurrentDay1NotIn(vs ...int64) predicate.DeviceKpi

CurrentDay1NotIn applies the NotIn predicate on the "currentDay1" field.

func CurrentDay1NotNil

func CurrentDay1NotNil() predicate.DeviceKpi

CurrentDay1NotNil applies the NotNil predicate on the "currentDay1" field.

func CurrentDay28

func CurrentDay28(v int64) predicate.DeviceKpi

CurrentDay28 applies equality check predicate on the "currentDay28" field. It's identical to CurrentDay28EQ.

func CurrentDay28EQ

func CurrentDay28EQ(v int64) predicate.DeviceKpi

CurrentDay28EQ applies the EQ predicate on the "currentDay28" field.

func CurrentDay28GT

func CurrentDay28GT(v int64) predicate.DeviceKpi

CurrentDay28GT applies the GT predicate on the "currentDay28" field.

func CurrentDay28GTE

func CurrentDay28GTE(v int64) predicate.DeviceKpi

CurrentDay28GTE applies the GTE predicate on the "currentDay28" field.

func CurrentDay28In

func CurrentDay28In(vs ...int64) predicate.DeviceKpi

CurrentDay28In applies the In predicate on the "currentDay28" field.

func CurrentDay28IsNil

func CurrentDay28IsNil() predicate.DeviceKpi

CurrentDay28IsNil applies the IsNil predicate on the "currentDay28" field.

func CurrentDay28LT

func CurrentDay28LT(v int64) predicate.DeviceKpi

CurrentDay28LT applies the LT predicate on the "currentDay28" field.

func CurrentDay28LTE

func CurrentDay28LTE(v int64) predicate.DeviceKpi

CurrentDay28LTE applies the LTE predicate on the "currentDay28" field.

func CurrentDay28NEQ

func CurrentDay28NEQ(v int64) predicate.DeviceKpi

CurrentDay28NEQ applies the NEQ predicate on the "currentDay28" field.

func CurrentDay28NotIn

func CurrentDay28NotIn(vs ...int64) predicate.DeviceKpi

CurrentDay28NotIn applies the NotIn predicate on the "currentDay28" field.

func CurrentDay28NotNil

func CurrentDay28NotNil() predicate.DeviceKpi

CurrentDay28NotNil applies the NotNil predicate on the "currentDay28" field.

func CurrentDay7

func CurrentDay7(v int64) predicate.DeviceKpi

CurrentDay7 applies equality check predicate on the "currentDay7" field. It's identical to CurrentDay7EQ.

func CurrentDay7EQ

func CurrentDay7EQ(v int64) predicate.DeviceKpi

CurrentDay7EQ applies the EQ predicate on the "currentDay7" field.

func CurrentDay7GT

func CurrentDay7GT(v int64) predicate.DeviceKpi

CurrentDay7GT applies the GT predicate on the "currentDay7" field.

func CurrentDay7GTE

func CurrentDay7GTE(v int64) predicate.DeviceKpi

CurrentDay7GTE applies the GTE predicate on the "currentDay7" field.

func CurrentDay7In

func CurrentDay7In(vs ...int64) predicate.DeviceKpi

CurrentDay7In applies the In predicate on the "currentDay7" field.

func CurrentDay7IsNil

func CurrentDay7IsNil() predicate.DeviceKpi

CurrentDay7IsNil applies the IsNil predicate on the "currentDay7" field.

func CurrentDay7LT

func CurrentDay7LT(v int64) predicate.DeviceKpi

CurrentDay7LT applies the LT predicate on the "currentDay7" field.

func CurrentDay7LTE

func CurrentDay7LTE(v int64) predicate.DeviceKpi

CurrentDay7LTE applies the LTE predicate on the "currentDay7" field.

func CurrentDay7NEQ

func CurrentDay7NEQ(v int64) predicate.DeviceKpi

CurrentDay7NEQ applies the NEQ predicate on the "currentDay7" field.

func CurrentDay7NotIn

func CurrentDay7NotIn(vs ...int64) predicate.DeviceKpi

CurrentDay7NotIn applies the NotIn predicate on the "currentDay7" field.

func CurrentDay7NotNil

func CurrentDay7NotNil() predicate.DeviceKpi

CurrentDay7NotNil applies the NotNil predicate on the "currentDay7" field.

func DeviceName

func DeviceName(v string) predicate.DeviceKpi

DeviceName applies equality check predicate on the "deviceName" field. It's identical to DeviceNameEQ.

func DeviceNameContains

func DeviceNameContains(v string) predicate.DeviceKpi

DeviceNameContains applies the Contains predicate on the "deviceName" field.

func DeviceNameContainsFold

func DeviceNameContainsFold(v string) predicate.DeviceKpi

DeviceNameContainsFold applies the ContainsFold predicate on the "deviceName" field.

func DeviceNameEQ

func DeviceNameEQ(v string) predicate.DeviceKpi

DeviceNameEQ applies the EQ predicate on the "deviceName" field.

func DeviceNameEqualFold

func DeviceNameEqualFold(v string) predicate.DeviceKpi

DeviceNameEqualFold applies the EqualFold predicate on the "deviceName" field.

func DeviceNameGT

func DeviceNameGT(v string) predicate.DeviceKpi

DeviceNameGT applies the GT predicate on the "deviceName" field.

func DeviceNameGTE

func DeviceNameGTE(v string) predicate.DeviceKpi

DeviceNameGTE applies the GTE predicate on the "deviceName" field.

func DeviceNameHasPrefix

func DeviceNameHasPrefix(v string) predicate.DeviceKpi

DeviceNameHasPrefix applies the HasPrefix predicate on the "deviceName" field.

func DeviceNameHasSuffix

func DeviceNameHasSuffix(v string) predicate.DeviceKpi

DeviceNameHasSuffix applies the HasSuffix predicate on the "deviceName" field.

func DeviceNameIn

func DeviceNameIn(vs ...string) predicate.DeviceKpi

DeviceNameIn applies the In predicate on the "deviceName" field.

func DeviceNameLT

func DeviceNameLT(v string) predicate.DeviceKpi

DeviceNameLT applies the LT predicate on the "deviceName" field.

func DeviceNameLTE

func DeviceNameLTE(v string) predicate.DeviceKpi

DeviceNameLTE applies the LTE predicate on the "deviceName" field.

func DeviceNameNEQ

func DeviceNameNEQ(v string) predicate.DeviceKpi

DeviceNameNEQ applies the NEQ predicate on the "deviceName" field.

func DeviceNameNotIn

func DeviceNameNotIn(vs ...string) predicate.DeviceKpi

DeviceNameNotIn applies the NotIn predicate on the "deviceName" field.

func ID

func ID(id uint64) predicate.DeviceKpi

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint64) predicate.DeviceKpi

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint64) predicate.DeviceKpi

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint64) predicate.DeviceKpi

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint64) predicate.DeviceKpi

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint64) predicate.DeviceKpi

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint64) predicate.DeviceKpi

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint64) predicate.DeviceKpi

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint64) predicate.DeviceKpi

IDNotIn applies the NotIn predicate on the ID field.

func IotID

func IotID(v string) predicate.DeviceKpi

IotID applies equality check predicate on the "iotID" field. It's identical to IotIDEQ.

func IotIDContains

func IotIDContains(v string) predicate.DeviceKpi

IotIDContains applies the Contains predicate on the "iotID" field.

func IotIDContainsFold

func IotIDContainsFold(v string) predicate.DeviceKpi

IotIDContainsFold applies the ContainsFold predicate on the "iotID" field.

func IotIDEQ

func IotIDEQ(v string) predicate.DeviceKpi

IotIDEQ applies the EQ predicate on the "iotID" field.

func IotIDEqualFold

func IotIDEqualFold(v string) predicate.DeviceKpi

IotIDEqualFold applies the EqualFold predicate on the "iotID" field.

func IotIDGT

func IotIDGT(v string) predicate.DeviceKpi

IotIDGT applies the GT predicate on the "iotID" field.

func IotIDGTE

func IotIDGTE(v string) predicate.DeviceKpi

IotIDGTE applies the GTE predicate on the "iotID" field.

func IotIDHasPrefix

func IotIDHasPrefix(v string) predicate.DeviceKpi

IotIDHasPrefix applies the HasPrefix predicate on the "iotID" field.

func IotIDHasSuffix

func IotIDHasSuffix(v string) predicate.DeviceKpi

IotIDHasSuffix applies the HasSuffix predicate on the "iotID" field.

func IotIDIn

func IotIDIn(vs ...string) predicate.DeviceKpi

IotIDIn applies the In predicate on the "iotID" field.

func IotIDLT

func IotIDLT(v string) predicate.DeviceKpi

IotIDLT applies the LT predicate on the "iotID" field.

func IotIDLTE

func IotIDLTE(v string) predicate.DeviceKpi

IotIDLTE applies the LTE predicate on the "iotID" field.

func IotIDNEQ

func IotIDNEQ(v string) predicate.DeviceKpi

IotIDNEQ applies the NEQ predicate on the "iotID" field.

func IotIDNotIn

func IotIDNotIn(vs ...string) predicate.DeviceKpi

IotIDNotIn applies the NotIn predicate on the "iotID" field.

func Kpi

Kpi applies equality check predicate on the "kpi" field. It's identical to KpiEQ.

func KpiEQ

func KpiEQ(v float64) predicate.DeviceKpi

KpiEQ applies the EQ predicate on the "kpi" field.

func KpiGT

func KpiGT(v float64) predicate.DeviceKpi

KpiGT applies the GT predicate on the "kpi" field.

func KpiGTE

func KpiGTE(v float64) predicate.DeviceKpi

KpiGTE applies the GTE predicate on the "kpi" field.

func KpiIn

func KpiIn(vs ...float64) predicate.DeviceKpi

KpiIn applies the In predicate on the "kpi" field.

func KpiIsNil

func KpiIsNil() predicate.DeviceKpi

KpiIsNil applies the IsNil predicate on the "kpi" field.

func KpiLT

func KpiLT(v float64) predicate.DeviceKpi

KpiLT applies the LT predicate on the "kpi" field.

func KpiLTE

func KpiLTE(v float64) predicate.DeviceKpi

KpiLTE applies the LTE predicate on the "kpi" field.

func KpiNEQ

func KpiNEQ(v float64) predicate.DeviceKpi

KpiNEQ applies the NEQ predicate on the "kpi" field.

func KpiNotIn

func KpiNotIn(vs ...float64) predicate.DeviceKpi

KpiNotIn applies the NotIn predicate on the "kpi" field.

func KpiNotNil

func KpiNotNil() predicate.DeviceKpi

KpiNotNil applies the NotNil predicate on the "kpi" field.

func MonthKpi

func MonthKpi(v float64) predicate.DeviceKpi

MonthKpi applies equality check predicate on the "monthKpi" field. It's identical to MonthKpiEQ.

func MonthKpiEQ

func MonthKpiEQ(v float64) predicate.DeviceKpi

MonthKpiEQ applies the EQ predicate on the "monthKpi" field.

func MonthKpiGT

func MonthKpiGT(v float64) predicate.DeviceKpi

MonthKpiGT applies the GT predicate on the "monthKpi" field.

func MonthKpiGTE

func MonthKpiGTE(v float64) predicate.DeviceKpi

MonthKpiGTE applies the GTE predicate on the "monthKpi" field.

func MonthKpiIn

func MonthKpiIn(vs ...float64) predicate.DeviceKpi

MonthKpiIn applies the In predicate on the "monthKpi" field.

func MonthKpiIsNil

func MonthKpiIsNil() predicate.DeviceKpi

MonthKpiIsNil applies the IsNil predicate on the "monthKpi" field.

func MonthKpiLT

func MonthKpiLT(v float64) predicate.DeviceKpi

MonthKpiLT applies the LT predicate on the "monthKpi" field.

func MonthKpiLTE

func MonthKpiLTE(v float64) predicate.DeviceKpi

MonthKpiLTE applies the LTE predicate on the "monthKpi" field.

func MonthKpiNEQ

func MonthKpiNEQ(v float64) predicate.DeviceKpi

MonthKpiNEQ applies the NEQ predicate on the "monthKpi" field.

func MonthKpiNotIn

func MonthKpiNotIn(vs ...float64) predicate.DeviceKpi

MonthKpiNotIn applies the NotIn predicate on the "monthKpi" field.

func MonthKpiNotNil

func MonthKpiNotNil() predicate.DeviceKpi

MonthKpiNotNil applies the NotNil predicate on the "monthKpi" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.DeviceKpi) predicate.DeviceKpi

Or groups predicates with the OR operator between them.

func ProductKey

func ProductKey(v string) predicate.DeviceKpi

ProductKey applies equality check predicate on the "productKey" field. It's identical to ProductKeyEQ.

func ProductKeyContains

func ProductKeyContains(v string) predicate.DeviceKpi

ProductKeyContains applies the Contains predicate on the "productKey" field.

func ProductKeyContainsFold

func ProductKeyContainsFold(v string) predicate.DeviceKpi

ProductKeyContainsFold applies the ContainsFold predicate on the "productKey" field.

func ProductKeyEQ

func ProductKeyEQ(v string) predicate.DeviceKpi

ProductKeyEQ applies the EQ predicate on the "productKey" field.

func ProductKeyEqualFold

func ProductKeyEqualFold(v string) predicate.DeviceKpi

ProductKeyEqualFold applies the EqualFold predicate on the "productKey" field.

func ProductKeyGT

func ProductKeyGT(v string) predicate.DeviceKpi

ProductKeyGT applies the GT predicate on the "productKey" field.

func ProductKeyGTE

func ProductKeyGTE(v string) predicate.DeviceKpi

ProductKeyGTE applies the GTE predicate on the "productKey" field.

func ProductKeyHasPrefix

func ProductKeyHasPrefix(v string) predicate.DeviceKpi

ProductKeyHasPrefix applies the HasPrefix predicate on the "productKey" field.

func ProductKeyHasSuffix

func ProductKeyHasSuffix(v string) predicate.DeviceKpi

ProductKeyHasSuffix applies the HasSuffix predicate on the "productKey" field.

func ProductKeyIn

func ProductKeyIn(vs ...string) predicate.DeviceKpi

ProductKeyIn applies the In predicate on the "productKey" field.

func ProductKeyLT

func ProductKeyLT(v string) predicate.DeviceKpi

ProductKeyLT applies the LT predicate on the "productKey" field.

func ProductKeyLTE

func ProductKeyLTE(v string) predicate.DeviceKpi

ProductKeyLTE applies the LTE predicate on the "productKey" field.

func ProductKeyNEQ

func ProductKeyNEQ(v string) predicate.DeviceKpi

ProductKeyNEQ applies the NEQ predicate on the "productKey" field.

func ProductKeyNotIn

func ProductKeyNotIn(vs ...string) predicate.DeviceKpi

ProductKeyNotIn applies the NotIn predicate on the "productKey" field.

func Sort

func Sort(v uint32) predicate.DeviceKpi

Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.

func SortEQ

func SortEQ(v uint32) predicate.DeviceKpi

SortEQ applies the EQ predicate on the "sort" field.

func SortGT

func SortGT(v uint32) predicate.DeviceKpi

SortGT applies the GT predicate on the "sort" field.

func SortGTE

func SortGTE(v uint32) predicate.DeviceKpi

SortGTE applies the GTE predicate on the "sort" field.

func SortIn

func SortIn(vs ...uint32) predicate.DeviceKpi

SortIn applies the In predicate on the "sort" field.

func SortLT

func SortLT(v uint32) predicate.DeviceKpi

SortLT applies the LT predicate on the "sort" field.

func SortLTE

func SortLTE(v uint32) predicate.DeviceKpi

SortLTE applies the LTE predicate on the "sort" field.

func SortNEQ

func SortNEQ(v uint32) predicate.DeviceKpi

SortNEQ applies the NEQ predicate on the "sort" field.

func SortNotIn

func SortNotIn(vs ...uint32) predicate.DeviceKpi

SortNotIn applies the NotIn predicate on the "sort" field.

func Status

func Status(v uint8) predicate.DeviceKpi

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v uint8) predicate.DeviceKpi

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

func StatusGT(v uint8) predicate.DeviceKpi

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v uint8) predicate.DeviceKpi

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...uint8) predicate.DeviceKpi

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.DeviceKpi

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

func StatusLT(v uint8) predicate.DeviceKpi

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v uint8) predicate.DeviceKpi

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v uint8) predicate.DeviceKpi

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...uint8) predicate.DeviceKpi

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.DeviceKpi

StatusNotNil applies the NotNil predicate on the "status" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.DeviceKpi

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.DeviceKpi

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.DeviceKpi

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.DeviceKpi

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.DeviceKpi

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.DeviceKpi

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.DeviceKpi

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.DeviceKpi

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.DeviceKpi

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func WeekKpi

func WeekKpi(v float64) predicate.DeviceKpi

WeekKpi applies equality check predicate on the "weekKpi" field. It's identical to WeekKpiEQ.

func WeekKpiEQ

func WeekKpiEQ(v float64) predicate.DeviceKpi

WeekKpiEQ applies the EQ predicate on the "weekKpi" field.

func WeekKpiGT

func WeekKpiGT(v float64) predicate.DeviceKpi

WeekKpiGT applies the GT predicate on the "weekKpi" field.

func WeekKpiGTE

func WeekKpiGTE(v float64) predicate.DeviceKpi

WeekKpiGTE applies the GTE predicate on the "weekKpi" field.

func WeekKpiIn

func WeekKpiIn(vs ...float64) predicate.DeviceKpi

WeekKpiIn applies the In predicate on the "weekKpi" field.

func WeekKpiIsNil

func WeekKpiIsNil() predicate.DeviceKpi

WeekKpiIsNil applies the IsNil predicate on the "weekKpi" field.

func WeekKpiLT

func WeekKpiLT(v float64) predicate.DeviceKpi

WeekKpiLT applies the LT predicate on the "weekKpi" field.

func WeekKpiLTE

func WeekKpiLTE(v float64) predicate.DeviceKpi

WeekKpiLTE applies the LTE predicate on the "weekKpi" field.

func WeekKpiNEQ

func WeekKpiNEQ(v float64) predicate.DeviceKpi

WeekKpiNEQ applies the NEQ predicate on the "weekKpi" field.

func WeekKpiNotIn

func WeekKpiNotIn(vs ...float64) predicate.DeviceKpi

WeekKpiNotIn applies the NotIn predicate on the "weekKpi" field.

func WeekKpiNotNil

func WeekKpiNotNil() predicate.DeviceKpi

WeekKpiNotNil applies the NotNil predicate on the "weekKpi" field.

func X

X applies equality check predicate on the "x" field. It's identical to XEQ.

func XEQ

XEQ applies the EQ predicate on the "x" field.

func XGT

XGT applies the GT predicate on the "x" field.

func XGTE

func XGTE(v float64) predicate.DeviceKpi

XGTE applies the GTE predicate on the "x" field.

func XIn

func XIn(vs ...float64) predicate.DeviceKpi

XIn applies the In predicate on the "x" field.

func XIsNil

func XIsNil() predicate.DeviceKpi

XIsNil applies the IsNil predicate on the "x" field.

func XLT

XLT applies the LT predicate on the "x" field.

func XLTE

func XLTE(v float64) predicate.DeviceKpi

XLTE applies the LTE predicate on the "x" field.

func XNEQ

func XNEQ(v float64) predicate.DeviceKpi

XNEQ applies the NEQ predicate on the "x" field.

func XNotIn

func XNotIn(vs ...float64) predicate.DeviceKpi

XNotIn applies the NotIn predicate on the "x" field.

func XNotNil

func XNotNil() predicate.DeviceKpi

XNotNil applies the NotNil predicate on the "x" field.

func Y

Y applies equality check predicate on the "y" field. It's identical to YEQ.

func YEQ

YEQ applies the EQ predicate on the "y" field.

func YGT

YGT applies the GT predicate on the "y" field.

func YGTE

func YGTE(v float64) predicate.DeviceKpi

YGTE applies the GTE predicate on the "y" field.

func YIn

func YIn(vs ...float64) predicate.DeviceKpi

YIn applies the In predicate on the "y" field.

func YIsNil

func YIsNil() predicate.DeviceKpi

YIsNil applies the IsNil predicate on the "y" field.

func YLT

YLT applies the LT predicate on the "y" field.

func YLTE

func YLTE(v float64) predicate.DeviceKpi

YLTE applies the LTE predicate on the "y" field.

func YNEQ

func YNEQ(v float64) predicate.DeviceKpi

YNEQ applies the NEQ predicate on the "y" field.

func YNotIn

func YNotIn(vs ...float64) predicate.DeviceKpi

YNotIn applies the NotIn predicate on the "y" field.

func YNotNil

func YNotNil() predicate.DeviceKpi

YNotNil applies the NotNil predicate on the "y" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the DeviceKpi queries.

func ByA

func ByA(opts ...sql.OrderTermOption) OrderOption

ByA orders the results by the a field.

func ByB

func ByB(opts ...sql.OrderTermOption) OrderOption

ByB orders the results by the b field.

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.

func ByX

func ByX(opts ...sql.OrderTermOption) OrderOption

ByX orders the results by the x field.

func ByY

func ByY(opts ...sql.OrderTermOption) OrderOption

ByY orders the results by the y field.

Jump to

Keyboard shortcuts

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