代码拉取完成,页面将自动刷新
// Code generated by ent, DO NOT EDIT.
package deviceupsterstatistics
import (
"time"
"entgo.io/ent/dialect/sql"
"gitee.com/yuLingNet/simple-iot-data-rpc/ent/predicate"
)
// ID filters vertices based on their ID field.
func ID(id uint64) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldID, id))
}
// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id uint64) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldID, id))
}
// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id uint64) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldID, id))
}
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...uint64) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldID, ids...))
}
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...uint64) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldID, ids...))
}
// IDGT applies the GT predicate on the ID field.
func IDGT(id uint64) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldID, id))
}
// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id uint64) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldID, id))
}
// IDLT applies the LT predicate on the ID field.
func IDLT(id uint64) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldID, id))
}
// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id uint64) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldID, id))
}
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAt(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldCreatedAt, v))
}
// UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAt(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldUpdatedAt, v))
}
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func Status(v uint8) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldStatus, v))
}
// Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.
func Sort(v uint32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldSort, v))
}
// IotID applies equality check predicate on the "iotID" field. It's identical to IotIDEQ.
func IotID(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldIotID, v))
}
// DeviceName applies equality check predicate on the "deviceName" field. It's identical to DeviceNameEQ.
func DeviceName(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldDeviceName, v))
}
// ProductKey applies equality check predicate on the "productKey" field. It's identical to ProductKeyEQ.
func ProductKey(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldProductKey, v))
}
// Date applies equality check predicate on the "date" field. It's identical to DateEQ.
func Date(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldDate, v))
}
// Timestamp applies equality check predicate on the "timestamp" field. It's identical to TimestampEQ.
func Timestamp(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldTimestamp, v))
}
// Number1 applies equality check predicate on the "number1" field. It's identical to Number1EQ.
func Number1(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldNumber1, v))
}
// Number2 applies equality check predicate on the "number2" field. It's identical to Number2EQ.
func Number2(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldNumber2, v))
}
// Number3 applies equality check predicate on the "number3" field. It's identical to Number3EQ.
func Number3(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldNumber3, v))
}
// NumberCycles applies equality check predicate on the "numberCycles" field. It's identical to NumberCyclesEQ.
func NumberCycles(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldNumberCycles, v))
}
// Hours applies equality check predicate on the "hours" field. It's identical to HoursEQ.
func Hours(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldHours, v))
}
// Initialize applies equality check predicate on the "initialize" field. It's identical to InitializeEQ.
func Initialize(v bool) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldInitialize, v))
}
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldCreatedAt, v))
}
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldCreatedAt, v))
}
// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldCreatedAt, vs...))
}
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldCreatedAt, vs...))
}
// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldCreatedAt, v))
}
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldCreatedAt, v))
}
// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldCreatedAt, v))
}
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldCreatedAt, v))
}
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldUpdatedAt, v))
}
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldUpdatedAt, v))
}
// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldUpdatedAt, vs...))
}
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldUpdatedAt, vs...))
}
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldUpdatedAt, v))
}
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldUpdatedAt, v))
}
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldUpdatedAt, v))
}
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v time.Time) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldUpdatedAt, v))
}
// StatusEQ applies the EQ predicate on the "status" field.
func StatusEQ(v uint8) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldStatus, v))
}
// StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNEQ(v uint8) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldStatus, v))
}
// StatusIn applies the In predicate on the "status" field.
func StatusIn(vs ...uint8) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldStatus, vs...))
}
// StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotIn(vs ...uint8) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldStatus, vs...))
}
// StatusGT applies the GT predicate on the "status" field.
func StatusGT(v uint8) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldStatus, v))
}
// StatusGTE applies the GTE predicate on the "status" field.
func StatusGTE(v uint8) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldStatus, v))
}
// StatusLT applies the LT predicate on the "status" field.
func StatusLT(v uint8) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldStatus, v))
}
// StatusLTE applies the LTE predicate on the "status" field.
func StatusLTE(v uint8) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldStatus, v))
}
// StatusIsNil applies the IsNil predicate on the "status" field.
func StatusIsNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIsNull(FieldStatus))
}
// StatusNotNil applies the NotNil predicate on the "status" field.
func StatusNotNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotNull(FieldStatus))
}
// SortEQ applies the EQ predicate on the "sort" field.
func SortEQ(v uint32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldSort, v))
}
// SortNEQ applies the NEQ predicate on the "sort" field.
func SortNEQ(v uint32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldSort, v))
}
// SortIn applies the In predicate on the "sort" field.
func SortIn(vs ...uint32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldSort, vs...))
}
// SortNotIn applies the NotIn predicate on the "sort" field.
func SortNotIn(vs ...uint32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldSort, vs...))
}
// SortGT applies the GT predicate on the "sort" field.
func SortGT(v uint32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldSort, v))
}
// SortGTE applies the GTE predicate on the "sort" field.
func SortGTE(v uint32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldSort, v))
}
// SortLT applies the LT predicate on the "sort" field.
func SortLT(v uint32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldSort, v))
}
// SortLTE applies the LTE predicate on the "sort" field.
func SortLTE(v uint32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldSort, v))
}
// IotIDEQ applies the EQ predicate on the "iotID" field.
func IotIDEQ(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldIotID, v))
}
// IotIDNEQ applies the NEQ predicate on the "iotID" field.
func IotIDNEQ(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldIotID, v))
}
// IotIDIn applies the In predicate on the "iotID" field.
func IotIDIn(vs ...string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldIotID, vs...))
}
// IotIDNotIn applies the NotIn predicate on the "iotID" field.
func IotIDNotIn(vs ...string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldIotID, vs...))
}
// IotIDGT applies the GT predicate on the "iotID" field.
func IotIDGT(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldIotID, v))
}
// IotIDGTE applies the GTE predicate on the "iotID" field.
func IotIDGTE(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldIotID, v))
}
// IotIDLT applies the LT predicate on the "iotID" field.
func IotIDLT(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldIotID, v))
}
// IotIDLTE applies the LTE predicate on the "iotID" field.
func IotIDLTE(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldIotID, v))
}
// IotIDContains applies the Contains predicate on the "iotID" field.
func IotIDContains(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldContains(FieldIotID, v))
}
// IotIDHasPrefix applies the HasPrefix predicate on the "iotID" field.
func IotIDHasPrefix(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldHasPrefix(FieldIotID, v))
}
// IotIDHasSuffix applies the HasSuffix predicate on the "iotID" field.
func IotIDHasSuffix(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldHasSuffix(FieldIotID, v))
}
// IotIDEqualFold applies the EqualFold predicate on the "iotID" field.
func IotIDEqualFold(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEqualFold(FieldIotID, v))
}
// IotIDContainsFold applies the ContainsFold predicate on the "iotID" field.
func IotIDContainsFold(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldContainsFold(FieldIotID, v))
}
// DeviceNameEQ applies the EQ predicate on the "deviceName" field.
func DeviceNameEQ(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldDeviceName, v))
}
// DeviceNameNEQ applies the NEQ predicate on the "deviceName" field.
func DeviceNameNEQ(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldDeviceName, v))
}
// DeviceNameIn applies the In predicate on the "deviceName" field.
func DeviceNameIn(vs ...string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldDeviceName, vs...))
}
// DeviceNameNotIn applies the NotIn predicate on the "deviceName" field.
func DeviceNameNotIn(vs ...string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldDeviceName, vs...))
}
// DeviceNameGT applies the GT predicate on the "deviceName" field.
func DeviceNameGT(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldDeviceName, v))
}
// DeviceNameGTE applies the GTE predicate on the "deviceName" field.
func DeviceNameGTE(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldDeviceName, v))
}
// DeviceNameLT applies the LT predicate on the "deviceName" field.
func DeviceNameLT(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldDeviceName, v))
}
// DeviceNameLTE applies the LTE predicate on the "deviceName" field.
func DeviceNameLTE(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldDeviceName, v))
}
// DeviceNameContains applies the Contains predicate on the "deviceName" field.
func DeviceNameContains(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldContains(FieldDeviceName, v))
}
// DeviceNameHasPrefix applies the HasPrefix predicate on the "deviceName" field.
func DeviceNameHasPrefix(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldHasPrefix(FieldDeviceName, v))
}
// DeviceNameHasSuffix applies the HasSuffix predicate on the "deviceName" field.
func DeviceNameHasSuffix(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldHasSuffix(FieldDeviceName, v))
}
// DeviceNameEqualFold applies the EqualFold predicate on the "deviceName" field.
func DeviceNameEqualFold(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEqualFold(FieldDeviceName, v))
}
// DeviceNameContainsFold applies the ContainsFold predicate on the "deviceName" field.
func DeviceNameContainsFold(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldContainsFold(FieldDeviceName, v))
}
// ProductKeyEQ applies the EQ predicate on the "productKey" field.
func ProductKeyEQ(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldProductKey, v))
}
// ProductKeyNEQ applies the NEQ predicate on the "productKey" field.
func ProductKeyNEQ(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldProductKey, v))
}
// ProductKeyIn applies the In predicate on the "productKey" field.
func ProductKeyIn(vs ...string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldProductKey, vs...))
}
// ProductKeyNotIn applies the NotIn predicate on the "productKey" field.
func ProductKeyNotIn(vs ...string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldProductKey, vs...))
}
// ProductKeyGT applies the GT predicate on the "productKey" field.
func ProductKeyGT(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldProductKey, v))
}
// ProductKeyGTE applies the GTE predicate on the "productKey" field.
func ProductKeyGTE(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldProductKey, v))
}
// ProductKeyLT applies the LT predicate on the "productKey" field.
func ProductKeyLT(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldProductKey, v))
}
// ProductKeyLTE applies the LTE predicate on the "productKey" field.
func ProductKeyLTE(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldProductKey, v))
}
// ProductKeyContains applies the Contains predicate on the "productKey" field.
func ProductKeyContains(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldContains(FieldProductKey, v))
}
// ProductKeyHasPrefix applies the HasPrefix predicate on the "productKey" field.
func ProductKeyHasPrefix(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldHasPrefix(FieldProductKey, v))
}
// ProductKeyHasSuffix applies the HasSuffix predicate on the "productKey" field.
func ProductKeyHasSuffix(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldHasSuffix(FieldProductKey, v))
}
// ProductKeyEqualFold applies the EqualFold predicate on the "productKey" field.
func ProductKeyEqualFold(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEqualFold(FieldProductKey, v))
}
// ProductKeyContainsFold applies the ContainsFold predicate on the "productKey" field.
func ProductKeyContainsFold(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldContainsFold(FieldProductKey, v))
}
// DateEQ applies the EQ predicate on the "date" field.
func DateEQ(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldDate, v))
}
// DateNEQ applies the NEQ predicate on the "date" field.
func DateNEQ(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldDate, v))
}
// DateIn applies the In predicate on the "date" field.
func DateIn(vs ...string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldDate, vs...))
}
// DateNotIn applies the NotIn predicate on the "date" field.
func DateNotIn(vs ...string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldDate, vs...))
}
// DateGT applies the GT predicate on the "date" field.
func DateGT(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldDate, v))
}
// DateGTE applies the GTE predicate on the "date" field.
func DateGTE(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldDate, v))
}
// DateLT applies the LT predicate on the "date" field.
func DateLT(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldDate, v))
}
// DateLTE applies the LTE predicate on the "date" field.
func DateLTE(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldDate, v))
}
// DateContains applies the Contains predicate on the "date" field.
func DateContains(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldContains(FieldDate, v))
}
// DateHasPrefix applies the HasPrefix predicate on the "date" field.
func DateHasPrefix(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldHasPrefix(FieldDate, v))
}
// DateHasSuffix applies the HasSuffix predicate on the "date" field.
func DateHasSuffix(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldHasSuffix(FieldDate, v))
}
// DateIsNil applies the IsNil predicate on the "date" field.
func DateIsNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIsNull(FieldDate))
}
// DateNotNil applies the NotNil predicate on the "date" field.
func DateNotNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotNull(FieldDate))
}
// DateEqualFold applies the EqualFold predicate on the "date" field.
func DateEqualFold(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEqualFold(FieldDate, v))
}
// DateContainsFold applies the ContainsFold predicate on the "date" field.
func DateContainsFold(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldContainsFold(FieldDate, v))
}
// TimestampEQ applies the EQ predicate on the "timestamp" field.
func TimestampEQ(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldTimestamp, v))
}
// TimestampNEQ applies the NEQ predicate on the "timestamp" field.
func TimestampNEQ(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldTimestamp, v))
}
// TimestampIn applies the In predicate on the "timestamp" field.
func TimestampIn(vs ...string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldTimestamp, vs...))
}
// TimestampNotIn applies the NotIn predicate on the "timestamp" field.
func TimestampNotIn(vs ...string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldTimestamp, vs...))
}
// TimestampGT applies the GT predicate on the "timestamp" field.
func TimestampGT(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldTimestamp, v))
}
// TimestampGTE applies the GTE predicate on the "timestamp" field.
func TimestampGTE(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldTimestamp, v))
}
// TimestampLT applies the LT predicate on the "timestamp" field.
func TimestampLT(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldTimestamp, v))
}
// TimestampLTE applies the LTE predicate on the "timestamp" field.
func TimestampLTE(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldTimestamp, v))
}
// TimestampContains applies the Contains predicate on the "timestamp" field.
func TimestampContains(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldContains(FieldTimestamp, v))
}
// TimestampHasPrefix applies the HasPrefix predicate on the "timestamp" field.
func TimestampHasPrefix(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldHasPrefix(FieldTimestamp, v))
}
// TimestampHasSuffix applies the HasSuffix predicate on the "timestamp" field.
func TimestampHasSuffix(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldHasSuffix(FieldTimestamp, v))
}
// TimestampIsNil applies the IsNil predicate on the "timestamp" field.
func TimestampIsNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIsNull(FieldTimestamp))
}
// TimestampNotNil applies the NotNil predicate on the "timestamp" field.
func TimestampNotNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotNull(FieldTimestamp))
}
// TimestampEqualFold applies the EqualFold predicate on the "timestamp" field.
func TimestampEqualFold(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEqualFold(FieldTimestamp, v))
}
// TimestampContainsFold applies the ContainsFold predicate on the "timestamp" field.
func TimestampContainsFold(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldContainsFold(FieldTimestamp, v))
}
// Number1EQ applies the EQ predicate on the "number1" field.
func Number1EQ(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldNumber1, v))
}
// Number1NEQ applies the NEQ predicate on the "number1" field.
func Number1NEQ(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldNumber1, v))
}
// Number1In applies the In predicate on the "number1" field.
func Number1In(vs ...int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldNumber1, vs...))
}
// Number1NotIn applies the NotIn predicate on the "number1" field.
func Number1NotIn(vs ...int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldNumber1, vs...))
}
// Number1GT applies the GT predicate on the "number1" field.
func Number1GT(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldNumber1, v))
}
// Number1GTE applies the GTE predicate on the "number1" field.
func Number1GTE(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldNumber1, v))
}
// Number1LT applies the LT predicate on the "number1" field.
func Number1LT(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldNumber1, v))
}
// Number1LTE applies the LTE predicate on the "number1" field.
func Number1LTE(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldNumber1, v))
}
// Number1IsNil applies the IsNil predicate on the "number1" field.
func Number1IsNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIsNull(FieldNumber1))
}
// Number1NotNil applies the NotNil predicate on the "number1" field.
func Number1NotNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotNull(FieldNumber1))
}
// Number2EQ applies the EQ predicate on the "number2" field.
func Number2EQ(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldNumber2, v))
}
// Number2NEQ applies the NEQ predicate on the "number2" field.
func Number2NEQ(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldNumber2, v))
}
// Number2In applies the In predicate on the "number2" field.
func Number2In(vs ...int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldNumber2, vs...))
}
// Number2NotIn applies the NotIn predicate on the "number2" field.
func Number2NotIn(vs ...int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldNumber2, vs...))
}
// Number2GT applies the GT predicate on the "number2" field.
func Number2GT(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldNumber2, v))
}
// Number2GTE applies the GTE predicate on the "number2" field.
func Number2GTE(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldNumber2, v))
}
// Number2LT applies the LT predicate on the "number2" field.
func Number2LT(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldNumber2, v))
}
// Number2LTE applies the LTE predicate on the "number2" field.
func Number2LTE(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldNumber2, v))
}
// Number2IsNil applies the IsNil predicate on the "number2" field.
func Number2IsNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIsNull(FieldNumber2))
}
// Number2NotNil applies the NotNil predicate on the "number2" field.
func Number2NotNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotNull(FieldNumber2))
}
// Number3EQ applies the EQ predicate on the "number3" field.
func Number3EQ(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldNumber3, v))
}
// Number3NEQ applies the NEQ predicate on the "number3" field.
func Number3NEQ(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldNumber3, v))
}
// Number3In applies the In predicate on the "number3" field.
func Number3In(vs ...int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldNumber3, vs...))
}
// Number3NotIn applies the NotIn predicate on the "number3" field.
func Number3NotIn(vs ...int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldNumber3, vs...))
}
// Number3GT applies the GT predicate on the "number3" field.
func Number3GT(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldNumber3, v))
}
// Number3GTE applies the GTE predicate on the "number3" field.
func Number3GTE(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldNumber3, v))
}
// Number3LT applies the LT predicate on the "number3" field.
func Number3LT(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldNumber3, v))
}
// Number3LTE applies the LTE predicate on the "number3" field.
func Number3LTE(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldNumber3, v))
}
// Number3IsNil applies the IsNil predicate on the "number3" field.
func Number3IsNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIsNull(FieldNumber3))
}
// Number3NotNil applies the NotNil predicate on the "number3" field.
func Number3NotNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotNull(FieldNumber3))
}
// NumberCyclesEQ applies the EQ predicate on the "numberCycles" field.
func NumberCyclesEQ(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldNumberCycles, v))
}
// NumberCyclesNEQ applies the NEQ predicate on the "numberCycles" field.
func NumberCyclesNEQ(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldNumberCycles, v))
}
// NumberCyclesIn applies the In predicate on the "numberCycles" field.
func NumberCyclesIn(vs ...int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldNumberCycles, vs...))
}
// NumberCyclesNotIn applies the NotIn predicate on the "numberCycles" field.
func NumberCyclesNotIn(vs ...int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldNumberCycles, vs...))
}
// NumberCyclesGT applies the GT predicate on the "numberCycles" field.
func NumberCyclesGT(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldNumberCycles, v))
}
// NumberCyclesGTE applies the GTE predicate on the "numberCycles" field.
func NumberCyclesGTE(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldNumberCycles, v))
}
// NumberCyclesLT applies the LT predicate on the "numberCycles" field.
func NumberCyclesLT(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldNumberCycles, v))
}
// NumberCyclesLTE applies the LTE predicate on the "numberCycles" field.
func NumberCyclesLTE(v int32) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldNumberCycles, v))
}
// NumberCyclesIsNil applies the IsNil predicate on the "numberCycles" field.
func NumberCyclesIsNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIsNull(FieldNumberCycles))
}
// NumberCyclesNotNil applies the NotNil predicate on the "numberCycles" field.
func NumberCyclesNotNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotNull(FieldNumberCycles))
}
// HoursEQ applies the EQ predicate on the "hours" field.
func HoursEQ(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldHours, v))
}
// HoursNEQ applies the NEQ predicate on the "hours" field.
func HoursNEQ(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldHours, v))
}
// HoursIn applies the In predicate on the "hours" field.
func HoursIn(vs ...string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIn(FieldHours, vs...))
}
// HoursNotIn applies the NotIn predicate on the "hours" field.
func HoursNotIn(vs ...string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotIn(FieldHours, vs...))
}
// HoursGT applies the GT predicate on the "hours" field.
func HoursGT(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGT(FieldHours, v))
}
// HoursGTE applies the GTE predicate on the "hours" field.
func HoursGTE(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldGTE(FieldHours, v))
}
// HoursLT applies the LT predicate on the "hours" field.
func HoursLT(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLT(FieldHours, v))
}
// HoursLTE applies the LTE predicate on the "hours" field.
func HoursLTE(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldLTE(FieldHours, v))
}
// HoursContains applies the Contains predicate on the "hours" field.
func HoursContains(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldContains(FieldHours, v))
}
// HoursHasPrefix applies the HasPrefix predicate on the "hours" field.
func HoursHasPrefix(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldHasPrefix(FieldHours, v))
}
// HoursHasSuffix applies the HasSuffix predicate on the "hours" field.
func HoursHasSuffix(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldHasSuffix(FieldHours, v))
}
// HoursIsNil applies the IsNil predicate on the "hours" field.
func HoursIsNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIsNull(FieldHours))
}
// HoursNotNil applies the NotNil predicate on the "hours" field.
func HoursNotNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotNull(FieldHours))
}
// HoursEqualFold applies the EqualFold predicate on the "hours" field.
func HoursEqualFold(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEqualFold(FieldHours, v))
}
// HoursContainsFold applies the ContainsFold predicate on the "hours" field.
func HoursContainsFold(v string) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldContainsFold(FieldHours, v))
}
// InitializeEQ applies the EQ predicate on the "initialize" field.
func InitializeEQ(v bool) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldEQ(FieldInitialize, v))
}
// InitializeNEQ applies the NEQ predicate on the "initialize" field.
func InitializeNEQ(v bool) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNEQ(FieldInitialize, v))
}
// InitializeIsNil applies the IsNil predicate on the "initialize" field.
func InitializeIsNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldIsNull(FieldInitialize))
}
// InitializeNotNil applies the NotNil predicate on the "initialize" field.
func InitializeNotNil() predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.FieldNotNull(FieldInitialize))
}
// And groups predicates with the AND operator between them.
func And(predicates ...predicate.DeviceUpsterStatistics) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.AndPredicates(predicates...))
}
// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.DeviceUpsterStatistics) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.OrPredicates(predicates...))
}
// Not applies the not operator on the given predicate.
func Not(p predicate.DeviceUpsterStatistics) predicate.DeviceUpsterStatistics {
return predicate.DeviceUpsterStatistics(sql.NotPredicates(p))
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。