Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DeviceOnTimeDaily) predicate.DeviceOnTimeDaily
- func CreatedAt(v time.Time) predicate.DeviceOnTimeDaily
- func CreatedAtEQ(v time.Time) predicate.DeviceOnTimeDaily
- func CreatedAtGT(v time.Time) predicate.DeviceOnTimeDaily
- func CreatedAtGTE(v time.Time) predicate.DeviceOnTimeDaily
- func CreatedAtIn(vs ...time.Time) predicate.DeviceOnTimeDaily
- func CreatedAtLT(v time.Time) predicate.DeviceOnTimeDaily
- func CreatedAtLTE(v time.Time) predicate.DeviceOnTimeDaily
- func CreatedAtNEQ(v time.Time) predicate.DeviceOnTimeDaily
- func CreatedAtNotIn(vs ...time.Time) predicate.DeviceOnTimeDaily
- func DeviceName(v string) predicate.DeviceOnTimeDaily
- func DeviceNameContains(v string) predicate.DeviceOnTimeDaily
- func DeviceNameContainsFold(v string) predicate.DeviceOnTimeDaily
- func DeviceNameEQ(v string) predicate.DeviceOnTimeDaily
- func DeviceNameEqualFold(v string) predicate.DeviceOnTimeDaily
- func DeviceNameGT(v string) predicate.DeviceOnTimeDaily
- func DeviceNameGTE(v string) predicate.DeviceOnTimeDaily
- func DeviceNameHasPrefix(v string) predicate.DeviceOnTimeDaily
- func DeviceNameHasSuffix(v string) predicate.DeviceOnTimeDaily
- func DeviceNameIn(vs ...string) predicate.DeviceOnTimeDaily
- func DeviceNameLT(v string) predicate.DeviceOnTimeDaily
- func DeviceNameLTE(v string) predicate.DeviceOnTimeDaily
- func DeviceNameNEQ(v string) predicate.DeviceOnTimeDaily
- func DeviceNameNotIn(vs ...string) predicate.DeviceOnTimeDaily
- func ID(id uint64) predicate.DeviceOnTimeDaily
- func IDEQ(id uint64) predicate.DeviceOnTimeDaily
- func IDGT(id uint64) predicate.DeviceOnTimeDaily
- func IDGTE(id uint64) predicate.DeviceOnTimeDaily
- func IDIn(ids ...uint64) predicate.DeviceOnTimeDaily
- func IDLT(id uint64) predicate.DeviceOnTimeDaily
- func IDLTE(id uint64) predicate.DeviceOnTimeDaily
- func IDNEQ(id uint64) predicate.DeviceOnTimeDaily
- func IDNotIn(ids ...uint64) predicate.DeviceOnTimeDaily
- func IotID(v string) predicate.DeviceOnTimeDaily
- func IotIDContains(v string) predicate.DeviceOnTimeDaily
- func IotIDContainsFold(v string) predicate.DeviceOnTimeDaily
- func IotIDEQ(v string) predicate.DeviceOnTimeDaily
- func IotIDEqualFold(v string) predicate.DeviceOnTimeDaily
- func IotIDGT(v string) predicate.DeviceOnTimeDaily
- func IotIDGTE(v string) predicate.DeviceOnTimeDaily
- func IotIDHasPrefix(v string) predicate.DeviceOnTimeDaily
- func IotIDHasSuffix(v string) predicate.DeviceOnTimeDaily
- func IotIDIn(vs ...string) predicate.DeviceOnTimeDaily
- func IotIDLT(v string) predicate.DeviceOnTimeDaily
- func IotIDLTE(v string) predicate.DeviceOnTimeDaily
- func IotIDNEQ(v string) predicate.DeviceOnTimeDaily
- func IotIDNotIn(vs ...string) predicate.DeviceOnTimeDaily
- func Not(p predicate.DeviceOnTimeDaily) predicate.DeviceOnTimeDaily
- func Or(predicates ...predicate.DeviceOnTimeDaily) predicate.DeviceOnTimeDaily
- func ProductKey(v string) predicate.DeviceOnTimeDaily
- func ProductKeyContains(v string) predicate.DeviceOnTimeDaily
- func ProductKeyContainsFold(v string) predicate.DeviceOnTimeDaily
- func ProductKeyEQ(v string) predicate.DeviceOnTimeDaily
- func ProductKeyEqualFold(v string) predicate.DeviceOnTimeDaily
- func ProductKeyGT(v string) predicate.DeviceOnTimeDaily
- func ProductKeyGTE(v string) predicate.DeviceOnTimeDaily
- func ProductKeyHasPrefix(v string) predicate.DeviceOnTimeDaily
- func ProductKeyHasSuffix(v string) predicate.DeviceOnTimeDaily
- func ProductKeyIn(vs ...string) predicate.DeviceOnTimeDaily
- func ProductKeyLT(v string) predicate.DeviceOnTimeDaily
- func ProductKeyLTE(v string) predicate.DeviceOnTimeDaily
- func ProductKeyNEQ(v string) predicate.DeviceOnTimeDaily
- func ProductKeyNotIn(vs ...string) predicate.DeviceOnTimeDaily
- func Sort(v uint32) predicate.DeviceOnTimeDaily
- func SortEQ(v uint32) predicate.DeviceOnTimeDaily
- func SortGT(v uint32) predicate.DeviceOnTimeDaily
- func SortGTE(v uint32) predicate.DeviceOnTimeDaily
- func SortIn(vs ...uint32) predicate.DeviceOnTimeDaily
- func SortLT(v uint32) predicate.DeviceOnTimeDaily
- func SortLTE(v uint32) predicate.DeviceOnTimeDaily
- func SortNEQ(v uint32) predicate.DeviceOnTimeDaily
- func SortNotIn(vs ...uint32) predicate.DeviceOnTimeDaily
- func Status(v uint8) predicate.DeviceOnTimeDaily
- func StatusEQ(v uint8) predicate.DeviceOnTimeDaily
- func StatusGT(v uint8) predicate.DeviceOnTimeDaily
- func StatusGTE(v uint8) predicate.DeviceOnTimeDaily
- func StatusIn(vs ...uint8) predicate.DeviceOnTimeDaily
- func StatusIsNil() predicate.DeviceOnTimeDaily
- func StatusLT(v uint8) predicate.DeviceOnTimeDaily
- func StatusLTE(v uint8) predicate.DeviceOnTimeDaily
- func StatusNEQ(v uint8) predicate.DeviceOnTimeDaily
- func StatusNotIn(vs ...uint8) predicate.DeviceOnTimeDaily
- func StatusNotNil() predicate.DeviceOnTimeDaily
- func Time(v string) predicate.DeviceOnTimeDaily
- func TimeContains(v string) predicate.DeviceOnTimeDaily
- func TimeContainsFold(v string) predicate.DeviceOnTimeDaily
- func TimeEQ(v string) predicate.DeviceOnTimeDaily
- func TimeEqualFold(v string) predicate.DeviceOnTimeDaily
- func TimeGT(v string) predicate.DeviceOnTimeDaily
- func TimeGTE(v string) predicate.DeviceOnTimeDaily
- func TimeHasPrefix(v string) predicate.DeviceOnTimeDaily
- func TimeHasSuffix(v string) predicate.DeviceOnTimeDaily
- func TimeIn(vs ...string) predicate.DeviceOnTimeDaily
- func TimeIsNil() predicate.DeviceOnTimeDaily
- func TimeLT(v string) predicate.DeviceOnTimeDaily
- func TimeLTE(v string) predicate.DeviceOnTimeDaily
- func TimeNEQ(v string) predicate.DeviceOnTimeDaily
- func TimeNotIn(vs ...string) predicate.DeviceOnTimeDaily
- func TimeNotNil() predicate.DeviceOnTimeDaily
- func UpdatedAt(v time.Time) predicate.DeviceOnTimeDaily
- func UpdatedAtEQ(v time.Time) predicate.DeviceOnTimeDaily
- func UpdatedAtGT(v time.Time) predicate.DeviceOnTimeDaily
- func UpdatedAtGTE(v time.Time) predicate.DeviceOnTimeDaily
- func UpdatedAtIn(vs ...time.Time) predicate.DeviceOnTimeDaily
- func UpdatedAtLT(v time.Time) predicate.DeviceOnTimeDaily
- func UpdatedAtLTE(v time.Time) predicate.DeviceOnTimeDaily
- func UpdatedAtNEQ(v time.Time) predicate.DeviceOnTimeDaily
- func UpdatedAtNotIn(vs ...time.Time) predicate.DeviceOnTimeDaily
- func ValidColumn(column string) bool
- func Value(v string) predicate.DeviceOnTimeDaily
- func ValueContains(v string) predicate.DeviceOnTimeDaily
- func ValueContainsFold(v string) predicate.DeviceOnTimeDaily
- func ValueEQ(v string) predicate.DeviceOnTimeDaily
- func ValueEqualFold(v string) predicate.DeviceOnTimeDaily
- func ValueGT(v string) predicate.DeviceOnTimeDaily
- func ValueGTE(v string) predicate.DeviceOnTimeDaily
- func ValueHasPrefix(v string) predicate.DeviceOnTimeDaily
- func ValueHasSuffix(v string) predicate.DeviceOnTimeDaily
- func ValueIn(vs ...string) predicate.DeviceOnTimeDaily
- func ValueIsNil() predicate.DeviceOnTimeDaily
- func ValueLT(v string) predicate.DeviceOnTimeDaily
- func ValueLTE(v string) predicate.DeviceOnTimeDaily
- func ValueNEQ(v string) predicate.DeviceOnTimeDaily
- func ValueNotIn(vs ...string) predicate.DeviceOnTimeDaily
- func ValueNotNil() predicate.DeviceOnTimeDaily
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeviceName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIotID(opts ...sql.OrderTermOption) OrderOption
- func ByProductKey(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTime(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByValue(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the deviceontimedaily type in the database. Label = "device_on_time_daily" // 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" // FieldTime holds the string denoting the time field in the database. FieldTime = "time" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // Table holds the table name of the deviceontimedaily in the database. Table = "thing_device_on_time_daily" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus uint8 // DefaultSort holds the default value on creation for the "sort" field. DefaultSort uint32 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldStatus, FieldSort, FieldIotID, FieldDeviceName, FieldProductKey, FieldTime, FieldValue, }
Columns holds all SQL columns for deviceontimedaily fields.
Functions ¶
func And ¶
func And(predicates ...predicate.DeviceOnTimeDaily) predicate.DeviceOnTimeDaily
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.DeviceOnTimeDaily
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.DeviceOnTimeDaily
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.DeviceOnTimeDaily
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.DeviceOnTimeDaily
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.DeviceOnTimeDaily
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.DeviceOnTimeDaily
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.DeviceOnTimeDaily
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.DeviceOnTimeDaily
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.DeviceOnTimeDaily
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeviceName ¶
func DeviceName(v string) predicate.DeviceOnTimeDaily
DeviceName applies equality check predicate on the "deviceName" field. It's identical to DeviceNameEQ.
func DeviceNameContains ¶
func DeviceNameContains(v string) predicate.DeviceOnTimeDaily
DeviceNameContains applies the Contains predicate on the "deviceName" field.
func DeviceNameContainsFold ¶
func DeviceNameContainsFold(v string) predicate.DeviceOnTimeDaily
DeviceNameContainsFold applies the ContainsFold predicate on the "deviceName" field.
func DeviceNameEQ ¶
func DeviceNameEQ(v string) predicate.DeviceOnTimeDaily
DeviceNameEQ applies the EQ predicate on the "deviceName" field.
func DeviceNameEqualFold ¶
func DeviceNameEqualFold(v string) predicate.DeviceOnTimeDaily
DeviceNameEqualFold applies the EqualFold predicate on the "deviceName" field.
func DeviceNameGT ¶
func DeviceNameGT(v string) predicate.DeviceOnTimeDaily
DeviceNameGT applies the GT predicate on the "deviceName" field.
func DeviceNameGTE ¶
func DeviceNameGTE(v string) predicate.DeviceOnTimeDaily
DeviceNameGTE applies the GTE predicate on the "deviceName" field.
func DeviceNameHasPrefix ¶
func DeviceNameHasPrefix(v string) predicate.DeviceOnTimeDaily
DeviceNameHasPrefix applies the HasPrefix predicate on the "deviceName" field.
func DeviceNameHasSuffix ¶
func DeviceNameHasSuffix(v string) predicate.DeviceOnTimeDaily
DeviceNameHasSuffix applies the HasSuffix predicate on the "deviceName" field.
func DeviceNameIn ¶
func DeviceNameIn(vs ...string) predicate.DeviceOnTimeDaily
DeviceNameIn applies the In predicate on the "deviceName" field.
func DeviceNameLT ¶
func DeviceNameLT(v string) predicate.DeviceOnTimeDaily
DeviceNameLT applies the LT predicate on the "deviceName" field.
func DeviceNameLTE ¶
func DeviceNameLTE(v string) predicate.DeviceOnTimeDaily
DeviceNameLTE applies the LTE predicate on the "deviceName" field.
func DeviceNameNEQ ¶
func DeviceNameNEQ(v string) predicate.DeviceOnTimeDaily
DeviceNameNEQ applies the NEQ predicate on the "deviceName" field.
func DeviceNameNotIn ¶
func DeviceNameNotIn(vs ...string) predicate.DeviceOnTimeDaily
DeviceNameNotIn applies the NotIn predicate on the "deviceName" field.
func ID ¶
func ID(id uint64) predicate.DeviceOnTimeDaily
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uint64) predicate.DeviceOnTimeDaily
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint64) predicate.DeviceOnTimeDaily
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint64) predicate.DeviceOnTimeDaily
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint64) predicate.DeviceOnTimeDaily
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint64) predicate.DeviceOnTimeDaily
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint64) predicate.DeviceOnTimeDaily
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint64) predicate.DeviceOnTimeDaily
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint64) predicate.DeviceOnTimeDaily
IDNotIn applies the NotIn predicate on the ID field.
func IotID ¶
func IotID(v string) predicate.DeviceOnTimeDaily
IotID applies equality check predicate on the "iotID" field. It's identical to IotIDEQ.
func IotIDContains ¶
func IotIDContains(v string) predicate.DeviceOnTimeDaily
IotIDContains applies the Contains predicate on the "iotID" field.
func IotIDContainsFold ¶
func IotIDContainsFold(v string) predicate.DeviceOnTimeDaily
IotIDContainsFold applies the ContainsFold predicate on the "iotID" field.
func IotIDEQ ¶
func IotIDEQ(v string) predicate.DeviceOnTimeDaily
IotIDEQ applies the EQ predicate on the "iotID" field.
func IotIDEqualFold ¶
func IotIDEqualFold(v string) predicate.DeviceOnTimeDaily
IotIDEqualFold applies the EqualFold predicate on the "iotID" field.
func IotIDGT ¶
func IotIDGT(v string) predicate.DeviceOnTimeDaily
IotIDGT applies the GT predicate on the "iotID" field.
func IotIDGTE ¶
func IotIDGTE(v string) predicate.DeviceOnTimeDaily
IotIDGTE applies the GTE predicate on the "iotID" field.
func IotIDHasPrefix ¶
func IotIDHasPrefix(v string) predicate.DeviceOnTimeDaily
IotIDHasPrefix applies the HasPrefix predicate on the "iotID" field.
func IotIDHasSuffix ¶
func IotIDHasSuffix(v string) predicate.DeviceOnTimeDaily
IotIDHasSuffix applies the HasSuffix predicate on the "iotID" field.
func IotIDIn ¶
func IotIDIn(vs ...string) predicate.DeviceOnTimeDaily
IotIDIn applies the In predicate on the "iotID" field.
func IotIDLT ¶
func IotIDLT(v string) predicate.DeviceOnTimeDaily
IotIDLT applies the LT predicate on the "iotID" field.
func IotIDLTE ¶
func IotIDLTE(v string) predicate.DeviceOnTimeDaily
IotIDLTE applies the LTE predicate on the "iotID" field.
func IotIDNEQ ¶
func IotIDNEQ(v string) predicate.DeviceOnTimeDaily
IotIDNEQ applies the NEQ predicate on the "iotID" field.
func IotIDNotIn ¶
func IotIDNotIn(vs ...string) predicate.DeviceOnTimeDaily
IotIDNotIn applies the NotIn predicate on the "iotID" field.
func Not ¶
func Not(p predicate.DeviceOnTimeDaily) predicate.DeviceOnTimeDaily
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.DeviceOnTimeDaily) predicate.DeviceOnTimeDaily
Or groups predicates with the OR operator between them.
func ProductKey ¶
func ProductKey(v string) predicate.DeviceOnTimeDaily
ProductKey applies equality check predicate on the "productKey" field. It's identical to ProductKeyEQ.
func ProductKeyContains ¶
func ProductKeyContains(v string) predicate.DeviceOnTimeDaily
ProductKeyContains applies the Contains predicate on the "productKey" field.
func ProductKeyContainsFold ¶
func ProductKeyContainsFold(v string) predicate.DeviceOnTimeDaily
ProductKeyContainsFold applies the ContainsFold predicate on the "productKey" field.
func ProductKeyEQ ¶
func ProductKeyEQ(v string) predicate.DeviceOnTimeDaily
ProductKeyEQ applies the EQ predicate on the "productKey" field.
func ProductKeyEqualFold ¶
func ProductKeyEqualFold(v string) predicate.DeviceOnTimeDaily
ProductKeyEqualFold applies the EqualFold predicate on the "productKey" field.
func ProductKeyGT ¶
func ProductKeyGT(v string) predicate.DeviceOnTimeDaily
ProductKeyGT applies the GT predicate on the "productKey" field.
func ProductKeyGTE ¶
func ProductKeyGTE(v string) predicate.DeviceOnTimeDaily
ProductKeyGTE applies the GTE predicate on the "productKey" field.
func ProductKeyHasPrefix ¶
func ProductKeyHasPrefix(v string) predicate.DeviceOnTimeDaily
ProductKeyHasPrefix applies the HasPrefix predicate on the "productKey" field.
func ProductKeyHasSuffix ¶
func ProductKeyHasSuffix(v string) predicate.DeviceOnTimeDaily
ProductKeyHasSuffix applies the HasSuffix predicate on the "productKey" field.
func ProductKeyIn ¶
func ProductKeyIn(vs ...string) predicate.DeviceOnTimeDaily
ProductKeyIn applies the In predicate on the "productKey" field.
func ProductKeyLT ¶
func ProductKeyLT(v string) predicate.DeviceOnTimeDaily
ProductKeyLT applies the LT predicate on the "productKey" field.
func ProductKeyLTE ¶
func ProductKeyLTE(v string) predicate.DeviceOnTimeDaily
ProductKeyLTE applies the LTE predicate on the "productKey" field.
func ProductKeyNEQ ¶
func ProductKeyNEQ(v string) predicate.DeviceOnTimeDaily
ProductKeyNEQ applies the NEQ predicate on the "productKey" field.
func ProductKeyNotIn ¶
func ProductKeyNotIn(vs ...string) predicate.DeviceOnTimeDaily
ProductKeyNotIn applies the NotIn predicate on the "productKey" field.
func Sort ¶
func Sort(v uint32) predicate.DeviceOnTimeDaily
Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.
func SortEQ ¶
func SortEQ(v uint32) predicate.DeviceOnTimeDaily
SortEQ applies the EQ predicate on the "sort" field.
func SortGT ¶
func SortGT(v uint32) predicate.DeviceOnTimeDaily
SortGT applies the GT predicate on the "sort" field.
func SortGTE ¶
func SortGTE(v uint32) predicate.DeviceOnTimeDaily
SortGTE applies the GTE predicate on the "sort" field.
func SortIn ¶
func SortIn(vs ...uint32) predicate.DeviceOnTimeDaily
SortIn applies the In predicate on the "sort" field.
func SortLT ¶
func SortLT(v uint32) predicate.DeviceOnTimeDaily
SortLT applies the LT predicate on the "sort" field.
func SortLTE ¶
func SortLTE(v uint32) predicate.DeviceOnTimeDaily
SortLTE applies the LTE predicate on the "sort" field.
func SortNEQ ¶
func SortNEQ(v uint32) predicate.DeviceOnTimeDaily
SortNEQ applies the NEQ predicate on the "sort" field.
func SortNotIn ¶
func SortNotIn(vs ...uint32) predicate.DeviceOnTimeDaily
SortNotIn applies the NotIn predicate on the "sort" field.
func Status ¶
func Status(v uint8) predicate.DeviceOnTimeDaily
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusEQ ¶
func StatusEQ(v uint8) predicate.DeviceOnTimeDaily
StatusEQ applies the EQ predicate on the "status" field.
func StatusGT ¶
func StatusGT(v uint8) predicate.DeviceOnTimeDaily
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v uint8) predicate.DeviceOnTimeDaily
StatusGTE applies the GTE predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...uint8) predicate.DeviceOnTimeDaily
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶
func StatusIsNil() predicate.DeviceOnTimeDaily
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusLT ¶
func StatusLT(v uint8) predicate.DeviceOnTimeDaily
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v uint8) predicate.DeviceOnTimeDaily
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v uint8) predicate.DeviceOnTimeDaily
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...uint8) predicate.DeviceOnTimeDaily
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
func StatusNotNil() predicate.DeviceOnTimeDaily
StatusNotNil applies the NotNil predicate on the "status" field.
func Time ¶
func Time(v string) predicate.DeviceOnTimeDaily
Time applies equality check predicate on the "time" field. It's identical to TimeEQ.
func TimeContains ¶
func TimeContains(v string) predicate.DeviceOnTimeDaily
TimeContains applies the Contains predicate on the "time" field.
func TimeContainsFold ¶
func TimeContainsFold(v string) predicate.DeviceOnTimeDaily
TimeContainsFold applies the ContainsFold predicate on the "time" field.
func TimeEQ ¶
func TimeEQ(v string) predicate.DeviceOnTimeDaily
TimeEQ applies the EQ predicate on the "time" field.
func TimeEqualFold ¶
func TimeEqualFold(v string) predicate.DeviceOnTimeDaily
TimeEqualFold applies the EqualFold predicate on the "time" field.
func TimeGT ¶
func TimeGT(v string) predicate.DeviceOnTimeDaily
TimeGT applies the GT predicate on the "time" field.
func TimeGTE ¶
func TimeGTE(v string) predicate.DeviceOnTimeDaily
TimeGTE applies the GTE predicate on the "time" field.
func TimeHasPrefix ¶
func TimeHasPrefix(v string) predicate.DeviceOnTimeDaily
TimeHasPrefix applies the HasPrefix predicate on the "time" field.
func TimeHasSuffix ¶
func TimeHasSuffix(v string) predicate.DeviceOnTimeDaily
TimeHasSuffix applies the HasSuffix predicate on the "time" field.
func TimeIn ¶
func TimeIn(vs ...string) predicate.DeviceOnTimeDaily
TimeIn applies the In predicate on the "time" field.
func TimeIsNil ¶
func TimeIsNil() predicate.DeviceOnTimeDaily
TimeIsNil applies the IsNil predicate on the "time" field.
func TimeLT ¶
func TimeLT(v string) predicate.DeviceOnTimeDaily
TimeLT applies the LT predicate on the "time" field.
func TimeLTE ¶
func TimeLTE(v string) predicate.DeviceOnTimeDaily
TimeLTE applies the LTE predicate on the "time" field.
func TimeNEQ ¶
func TimeNEQ(v string) predicate.DeviceOnTimeDaily
TimeNEQ applies the NEQ predicate on the "time" field.
func TimeNotIn ¶
func TimeNotIn(vs ...string) predicate.DeviceOnTimeDaily
TimeNotIn applies the NotIn predicate on the "time" field.
func TimeNotNil ¶
func TimeNotNil() predicate.DeviceOnTimeDaily
TimeNotNil applies the NotNil predicate on the "time" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.DeviceOnTimeDaily
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.DeviceOnTimeDaily
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.DeviceOnTimeDaily
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.DeviceOnTimeDaily
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.DeviceOnTimeDaily
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.DeviceOnTimeDaily
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.DeviceOnTimeDaily
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.DeviceOnTimeDaily
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.DeviceOnTimeDaily
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Value ¶
func Value(v string) predicate.DeviceOnTimeDaily
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
func ValueContains(v string) predicate.DeviceOnTimeDaily
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
func ValueContainsFold(v string) predicate.DeviceOnTimeDaily
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEQ ¶
func ValueEQ(v string) predicate.DeviceOnTimeDaily
ValueEQ applies the EQ predicate on the "value" field.
func ValueEqualFold ¶
func ValueEqualFold(v string) predicate.DeviceOnTimeDaily
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueGT ¶
func ValueGT(v string) predicate.DeviceOnTimeDaily
ValueGT applies the GT predicate on the "value" field.
func ValueGTE ¶
func ValueGTE(v string) predicate.DeviceOnTimeDaily
ValueGTE applies the GTE predicate on the "value" field.
func ValueHasPrefix ¶
func ValueHasPrefix(v string) predicate.DeviceOnTimeDaily
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
func ValueHasSuffix(v string) predicate.DeviceOnTimeDaily
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueIn ¶
func ValueIn(vs ...string) predicate.DeviceOnTimeDaily
ValueIn applies the In predicate on the "value" field.
func ValueIsNil ¶
func ValueIsNil() predicate.DeviceOnTimeDaily
ValueIsNil applies the IsNil predicate on the "value" field.
func ValueLT ¶
func ValueLT(v string) predicate.DeviceOnTimeDaily
ValueLT applies the LT predicate on the "value" field.
func ValueLTE ¶
func ValueLTE(v string) predicate.DeviceOnTimeDaily
ValueLTE applies the LTE predicate on the "value" field.
func ValueNEQ ¶
func ValueNEQ(v string) predicate.DeviceOnTimeDaily
ValueNEQ applies the NEQ predicate on the "value" field.
func ValueNotIn ¶
func ValueNotIn(vs ...string) predicate.DeviceOnTimeDaily
ValueNotIn applies the NotIn predicate on the "value" field.
func ValueNotNil ¶
func ValueNotNil() predicate.DeviceOnTimeDaily
ValueNotNil applies the NotNil predicate on the "value" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the DeviceOnTimeDaily queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at 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 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 ByTime ¶
func ByTime(opts ...sql.OrderTermOption) OrderOption
ByTime orders the results by the time field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByValue ¶
func ByValue(opts ...sql.OrderTermOption) OrderOption
ByValue orders the results by the value field.