Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DeviceOfflineTime) predicate.DeviceOfflineTime
- func CreatedAt(v time.Time) predicate.DeviceOfflineTime
- func CreatedAtEQ(v time.Time) predicate.DeviceOfflineTime
- func CreatedAtGT(v time.Time) predicate.DeviceOfflineTime
- func CreatedAtGTE(v time.Time) predicate.DeviceOfflineTime
- func CreatedAtIn(vs ...time.Time) predicate.DeviceOfflineTime
- func CreatedAtLT(v time.Time) predicate.DeviceOfflineTime
- func CreatedAtLTE(v time.Time) predicate.DeviceOfflineTime
- func CreatedAtNEQ(v time.Time) predicate.DeviceOfflineTime
- func CreatedAtNotIn(vs ...time.Time) predicate.DeviceOfflineTime
- func DeviceName(v string) predicate.DeviceOfflineTime
- func DeviceNameContains(v string) predicate.DeviceOfflineTime
- func DeviceNameContainsFold(v string) predicate.DeviceOfflineTime
- func DeviceNameEQ(v string) predicate.DeviceOfflineTime
- func DeviceNameEqualFold(v string) predicate.DeviceOfflineTime
- func DeviceNameGT(v string) predicate.DeviceOfflineTime
- func DeviceNameGTE(v string) predicate.DeviceOfflineTime
- func DeviceNameHasPrefix(v string) predicate.DeviceOfflineTime
- func DeviceNameHasSuffix(v string) predicate.DeviceOfflineTime
- func DeviceNameIn(vs ...string) predicate.DeviceOfflineTime
- func DeviceNameLT(v string) predicate.DeviceOfflineTime
- func DeviceNameLTE(v string) predicate.DeviceOfflineTime
- func DeviceNameNEQ(v string) predicate.DeviceOfflineTime
- func DeviceNameNotIn(vs ...string) predicate.DeviceOfflineTime
- func ID(id uint64) predicate.DeviceOfflineTime
- func IDEQ(id uint64) predicate.DeviceOfflineTime
- func IDGT(id uint64) predicate.DeviceOfflineTime
- func IDGTE(id uint64) predicate.DeviceOfflineTime
- func IDIn(ids ...uint64) predicate.DeviceOfflineTime
- func IDLT(id uint64) predicate.DeviceOfflineTime
- func IDLTE(id uint64) predicate.DeviceOfflineTime
- func IDNEQ(id uint64) predicate.DeviceOfflineTime
- func IDNotIn(ids ...uint64) predicate.DeviceOfflineTime
- func IotID(v string) predicate.DeviceOfflineTime
- func IotIDContains(v string) predicate.DeviceOfflineTime
- func IotIDContainsFold(v string) predicate.DeviceOfflineTime
- func IotIDEQ(v string) predicate.DeviceOfflineTime
- func IotIDEqualFold(v string) predicate.DeviceOfflineTime
- func IotIDGT(v string) predicate.DeviceOfflineTime
- func IotIDGTE(v string) predicate.DeviceOfflineTime
- func IotIDHasPrefix(v string) predicate.DeviceOfflineTime
- func IotIDHasSuffix(v string) predicate.DeviceOfflineTime
- func IotIDIn(vs ...string) predicate.DeviceOfflineTime
- func IotIDLT(v string) predicate.DeviceOfflineTime
- func IotIDLTE(v string) predicate.DeviceOfflineTime
- func IotIDNEQ(v string) predicate.DeviceOfflineTime
- func IotIDNotIn(vs ...string) predicate.DeviceOfflineTime
- func Not(p predicate.DeviceOfflineTime) predicate.DeviceOfflineTime
- func Or(predicates ...predicate.DeviceOfflineTime) predicate.DeviceOfflineTime
- func ProductKey(v string) predicate.DeviceOfflineTime
- func ProductKeyContains(v string) predicate.DeviceOfflineTime
- func ProductKeyContainsFold(v string) predicate.DeviceOfflineTime
- func ProductKeyEQ(v string) predicate.DeviceOfflineTime
- func ProductKeyEqualFold(v string) predicate.DeviceOfflineTime
- func ProductKeyGT(v string) predicate.DeviceOfflineTime
- func ProductKeyGTE(v string) predicate.DeviceOfflineTime
- func ProductKeyHasPrefix(v string) predicate.DeviceOfflineTime
- func ProductKeyHasSuffix(v string) predicate.DeviceOfflineTime
- func ProductKeyIn(vs ...string) predicate.DeviceOfflineTime
- func ProductKeyLT(v string) predicate.DeviceOfflineTime
- func ProductKeyLTE(v string) predicate.DeviceOfflineTime
- func ProductKeyNEQ(v string) predicate.DeviceOfflineTime
- func ProductKeyNotIn(vs ...string) predicate.DeviceOfflineTime
- func Sort(v uint32) predicate.DeviceOfflineTime
- func SortEQ(v uint32) predicate.DeviceOfflineTime
- func SortGT(v uint32) predicate.DeviceOfflineTime
- func SortGTE(v uint32) predicate.DeviceOfflineTime
- func SortIn(vs ...uint32) predicate.DeviceOfflineTime
- func SortLT(v uint32) predicate.DeviceOfflineTime
- func SortLTE(v uint32) predicate.DeviceOfflineTime
- func SortNEQ(v uint32) predicate.DeviceOfflineTime
- func SortNotIn(vs ...uint32) predicate.DeviceOfflineTime
- func Status(v uint8) predicate.DeviceOfflineTime
- func StatusEQ(v uint8) predicate.DeviceOfflineTime
- func StatusGT(v uint8) predicate.DeviceOfflineTime
- func StatusGTE(v uint8) predicate.DeviceOfflineTime
- func StatusIn(vs ...uint8) predicate.DeviceOfflineTime
- func StatusIsNil() predicate.DeviceOfflineTime
- func StatusLT(v uint8) predicate.DeviceOfflineTime
- func StatusLTE(v uint8) predicate.DeviceOfflineTime
- func StatusNEQ(v uint8) predicate.DeviceOfflineTime
- func StatusNotIn(vs ...uint8) predicate.DeviceOfflineTime
- func StatusNotNil() predicate.DeviceOfflineTime
- func Time(v string) predicate.DeviceOfflineTime
- func TimeContains(v string) predicate.DeviceOfflineTime
- func TimeContainsFold(v string) predicate.DeviceOfflineTime
- func TimeEQ(v string) predicate.DeviceOfflineTime
- func TimeEqualFold(v string) predicate.DeviceOfflineTime
- func TimeGT(v string) predicate.DeviceOfflineTime
- func TimeGTE(v string) predicate.DeviceOfflineTime
- func TimeHasPrefix(v string) predicate.DeviceOfflineTime
- func TimeHasSuffix(v string) predicate.DeviceOfflineTime
- func TimeIn(vs ...string) predicate.DeviceOfflineTime
- func TimeIsNil() predicate.DeviceOfflineTime
- func TimeLT(v string) predicate.DeviceOfflineTime
- func TimeLTE(v string) predicate.DeviceOfflineTime
- func TimeNEQ(v string) predicate.DeviceOfflineTime
- func TimeNotIn(vs ...string) predicate.DeviceOfflineTime
- func TimeNotNil() predicate.DeviceOfflineTime
- func UpdatedAt(v time.Time) predicate.DeviceOfflineTime
- func UpdatedAtEQ(v time.Time) predicate.DeviceOfflineTime
- func UpdatedAtGT(v time.Time) predicate.DeviceOfflineTime
- func UpdatedAtGTE(v time.Time) predicate.DeviceOfflineTime
- func UpdatedAtIn(vs ...time.Time) predicate.DeviceOfflineTime
- func UpdatedAtLT(v time.Time) predicate.DeviceOfflineTime
- func UpdatedAtLTE(v time.Time) predicate.DeviceOfflineTime
- func UpdatedAtNEQ(v time.Time) predicate.DeviceOfflineTime
- func UpdatedAtNotIn(vs ...time.Time) predicate.DeviceOfflineTime
- func ValidColumn(column string) bool
- 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
Constants ¶
const ( // Label holds the string label denoting the deviceofflinetime type in the database. Label = "device_offline_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" // FieldTime holds the string denoting the time field in the database. FieldTime = "time" // Table holds the table name of the deviceofflinetime in the database. Table = "thing_device_offline_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, FieldTime, }
Columns holds all SQL columns for deviceofflinetime fields.
Functions ¶
func And ¶
func And(predicates ...predicate.DeviceOfflineTime) predicate.DeviceOfflineTime
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.DeviceOfflineTime
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.DeviceOfflineTime
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.DeviceOfflineTime
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.DeviceOfflineTime
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.DeviceOfflineTime
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.DeviceOfflineTime
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.DeviceOfflineTime
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.DeviceOfflineTime
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.DeviceOfflineTime
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeviceName ¶
func DeviceName(v string) predicate.DeviceOfflineTime
DeviceName applies equality check predicate on the "deviceName" field. It's identical to DeviceNameEQ.
func DeviceNameContains ¶
func DeviceNameContains(v string) predicate.DeviceOfflineTime
DeviceNameContains applies the Contains predicate on the "deviceName" field.
func DeviceNameContainsFold ¶
func DeviceNameContainsFold(v string) predicate.DeviceOfflineTime
DeviceNameContainsFold applies the ContainsFold predicate on the "deviceName" field.
func DeviceNameEQ ¶
func DeviceNameEQ(v string) predicate.DeviceOfflineTime
DeviceNameEQ applies the EQ predicate on the "deviceName" field.
func DeviceNameEqualFold ¶
func DeviceNameEqualFold(v string) predicate.DeviceOfflineTime
DeviceNameEqualFold applies the EqualFold predicate on the "deviceName" field.
func DeviceNameGT ¶
func DeviceNameGT(v string) predicate.DeviceOfflineTime
DeviceNameGT applies the GT predicate on the "deviceName" field.
func DeviceNameGTE ¶
func DeviceNameGTE(v string) predicate.DeviceOfflineTime
DeviceNameGTE applies the GTE predicate on the "deviceName" field.
func DeviceNameHasPrefix ¶
func DeviceNameHasPrefix(v string) predicate.DeviceOfflineTime
DeviceNameHasPrefix applies the HasPrefix predicate on the "deviceName" field.
func DeviceNameHasSuffix ¶
func DeviceNameHasSuffix(v string) predicate.DeviceOfflineTime
DeviceNameHasSuffix applies the HasSuffix predicate on the "deviceName" field.
func DeviceNameIn ¶
func DeviceNameIn(vs ...string) predicate.DeviceOfflineTime
DeviceNameIn applies the In predicate on the "deviceName" field.
func DeviceNameLT ¶
func DeviceNameLT(v string) predicate.DeviceOfflineTime
DeviceNameLT applies the LT predicate on the "deviceName" field.
func DeviceNameLTE ¶
func DeviceNameLTE(v string) predicate.DeviceOfflineTime
DeviceNameLTE applies the LTE predicate on the "deviceName" field.
func DeviceNameNEQ ¶
func DeviceNameNEQ(v string) predicate.DeviceOfflineTime
DeviceNameNEQ applies the NEQ predicate on the "deviceName" field.
func DeviceNameNotIn ¶
func DeviceNameNotIn(vs ...string) predicate.DeviceOfflineTime
DeviceNameNotIn applies the NotIn predicate on the "deviceName" field.
func ID ¶
func ID(id uint64) predicate.DeviceOfflineTime
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uint64) predicate.DeviceOfflineTime
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint64) predicate.DeviceOfflineTime
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint64) predicate.DeviceOfflineTime
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint64) predicate.DeviceOfflineTime
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint64) predicate.DeviceOfflineTime
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint64) predicate.DeviceOfflineTime
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint64) predicate.DeviceOfflineTime
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint64) predicate.DeviceOfflineTime
IDNotIn applies the NotIn predicate on the ID field.
func IotID ¶
func IotID(v string) predicate.DeviceOfflineTime
IotID applies equality check predicate on the "iotID" field. It's identical to IotIDEQ.
func IotIDContains ¶
func IotIDContains(v string) predicate.DeviceOfflineTime
IotIDContains applies the Contains predicate on the "iotID" field.
func IotIDContainsFold ¶
func IotIDContainsFold(v string) predicate.DeviceOfflineTime
IotIDContainsFold applies the ContainsFold predicate on the "iotID" field.
func IotIDEQ ¶
func IotIDEQ(v string) predicate.DeviceOfflineTime
IotIDEQ applies the EQ predicate on the "iotID" field.
func IotIDEqualFold ¶
func IotIDEqualFold(v string) predicate.DeviceOfflineTime
IotIDEqualFold applies the EqualFold predicate on the "iotID" field.
func IotIDGT ¶
func IotIDGT(v string) predicate.DeviceOfflineTime
IotIDGT applies the GT predicate on the "iotID" field.
func IotIDGTE ¶
func IotIDGTE(v string) predicate.DeviceOfflineTime
IotIDGTE applies the GTE predicate on the "iotID" field.
func IotIDHasPrefix ¶
func IotIDHasPrefix(v string) predicate.DeviceOfflineTime
IotIDHasPrefix applies the HasPrefix predicate on the "iotID" field.
func IotIDHasSuffix ¶
func IotIDHasSuffix(v string) predicate.DeviceOfflineTime
IotIDHasSuffix applies the HasSuffix predicate on the "iotID" field.
func IotIDIn ¶
func IotIDIn(vs ...string) predicate.DeviceOfflineTime
IotIDIn applies the In predicate on the "iotID" field.
func IotIDLT ¶
func IotIDLT(v string) predicate.DeviceOfflineTime
IotIDLT applies the LT predicate on the "iotID" field.
func IotIDLTE ¶
func IotIDLTE(v string) predicate.DeviceOfflineTime
IotIDLTE applies the LTE predicate on the "iotID" field.
func IotIDNEQ ¶
func IotIDNEQ(v string) predicate.DeviceOfflineTime
IotIDNEQ applies the NEQ predicate on the "iotID" field.
func IotIDNotIn ¶
func IotIDNotIn(vs ...string) predicate.DeviceOfflineTime
IotIDNotIn applies the NotIn predicate on the "iotID" field.
func Not ¶
func Not(p predicate.DeviceOfflineTime) predicate.DeviceOfflineTime
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.DeviceOfflineTime) predicate.DeviceOfflineTime
Or groups predicates with the OR operator between them.
func ProductKey ¶
func ProductKey(v string) predicate.DeviceOfflineTime
ProductKey applies equality check predicate on the "productKey" field. It's identical to ProductKeyEQ.
func ProductKeyContains ¶
func ProductKeyContains(v string) predicate.DeviceOfflineTime
ProductKeyContains applies the Contains predicate on the "productKey" field.
func ProductKeyContainsFold ¶
func ProductKeyContainsFold(v string) predicate.DeviceOfflineTime
ProductKeyContainsFold applies the ContainsFold predicate on the "productKey" field.
func ProductKeyEQ ¶
func ProductKeyEQ(v string) predicate.DeviceOfflineTime
ProductKeyEQ applies the EQ predicate on the "productKey" field.
func ProductKeyEqualFold ¶
func ProductKeyEqualFold(v string) predicate.DeviceOfflineTime
ProductKeyEqualFold applies the EqualFold predicate on the "productKey" field.
func ProductKeyGT ¶
func ProductKeyGT(v string) predicate.DeviceOfflineTime
ProductKeyGT applies the GT predicate on the "productKey" field.
func ProductKeyGTE ¶
func ProductKeyGTE(v string) predicate.DeviceOfflineTime
ProductKeyGTE applies the GTE predicate on the "productKey" field.
func ProductKeyHasPrefix ¶
func ProductKeyHasPrefix(v string) predicate.DeviceOfflineTime
ProductKeyHasPrefix applies the HasPrefix predicate on the "productKey" field.
func ProductKeyHasSuffix ¶
func ProductKeyHasSuffix(v string) predicate.DeviceOfflineTime
ProductKeyHasSuffix applies the HasSuffix predicate on the "productKey" field.
func ProductKeyIn ¶
func ProductKeyIn(vs ...string) predicate.DeviceOfflineTime
ProductKeyIn applies the In predicate on the "productKey" field.
func ProductKeyLT ¶
func ProductKeyLT(v string) predicate.DeviceOfflineTime
ProductKeyLT applies the LT predicate on the "productKey" field.
func ProductKeyLTE ¶
func ProductKeyLTE(v string) predicate.DeviceOfflineTime
ProductKeyLTE applies the LTE predicate on the "productKey" field.
func ProductKeyNEQ ¶
func ProductKeyNEQ(v string) predicate.DeviceOfflineTime
ProductKeyNEQ applies the NEQ predicate on the "productKey" field.
func ProductKeyNotIn ¶
func ProductKeyNotIn(vs ...string) predicate.DeviceOfflineTime
ProductKeyNotIn applies the NotIn predicate on the "productKey" field.
func Sort ¶
func Sort(v uint32) predicate.DeviceOfflineTime
Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.
func SortEQ ¶
func SortEQ(v uint32) predicate.DeviceOfflineTime
SortEQ applies the EQ predicate on the "sort" field.
func SortGT ¶
func SortGT(v uint32) predicate.DeviceOfflineTime
SortGT applies the GT predicate on the "sort" field.
func SortGTE ¶
func SortGTE(v uint32) predicate.DeviceOfflineTime
SortGTE applies the GTE predicate on the "sort" field.
func SortIn ¶
func SortIn(vs ...uint32) predicate.DeviceOfflineTime
SortIn applies the In predicate on the "sort" field.
func SortLT ¶
func SortLT(v uint32) predicate.DeviceOfflineTime
SortLT applies the LT predicate on the "sort" field.
func SortLTE ¶
func SortLTE(v uint32) predicate.DeviceOfflineTime
SortLTE applies the LTE predicate on the "sort" field.
func SortNEQ ¶
func SortNEQ(v uint32) predicate.DeviceOfflineTime
SortNEQ applies the NEQ predicate on the "sort" field.
func SortNotIn ¶
func SortNotIn(vs ...uint32) predicate.DeviceOfflineTime
SortNotIn applies the NotIn predicate on the "sort" field.
func Status ¶
func Status(v uint8) predicate.DeviceOfflineTime
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusEQ ¶
func StatusEQ(v uint8) predicate.DeviceOfflineTime
StatusEQ applies the EQ predicate on the "status" field.
func StatusGT ¶
func StatusGT(v uint8) predicate.DeviceOfflineTime
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v uint8) predicate.DeviceOfflineTime
StatusGTE applies the GTE predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...uint8) predicate.DeviceOfflineTime
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶
func StatusIsNil() predicate.DeviceOfflineTime
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusLT ¶
func StatusLT(v uint8) predicate.DeviceOfflineTime
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v uint8) predicate.DeviceOfflineTime
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v uint8) predicate.DeviceOfflineTime
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...uint8) predicate.DeviceOfflineTime
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
func StatusNotNil() predicate.DeviceOfflineTime
StatusNotNil applies the NotNil predicate on the "status" field.
func Time ¶
func Time(v string) predicate.DeviceOfflineTime
Time applies equality check predicate on the "time" field. It's identical to TimeEQ.
func TimeContains ¶
func TimeContains(v string) predicate.DeviceOfflineTime
TimeContains applies the Contains predicate on the "time" field.
func TimeContainsFold ¶
func TimeContainsFold(v string) predicate.DeviceOfflineTime
TimeContainsFold applies the ContainsFold predicate on the "time" field.
func TimeEQ ¶
func TimeEQ(v string) predicate.DeviceOfflineTime
TimeEQ applies the EQ predicate on the "time" field.
func TimeEqualFold ¶
func TimeEqualFold(v string) predicate.DeviceOfflineTime
TimeEqualFold applies the EqualFold predicate on the "time" field.
func TimeGT ¶
func TimeGT(v string) predicate.DeviceOfflineTime
TimeGT applies the GT predicate on the "time" field.
func TimeGTE ¶
func TimeGTE(v string) predicate.DeviceOfflineTime
TimeGTE applies the GTE predicate on the "time" field.
func TimeHasPrefix ¶
func TimeHasPrefix(v string) predicate.DeviceOfflineTime
TimeHasPrefix applies the HasPrefix predicate on the "time" field.
func TimeHasSuffix ¶
func TimeHasSuffix(v string) predicate.DeviceOfflineTime
TimeHasSuffix applies the HasSuffix predicate on the "time" field.
func TimeIn ¶
func TimeIn(vs ...string) predicate.DeviceOfflineTime
TimeIn applies the In predicate on the "time" field.
func TimeIsNil ¶
func TimeIsNil() predicate.DeviceOfflineTime
TimeIsNil applies the IsNil predicate on the "time" field.
func TimeLT ¶
func TimeLT(v string) predicate.DeviceOfflineTime
TimeLT applies the LT predicate on the "time" field.
func TimeLTE ¶
func TimeLTE(v string) predicate.DeviceOfflineTime
TimeLTE applies the LTE predicate on the "time" field.
func TimeNEQ ¶
func TimeNEQ(v string) predicate.DeviceOfflineTime
TimeNEQ applies the NEQ predicate on the "time" field.
func TimeNotIn ¶
func TimeNotIn(vs ...string) predicate.DeviceOfflineTime
TimeNotIn applies the NotIn predicate on the "time" field.
func TimeNotNil ¶
func TimeNotNil() predicate.DeviceOfflineTime
TimeNotNil applies the NotNil predicate on the "time" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.DeviceOfflineTime
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.DeviceOfflineTime
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.DeviceOfflineTime
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.DeviceOfflineTime
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.DeviceOfflineTime
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.DeviceOfflineTime
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.DeviceOfflineTime
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.DeviceOfflineTime
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.DeviceOfflineTime
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 DeviceOfflineTime 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.