Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DeviceOnlineTime) predicate.DeviceOnlineTime
- func CreatedAt(v time.Time) predicate.DeviceOnlineTime
- func CreatedAtEQ(v time.Time) predicate.DeviceOnlineTime
- func CreatedAtGT(v time.Time) predicate.DeviceOnlineTime
- func CreatedAtGTE(v time.Time) predicate.DeviceOnlineTime
- func CreatedAtIn(vs ...time.Time) predicate.DeviceOnlineTime
- func CreatedAtLT(v time.Time) predicate.DeviceOnlineTime
- func CreatedAtLTE(v time.Time) predicate.DeviceOnlineTime
- func CreatedAtNEQ(v time.Time) predicate.DeviceOnlineTime
- func CreatedAtNotIn(vs ...time.Time) predicate.DeviceOnlineTime
- func DeviceName(v string) predicate.DeviceOnlineTime
- func DeviceNameContains(v string) predicate.DeviceOnlineTime
- func DeviceNameContainsFold(v string) predicate.DeviceOnlineTime
- func DeviceNameEQ(v string) predicate.DeviceOnlineTime
- func DeviceNameEqualFold(v string) predicate.DeviceOnlineTime
- func DeviceNameGT(v string) predicate.DeviceOnlineTime
- func DeviceNameGTE(v string) predicate.DeviceOnlineTime
- func DeviceNameHasPrefix(v string) predicate.DeviceOnlineTime
- func DeviceNameHasSuffix(v string) predicate.DeviceOnlineTime
- func DeviceNameIn(vs ...string) predicate.DeviceOnlineTime
- func DeviceNameLT(v string) predicate.DeviceOnlineTime
- func DeviceNameLTE(v string) predicate.DeviceOnlineTime
- func DeviceNameNEQ(v string) predicate.DeviceOnlineTime
- func DeviceNameNotIn(vs ...string) predicate.DeviceOnlineTime
- func GmtOnline(v string) predicate.DeviceOnlineTime
- func GmtOnlineContains(v string) predicate.DeviceOnlineTime
- func GmtOnlineContainsFold(v string) predicate.DeviceOnlineTime
- func GmtOnlineEQ(v string) predicate.DeviceOnlineTime
- func GmtOnlineEqualFold(v string) predicate.DeviceOnlineTime
- func GmtOnlineGT(v string) predicate.DeviceOnlineTime
- func GmtOnlineGTE(v string) predicate.DeviceOnlineTime
- func GmtOnlineHasPrefix(v string) predicate.DeviceOnlineTime
- func GmtOnlineHasSuffix(v string) predicate.DeviceOnlineTime
- func GmtOnlineIn(vs ...string) predicate.DeviceOnlineTime
- func GmtOnlineIsNil() predicate.DeviceOnlineTime
- func GmtOnlineLT(v string) predicate.DeviceOnlineTime
- func GmtOnlineLTE(v string) predicate.DeviceOnlineTime
- func GmtOnlineNEQ(v string) predicate.DeviceOnlineTime
- func GmtOnlineNotIn(vs ...string) predicate.DeviceOnlineTime
- func GmtOnlineNotNil() predicate.DeviceOnlineTime
- func ID(id uint64) predicate.DeviceOnlineTime
- func IDEQ(id uint64) predicate.DeviceOnlineTime
- func IDGT(id uint64) predicate.DeviceOnlineTime
- func IDGTE(id uint64) predicate.DeviceOnlineTime
- func IDIn(ids ...uint64) predicate.DeviceOnlineTime
- func IDLT(id uint64) predicate.DeviceOnlineTime
- func IDLTE(id uint64) predicate.DeviceOnlineTime
- func IDNEQ(id uint64) predicate.DeviceOnlineTime
- func IDNotIn(ids ...uint64) predicate.DeviceOnlineTime
- func IotID(v string) predicate.DeviceOnlineTime
- func IotIDContains(v string) predicate.DeviceOnlineTime
- func IotIDContainsFold(v string) predicate.DeviceOnlineTime
- func IotIDEQ(v string) predicate.DeviceOnlineTime
- func IotIDEqualFold(v string) predicate.DeviceOnlineTime
- func IotIDGT(v string) predicate.DeviceOnlineTime
- func IotIDGTE(v string) predicate.DeviceOnlineTime
- func IotIDHasPrefix(v string) predicate.DeviceOnlineTime
- func IotIDHasSuffix(v string) predicate.DeviceOnlineTime
- func IotIDIn(vs ...string) predicate.DeviceOnlineTime
- func IotIDLT(v string) predicate.DeviceOnlineTime
- func IotIDLTE(v string) predicate.DeviceOnlineTime
- func IotIDNEQ(v string) predicate.DeviceOnlineTime
- func IotIDNotIn(vs ...string) predicate.DeviceOnlineTime
- func Not(p predicate.DeviceOnlineTime) predicate.DeviceOnlineTime
- func Or(predicates ...predicate.DeviceOnlineTime) predicate.DeviceOnlineTime
- func ProductKey(v string) predicate.DeviceOnlineTime
- func ProductKeyContains(v string) predicate.DeviceOnlineTime
- func ProductKeyContainsFold(v string) predicate.DeviceOnlineTime
- func ProductKeyEQ(v string) predicate.DeviceOnlineTime
- func ProductKeyEqualFold(v string) predicate.DeviceOnlineTime
- func ProductKeyGT(v string) predicate.DeviceOnlineTime
- func ProductKeyGTE(v string) predicate.DeviceOnlineTime
- func ProductKeyHasPrefix(v string) predicate.DeviceOnlineTime
- func ProductKeyHasSuffix(v string) predicate.DeviceOnlineTime
- func ProductKeyIn(vs ...string) predicate.DeviceOnlineTime
- func ProductKeyLT(v string) predicate.DeviceOnlineTime
- func ProductKeyLTE(v string) predicate.DeviceOnlineTime
- func ProductKeyNEQ(v string) predicate.DeviceOnlineTime
- func ProductKeyNotIn(vs ...string) predicate.DeviceOnlineTime
- func Sort(v uint32) predicate.DeviceOnlineTime
- func SortEQ(v uint32) predicate.DeviceOnlineTime
- func SortGT(v uint32) predicate.DeviceOnlineTime
- func SortGTE(v uint32) predicate.DeviceOnlineTime
- func SortIn(vs ...uint32) predicate.DeviceOnlineTime
- func SortLT(v uint32) predicate.DeviceOnlineTime
- func SortLTE(v uint32) predicate.DeviceOnlineTime
- func SortNEQ(v uint32) predicate.DeviceOnlineTime
- func SortNotIn(vs ...uint32) predicate.DeviceOnlineTime
- func Status(v uint8) predicate.DeviceOnlineTime
- func StatusEQ(v uint8) predicate.DeviceOnlineTime
- func StatusGT(v uint8) predicate.DeviceOnlineTime
- func StatusGTE(v uint8) predicate.DeviceOnlineTime
- func StatusIn(vs ...uint8) predicate.DeviceOnlineTime
- func StatusIsNil() predicate.DeviceOnlineTime
- func StatusLT(v uint8) predicate.DeviceOnlineTime
- func StatusLTE(v uint8) predicate.DeviceOnlineTime
- func StatusNEQ(v uint8) predicate.DeviceOnlineTime
- func StatusNotIn(vs ...uint8) predicate.DeviceOnlineTime
- func StatusNotNil() predicate.DeviceOnlineTime
- func UpdatedAt(v time.Time) predicate.DeviceOnlineTime
- func UpdatedAtEQ(v time.Time) predicate.DeviceOnlineTime
- func UpdatedAtGT(v time.Time) predicate.DeviceOnlineTime
- func UpdatedAtGTE(v time.Time) predicate.DeviceOnlineTime
- func UpdatedAtIn(vs ...time.Time) predicate.DeviceOnlineTime
- func UpdatedAtLT(v time.Time) predicate.DeviceOnlineTime
- func UpdatedAtLTE(v time.Time) predicate.DeviceOnlineTime
- func UpdatedAtNEQ(v time.Time) predicate.DeviceOnlineTime
- func UpdatedAtNotIn(vs ...time.Time) predicate.DeviceOnlineTime
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeviceName(opts ...sql.OrderTermOption) OrderOption
- func ByGmtOnline(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 ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the deviceonlinetime type in the database. Label = "device_online_time" // 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" // FieldGmtOnline holds the string denoting the gmtonline field in the database. FieldGmtOnline = "gmt_online" // Table holds the table name of the deviceonlinetime in the database. Table = "thing_device_online_times" )
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, FieldGmtOnline, }
Columns holds all SQL columns for deviceonlinetime fields.
Functions ¶
func And ¶
func And(predicates ...predicate.DeviceOnlineTime) predicate.DeviceOnlineTime
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.DeviceOnlineTime
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.DeviceOnlineTime
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.DeviceOnlineTime
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.DeviceOnlineTime
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.DeviceOnlineTime
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.DeviceOnlineTime
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.DeviceOnlineTime
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.DeviceOnlineTime
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.DeviceOnlineTime
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeviceName ¶
func DeviceName(v string) predicate.DeviceOnlineTime
DeviceName applies equality check predicate on the "deviceName" field. It's identical to DeviceNameEQ.
func DeviceNameContains ¶
func DeviceNameContains(v string) predicate.DeviceOnlineTime
DeviceNameContains applies the Contains predicate on the "deviceName" field.
func DeviceNameContainsFold ¶
func DeviceNameContainsFold(v string) predicate.DeviceOnlineTime
DeviceNameContainsFold applies the ContainsFold predicate on the "deviceName" field.
func DeviceNameEQ ¶
func DeviceNameEQ(v string) predicate.DeviceOnlineTime
DeviceNameEQ applies the EQ predicate on the "deviceName" field.
func DeviceNameEqualFold ¶
func DeviceNameEqualFold(v string) predicate.DeviceOnlineTime
DeviceNameEqualFold applies the EqualFold predicate on the "deviceName" field.
func DeviceNameGT ¶
func DeviceNameGT(v string) predicate.DeviceOnlineTime
DeviceNameGT applies the GT predicate on the "deviceName" field.
func DeviceNameGTE ¶
func DeviceNameGTE(v string) predicate.DeviceOnlineTime
DeviceNameGTE applies the GTE predicate on the "deviceName" field.
func DeviceNameHasPrefix ¶
func DeviceNameHasPrefix(v string) predicate.DeviceOnlineTime
DeviceNameHasPrefix applies the HasPrefix predicate on the "deviceName" field.
func DeviceNameHasSuffix ¶
func DeviceNameHasSuffix(v string) predicate.DeviceOnlineTime
DeviceNameHasSuffix applies the HasSuffix predicate on the "deviceName" field.
func DeviceNameIn ¶
func DeviceNameIn(vs ...string) predicate.DeviceOnlineTime
DeviceNameIn applies the In predicate on the "deviceName" field.
func DeviceNameLT ¶
func DeviceNameLT(v string) predicate.DeviceOnlineTime
DeviceNameLT applies the LT predicate on the "deviceName" field.
func DeviceNameLTE ¶
func DeviceNameLTE(v string) predicate.DeviceOnlineTime
DeviceNameLTE applies the LTE predicate on the "deviceName" field.
func DeviceNameNEQ ¶
func DeviceNameNEQ(v string) predicate.DeviceOnlineTime
DeviceNameNEQ applies the NEQ predicate on the "deviceName" field.
func DeviceNameNotIn ¶
func DeviceNameNotIn(vs ...string) predicate.DeviceOnlineTime
DeviceNameNotIn applies the NotIn predicate on the "deviceName" field.
func GmtOnline ¶
func GmtOnline(v string) predicate.DeviceOnlineTime
GmtOnline applies equality check predicate on the "gmtOnline" field. It's identical to GmtOnlineEQ.
func GmtOnlineContains ¶
func GmtOnlineContains(v string) predicate.DeviceOnlineTime
GmtOnlineContains applies the Contains predicate on the "gmtOnline" field.
func GmtOnlineContainsFold ¶
func GmtOnlineContainsFold(v string) predicate.DeviceOnlineTime
GmtOnlineContainsFold applies the ContainsFold predicate on the "gmtOnline" field.
func GmtOnlineEQ ¶
func GmtOnlineEQ(v string) predicate.DeviceOnlineTime
GmtOnlineEQ applies the EQ predicate on the "gmtOnline" field.
func GmtOnlineEqualFold ¶
func GmtOnlineEqualFold(v string) predicate.DeviceOnlineTime
GmtOnlineEqualFold applies the EqualFold predicate on the "gmtOnline" field.
func GmtOnlineGT ¶
func GmtOnlineGT(v string) predicate.DeviceOnlineTime
GmtOnlineGT applies the GT predicate on the "gmtOnline" field.
func GmtOnlineGTE ¶
func GmtOnlineGTE(v string) predicate.DeviceOnlineTime
GmtOnlineGTE applies the GTE predicate on the "gmtOnline" field.
func GmtOnlineHasPrefix ¶
func GmtOnlineHasPrefix(v string) predicate.DeviceOnlineTime
GmtOnlineHasPrefix applies the HasPrefix predicate on the "gmtOnline" field.
func GmtOnlineHasSuffix ¶
func GmtOnlineHasSuffix(v string) predicate.DeviceOnlineTime
GmtOnlineHasSuffix applies the HasSuffix predicate on the "gmtOnline" field.
func GmtOnlineIn ¶
func GmtOnlineIn(vs ...string) predicate.DeviceOnlineTime
GmtOnlineIn applies the In predicate on the "gmtOnline" field.
func GmtOnlineIsNil ¶
func GmtOnlineIsNil() predicate.DeviceOnlineTime
GmtOnlineIsNil applies the IsNil predicate on the "gmtOnline" field.
func GmtOnlineLT ¶
func GmtOnlineLT(v string) predicate.DeviceOnlineTime
GmtOnlineLT applies the LT predicate on the "gmtOnline" field.
func GmtOnlineLTE ¶
func GmtOnlineLTE(v string) predicate.DeviceOnlineTime
GmtOnlineLTE applies the LTE predicate on the "gmtOnline" field.
func GmtOnlineNEQ ¶
func GmtOnlineNEQ(v string) predicate.DeviceOnlineTime
GmtOnlineNEQ applies the NEQ predicate on the "gmtOnline" field.
func GmtOnlineNotIn ¶
func GmtOnlineNotIn(vs ...string) predicate.DeviceOnlineTime
GmtOnlineNotIn applies the NotIn predicate on the "gmtOnline" field.
func GmtOnlineNotNil ¶
func GmtOnlineNotNil() predicate.DeviceOnlineTime
GmtOnlineNotNil applies the NotNil predicate on the "gmtOnline" field.
func ID ¶
func ID(id uint64) predicate.DeviceOnlineTime
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uint64) predicate.DeviceOnlineTime
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint64) predicate.DeviceOnlineTime
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint64) predicate.DeviceOnlineTime
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint64) predicate.DeviceOnlineTime
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint64) predicate.DeviceOnlineTime
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint64) predicate.DeviceOnlineTime
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint64) predicate.DeviceOnlineTime
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint64) predicate.DeviceOnlineTime
IDNotIn applies the NotIn predicate on the ID field.
func IotID ¶
func IotID(v string) predicate.DeviceOnlineTime
IotID applies equality check predicate on the "iotID" field. It's identical to IotIDEQ.
func IotIDContains ¶
func IotIDContains(v string) predicate.DeviceOnlineTime
IotIDContains applies the Contains predicate on the "iotID" field.
func IotIDContainsFold ¶
func IotIDContainsFold(v string) predicate.DeviceOnlineTime
IotIDContainsFold applies the ContainsFold predicate on the "iotID" field.
func IotIDEQ ¶
func IotIDEQ(v string) predicate.DeviceOnlineTime
IotIDEQ applies the EQ predicate on the "iotID" field.
func IotIDEqualFold ¶
func IotIDEqualFold(v string) predicate.DeviceOnlineTime
IotIDEqualFold applies the EqualFold predicate on the "iotID" field.
func IotIDGT ¶
func IotIDGT(v string) predicate.DeviceOnlineTime
IotIDGT applies the GT predicate on the "iotID" field.
func IotIDGTE ¶
func IotIDGTE(v string) predicate.DeviceOnlineTime
IotIDGTE applies the GTE predicate on the "iotID" field.
func IotIDHasPrefix ¶
func IotIDHasPrefix(v string) predicate.DeviceOnlineTime
IotIDHasPrefix applies the HasPrefix predicate on the "iotID" field.
func IotIDHasSuffix ¶
func IotIDHasSuffix(v string) predicate.DeviceOnlineTime
IotIDHasSuffix applies the HasSuffix predicate on the "iotID" field.
func IotIDIn ¶
func IotIDIn(vs ...string) predicate.DeviceOnlineTime
IotIDIn applies the In predicate on the "iotID" field.
func IotIDLT ¶
func IotIDLT(v string) predicate.DeviceOnlineTime
IotIDLT applies the LT predicate on the "iotID" field.
func IotIDLTE ¶
func IotIDLTE(v string) predicate.DeviceOnlineTime
IotIDLTE applies the LTE predicate on the "iotID" field.
func IotIDNEQ ¶
func IotIDNEQ(v string) predicate.DeviceOnlineTime
IotIDNEQ applies the NEQ predicate on the "iotID" field.
func IotIDNotIn ¶
func IotIDNotIn(vs ...string) predicate.DeviceOnlineTime
IotIDNotIn applies the NotIn predicate on the "iotID" field.
func Not ¶
func Not(p predicate.DeviceOnlineTime) predicate.DeviceOnlineTime
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.DeviceOnlineTime) predicate.DeviceOnlineTime
Or groups predicates with the OR operator between them.
func ProductKey ¶
func ProductKey(v string) predicate.DeviceOnlineTime
ProductKey applies equality check predicate on the "productKey" field. It's identical to ProductKeyEQ.
func ProductKeyContains ¶
func ProductKeyContains(v string) predicate.DeviceOnlineTime
ProductKeyContains applies the Contains predicate on the "productKey" field.
func ProductKeyContainsFold ¶
func ProductKeyContainsFold(v string) predicate.DeviceOnlineTime
ProductKeyContainsFold applies the ContainsFold predicate on the "productKey" field.
func ProductKeyEQ ¶
func ProductKeyEQ(v string) predicate.DeviceOnlineTime
ProductKeyEQ applies the EQ predicate on the "productKey" field.
func ProductKeyEqualFold ¶
func ProductKeyEqualFold(v string) predicate.DeviceOnlineTime
ProductKeyEqualFold applies the EqualFold predicate on the "productKey" field.
func ProductKeyGT ¶
func ProductKeyGT(v string) predicate.DeviceOnlineTime
ProductKeyGT applies the GT predicate on the "productKey" field.
func ProductKeyGTE ¶
func ProductKeyGTE(v string) predicate.DeviceOnlineTime
ProductKeyGTE applies the GTE predicate on the "productKey" field.
func ProductKeyHasPrefix ¶
func ProductKeyHasPrefix(v string) predicate.DeviceOnlineTime
ProductKeyHasPrefix applies the HasPrefix predicate on the "productKey" field.
func ProductKeyHasSuffix ¶
func ProductKeyHasSuffix(v string) predicate.DeviceOnlineTime
ProductKeyHasSuffix applies the HasSuffix predicate on the "productKey" field.
func ProductKeyIn ¶
func ProductKeyIn(vs ...string) predicate.DeviceOnlineTime
ProductKeyIn applies the In predicate on the "productKey" field.
func ProductKeyLT ¶
func ProductKeyLT(v string) predicate.DeviceOnlineTime
ProductKeyLT applies the LT predicate on the "productKey" field.
func ProductKeyLTE ¶
func ProductKeyLTE(v string) predicate.DeviceOnlineTime
ProductKeyLTE applies the LTE predicate on the "productKey" field.
func ProductKeyNEQ ¶
func ProductKeyNEQ(v string) predicate.DeviceOnlineTime
ProductKeyNEQ applies the NEQ predicate on the "productKey" field.
func ProductKeyNotIn ¶
func ProductKeyNotIn(vs ...string) predicate.DeviceOnlineTime
ProductKeyNotIn applies the NotIn predicate on the "productKey" field.
func Sort ¶
func Sort(v uint32) predicate.DeviceOnlineTime
Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.
func SortEQ ¶
func SortEQ(v uint32) predicate.DeviceOnlineTime
SortEQ applies the EQ predicate on the "sort" field.
func SortGT ¶
func SortGT(v uint32) predicate.DeviceOnlineTime
SortGT applies the GT predicate on the "sort" field.
func SortGTE ¶
func SortGTE(v uint32) predicate.DeviceOnlineTime
SortGTE applies the GTE predicate on the "sort" field.
func SortIn ¶
func SortIn(vs ...uint32) predicate.DeviceOnlineTime
SortIn applies the In predicate on the "sort" field.
func SortLT ¶
func SortLT(v uint32) predicate.DeviceOnlineTime
SortLT applies the LT predicate on the "sort" field.
func SortLTE ¶
func SortLTE(v uint32) predicate.DeviceOnlineTime
SortLTE applies the LTE predicate on the "sort" field.
func SortNEQ ¶
func SortNEQ(v uint32) predicate.DeviceOnlineTime
SortNEQ applies the NEQ predicate on the "sort" field.
func SortNotIn ¶
func SortNotIn(vs ...uint32) predicate.DeviceOnlineTime
SortNotIn applies the NotIn predicate on the "sort" field.
func Status ¶
func Status(v uint8) predicate.DeviceOnlineTime
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusEQ ¶
func StatusEQ(v uint8) predicate.DeviceOnlineTime
StatusEQ applies the EQ predicate on the "status" field.
func StatusGT ¶
func StatusGT(v uint8) predicate.DeviceOnlineTime
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v uint8) predicate.DeviceOnlineTime
StatusGTE applies the GTE predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...uint8) predicate.DeviceOnlineTime
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶
func StatusIsNil() predicate.DeviceOnlineTime
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusLT ¶
func StatusLT(v uint8) predicate.DeviceOnlineTime
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v uint8) predicate.DeviceOnlineTime
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v uint8) predicate.DeviceOnlineTime
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...uint8) predicate.DeviceOnlineTime
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
func StatusNotNil() predicate.DeviceOnlineTime
StatusNotNil applies the NotNil predicate on the "status" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.DeviceOnlineTime
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.DeviceOnlineTime
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.DeviceOnlineTime
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.DeviceOnlineTime
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.DeviceOnlineTime
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.DeviceOnlineTime
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.DeviceOnlineTime
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.DeviceOnlineTime
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.DeviceOnlineTime
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).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the DeviceOnlineTime 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 ByGmtOnline ¶
func ByGmtOnline(opts ...sql.OrderTermOption) OrderOption
ByGmtOnline orders the results by the gmtOnline 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 ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.