2 Star 0 Fork 0

广东宇凌网络科技有限公司/simple-iot-data-rpc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
where.go 38.58 KB
一键复制 编辑 原始数据 按行查看 历史
HienGee 提交于 2024-04-26 11:27 . init
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955
// 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))
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/yuLingNet/simple-iot-data-rpc.git
git@gitee.com:yuLingNet/simple-iot-data-rpc.git
yuLingNet
simple-iot-data-rpc
simple-iot-data-rpc
ba56b63cb355

搜索帮助