Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DeviceDuration) predicate.DeviceDuration
- func CreatedAt(v time.Time) predicate.DeviceDuration
- func CreatedAtEQ(v time.Time) predicate.DeviceDuration
- func CreatedAtGT(v time.Time) predicate.DeviceDuration
- func CreatedAtGTE(v time.Time) predicate.DeviceDuration
- func CreatedAtIn(vs ...time.Time) predicate.DeviceDuration
- func CreatedAtLT(v time.Time) predicate.DeviceDuration
- func CreatedAtLTE(v time.Time) predicate.DeviceDuration
- func CreatedAtNEQ(v time.Time) predicate.DeviceDuration
- func CreatedAtNotIn(vs ...time.Time) predicate.DeviceDuration
- func Date(v string) predicate.DeviceDuration
- func DateContains(v string) predicate.DeviceDuration
- func DateContainsFold(v string) predicate.DeviceDuration
- func DateEQ(v string) predicate.DeviceDuration
- func DateEqualFold(v string) predicate.DeviceDuration
- func DateGT(v string) predicate.DeviceDuration
- func DateGTE(v string) predicate.DeviceDuration
- func DateHasPrefix(v string) predicate.DeviceDuration
- func DateHasSuffix(v string) predicate.DeviceDuration
- func DateIn(vs ...string) predicate.DeviceDuration
- func DateIsNil() predicate.DeviceDuration
- func DateLT(v string) predicate.DeviceDuration
- func DateLTE(v string) predicate.DeviceDuration
- func DateNEQ(v string) predicate.DeviceDuration
- func DateNotIn(vs ...string) predicate.DeviceDuration
- func DateNotNil() predicate.DeviceDuration
- func DayJson(v string) predicate.DeviceDuration
- func DayJsonContains(v string) predicate.DeviceDuration
- func DayJsonContainsFold(v string) predicate.DeviceDuration
- func DayJsonEQ(v string) predicate.DeviceDuration
- func DayJsonEqualFold(v string) predicate.DeviceDuration
- func DayJsonGT(v string) predicate.DeviceDuration
- func DayJsonGTE(v string) predicate.DeviceDuration
- func DayJsonHasPrefix(v string) predicate.DeviceDuration
- func DayJsonHasSuffix(v string) predicate.DeviceDuration
- func DayJsonIn(vs ...string) predicate.DeviceDuration
- func DayJsonIsNil() predicate.DeviceDuration
- func DayJsonLT(v string) predicate.DeviceDuration
- func DayJsonLTE(v string) predicate.DeviceDuration
- func DayJsonNEQ(v string) predicate.DeviceDuration
- func DayJsonNotIn(vs ...string) predicate.DeviceDuration
- func DayJsonNotNil() predicate.DeviceDuration
- func DeviceName(v string) predicate.DeviceDuration
- func DeviceNameContains(v string) predicate.DeviceDuration
- func DeviceNameContainsFold(v string) predicate.DeviceDuration
- func DeviceNameEQ(v string) predicate.DeviceDuration
- func DeviceNameEqualFold(v string) predicate.DeviceDuration
- func DeviceNameGT(v string) predicate.DeviceDuration
- func DeviceNameGTE(v string) predicate.DeviceDuration
- func DeviceNameHasPrefix(v string) predicate.DeviceDuration
- func DeviceNameHasSuffix(v string) predicate.DeviceDuration
- func DeviceNameIn(vs ...string) predicate.DeviceDuration
- func DeviceNameLT(v string) predicate.DeviceDuration
- func DeviceNameLTE(v string) predicate.DeviceDuration
- func DeviceNameNEQ(v string) predicate.DeviceDuration
- func DeviceNameNotIn(vs ...string) predicate.DeviceDuration
- func Ebutton(v int32) predicate.DeviceDuration
- func EbuttonEQ(v int32) predicate.DeviceDuration
- func EbuttonGT(v int32) predicate.DeviceDuration
- func EbuttonGTE(v int32) predicate.DeviceDuration
- func EbuttonIn(vs ...int32) predicate.DeviceDuration
- func EbuttonIsNil() predicate.DeviceDuration
- func EbuttonLT(v int32) predicate.DeviceDuration
- func EbuttonLTE(v int32) predicate.DeviceDuration
- func EbuttonNEQ(v int32) predicate.DeviceDuration
- func EbuttonNotIn(vs ...int32) predicate.DeviceDuration
- func EbuttonNotNil() predicate.DeviceDuration
- func ID(id uint64) predicate.DeviceDuration
- func IDEQ(id uint64) predicate.DeviceDuration
- func IDGT(id uint64) predicate.DeviceDuration
- func IDGTE(id uint64) predicate.DeviceDuration
- func IDIn(ids ...uint64) predicate.DeviceDuration
- func IDLT(id uint64) predicate.DeviceDuration
- func IDLTE(id uint64) predicate.DeviceDuration
- func IDNEQ(id uint64) predicate.DeviceDuration
- func IDNotIn(ids ...uint64) predicate.DeviceDuration
- func IotID(v string) predicate.DeviceDuration
- func IotIDContains(v string) predicate.DeviceDuration
- func IotIDContainsFold(v string) predicate.DeviceDuration
- func IotIDEQ(v string) predicate.DeviceDuration
- func IotIDEqualFold(v string) predicate.DeviceDuration
- func IotIDGT(v string) predicate.DeviceDuration
- func IotIDGTE(v string) predicate.DeviceDuration
- func IotIDHasPrefix(v string) predicate.DeviceDuration
- func IotIDHasSuffix(v string) predicate.DeviceDuration
- func IotIDIn(vs ...string) predicate.DeviceDuration
- func IotIDLT(v string) predicate.DeviceDuration
- func IotIDLTE(v string) predicate.DeviceDuration
- func IotIDNEQ(v string) predicate.DeviceDuration
- func IotIDNotIn(vs ...string) predicate.DeviceDuration
- func Not(p predicate.DeviceDuration) predicate.DeviceDuration
- func Or(predicates ...predicate.DeviceDuration) predicate.DeviceDuration
- func Preparation(v int32) predicate.DeviceDuration
- func PreparationEQ(v int32) predicate.DeviceDuration
- func PreparationGT(v int32) predicate.DeviceDuration
- func PreparationGTE(v int32) predicate.DeviceDuration
- func PreparationIn(vs ...int32) predicate.DeviceDuration
- func PreparationIsNil() predicate.DeviceDuration
- func PreparationLT(v int32) predicate.DeviceDuration
- func PreparationLTE(v int32) predicate.DeviceDuration
- func PreparationNEQ(v int32) predicate.DeviceDuration
- func PreparationNotIn(vs ...int32) predicate.DeviceDuration
- func PreparationNotNil() predicate.DeviceDuration
- func ProductKey(v string) predicate.DeviceDuration
- func ProductKeyContains(v string) predicate.DeviceDuration
- func ProductKeyContainsFold(v string) predicate.DeviceDuration
- func ProductKeyEQ(v string) predicate.DeviceDuration
- func ProductKeyEqualFold(v string) predicate.DeviceDuration
- func ProductKeyGT(v string) predicate.DeviceDuration
- func ProductKeyGTE(v string) predicate.DeviceDuration
- func ProductKeyHasPrefix(v string) predicate.DeviceDuration
- func ProductKeyHasSuffix(v string) predicate.DeviceDuration
- func ProductKeyIn(vs ...string) predicate.DeviceDuration
- func ProductKeyLT(v string) predicate.DeviceDuration
- func ProductKeyLTE(v string) predicate.DeviceDuration
- func ProductKeyNEQ(v string) predicate.DeviceDuration
- func ProductKeyNotIn(vs ...string) predicate.DeviceDuration
- func Sort(v uint32) predicate.DeviceDuration
- func SortEQ(v uint32) predicate.DeviceDuration
- func SortGT(v uint32) predicate.DeviceDuration
- func SortGTE(v uint32) predicate.DeviceDuration
- func SortIn(vs ...uint32) predicate.DeviceDuration
- func SortLT(v uint32) predicate.DeviceDuration
- func SortLTE(v uint32) predicate.DeviceDuration
- func SortNEQ(v uint32) predicate.DeviceDuration
- func SortNotIn(vs ...uint32) predicate.DeviceDuration
- func StandBy(v int32) predicate.DeviceDuration
- func StandByEQ(v int32) predicate.DeviceDuration
- func StandByGT(v int32) predicate.DeviceDuration
- func StandByGTE(v int32) predicate.DeviceDuration
- func StandByIn(vs ...int32) predicate.DeviceDuration
- func StandByIsNil() predicate.DeviceDuration
- func StandByLT(v int32) predicate.DeviceDuration
- func StandByLTE(v int32) predicate.DeviceDuration
- func StandByNEQ(v int32) predicate.DeviceDuration
- func StandByNotIn(vs ...int32) predicate.DeviceDuration
- func StandByNotNil() predicate.DeviceDuration
- func Status(v uint8) predicate.DeviceDuration
- func StatusEQ(v uint8) predicate.DeviceDuration
- func StatusGT(v uint8) predicate.DeviceDuration
- func StatusGTE(v uint8) predicate.DeviceDuration
- func StatusIn(vs ...uint8) predicate.DeviceDuration
- func StatusIsNil() predicate.DeviceDuration
- func StatusLT(v uint8) predicate.DeviceDuration
- func StatusLTE(v uint8) predicate.DeviceDuration
- func StatusNEQ(v uint8) predicate.DeviceDuration
- func StatusNotIn(vs ...uint8) predicate.DeviceDuration
- func StatusNotNil() predicate.DeviceDuration
- func UpdatedAt(v time.Time) predicate.DeviceDuration
- func UpdatedAtEQ(v time.Time) predicate.DeviceDuration
- func UpdatedAtGT(v time.Time) predicate.DeviceDuration
- func UpdatedAtGTE(v time.Time) predicate.DeviceDuration
- func UpdatedAtIn(vs ...time.Time) predicate.DeviceDuration
- func UpdatedAtLT(v time.Time) predicate.DeviceDuration
- func UpdatedAtLTE(v time.Time) predicate.DeviceDuration
- func UpdatedAtNEQ(v time.Time) predicate.DeviceDuration
- func UpdatedAtNotIn(vs ...time.Time) predicate.DeviceDuration
- func ValidColumn(column string) bool
- func Waiting(v int32) predicate.DeviceDuration
- func WaitingEQ(v int32) predicate.DeviceDuration
- func WaitingGT(v int32) predicate.DeviceDuration
- func WaitingGTE(v int32) predicate.DeviceDuration
- func WaitingIn(vs ...int32) predicate.DeviceDuration
- func WaitingIsNil() predicate.DeviceDuration
- func WaitingLT(v int32) predicate.DeviceDuration
- func WaitingLTE(v int32) predicate.DeviceDuration
- func WaitingNEQ(v int32) predicate.DeviceDuration
- func WaitingNotIn(vs ...int32) predicate.DeviceDuration
- func WaitingNotNil() predicate.DeviceDuration
- func Washing(v int32) predicate.DeviceDuration
- func WashingCold(v int32) predicate.DeviceDuration
- func WashingColdEQ(v int32) predicate.DeviceDuration
- func WashingColdGT(v int32) predicate.DeviceDuration
- func WashingColdGTE(v int32) predicate.DeviceDuration
- func WashingColdIn(vs ...int32) predicate.DeviceDuration
- func WashingColdIsNil() predicate.DeviceDuration
- func WashingColdLT(v int32) predicate.DeviceDuration
- func WashingColdLTE(v int32) predicate.DeviceDuration
- func WashingColdNEQ(v int32) predicate.DeviceDuration
- func WashingColdNotIn(vs ...int32) predicate.DeviceDuration
- func WashingColdNotNil() predicate.DeviceDuration
- func WashingEQ(v int32) predicate.DeviceDuration
- func WashingGT(v int32) predicate.DeviceDuration
- func WashingGTE(v int32) predicate.DeviceDuration
- func WashingIn(vs ...int32) predicate.DeviceDuration
- func WashingIsNil() predicate.DeviceDuration
- func WashingLT(v int32) predicate.DeviceDuration
- func WashingLTE(v int32) predicate.DeviceDuration
- func WashingNEQ(v int32) predicate.DeviceDuration
- func WashingNotIn(vs ...int32) predicate.DeviceDuration
- func WashingNotNil() predicate.DeviceDuration
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDate(opts ...sql.OrderTermOption) OrderOption
- func ByDayJson(opts ...sql.OrderTermOption) OrderOption
- func ByDeviceName(opts ...sql.OrderTermOption) OrderOption
- func ByEbutton(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIotID(opts ...sql.OrderTermOption) OrderOption
- func ByPreparation(opts ...sql.OrderTermOption) OrderOption
- func ByProductKey(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func ByStandBy(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByWaiting(opts ...sql.OrderTermOption) OrderOption
- func ByWashing(opts ...sql.OrderTermOption) OrderOption
- func ByWashingCold(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the deviceduration type in the database. Label = "device_duration" // 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" // FieldDate holds the string denoting the date field in the database. FieldDate = "date" // FieldStandBy holds the string denoting the standby field in the database. FieldStandBy = "stand_by" // FieldPreparation holds the string denoting the preparation field in the database. FieldPreparation = "preparation" // FieldWaiting holds the string denoting the waiting field in the database. FieldWaiting = "waiting" // FieldWashingCold holds the string denoting the washingcold field in the database. FieldWashingCold = "washing_cold" // FieldWashing holds the string denoting the washing field in the database. FieldWashing = "washing" FieldEbutton = "ebutton" // FieldDayJson holds the string denoting the dayjson field in the database. FieldDayJson = "day_json" // Table holds the table name of the deviceduration in the database. Table = "thing_device_duration" )
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, FieldDate, FieldStandBy, FieldPreparation, FieldWaiting, FieldWashingCold, FieldWashing, FieldEbutton, FieldDayJson, }
Columns holds all SQL columns for deviceduration fields.
Functions ¶
func And ¶
func And(predicates ...predicate.DeviceDuration) predicate.DeviceDuration
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.DeviceDuration
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.DeviceDuration
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.DeviceDuration
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.DeviceDuration
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.DeviceDuration
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.DeviceDuration
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.DeviceDuration
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.DeviceDuration
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.DeviceDuration
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Date ¶
func Date(v string) predicate.DeviceDuration
Date applies equality check predicate on the "date" field. It's identical to DateEQ.
func DateContains ¶
func DateContains(v string) predicate.DeviceDuration
DateContains applies the Contains predicate on the "date" field.
func DateContainsFold ¶
func DateContainsFold(v string) predicate.DeviceDuration
DateContainsFold applies the ContainsFold predicate on the "date" field.
func DateEQ ¶
func DateEQ(v string) predicate.DeviceDuration
DateEQ applies the EQ predicate on the "date" field.
func DateEqualFold ¶
func DateEqualFold(v string) predicate.DeviceDuration
DateEqualFold applies the EqualFold predicate on the "date" field.
func DateGT ¶
func DateGT(v string) predicate.DeviceDuration
DateGT applies the GT predicate on the "date" field.
func DateGTE ¶
func DateGTE(v string) predicate.DeviceDuration
DateGTE applies the GTE predicate on the "date" field.
func DateHasPrefix ¶
func DateHasPrefix(v string) predicate.DeviceDuration
DateHasPrefix applies the HasPrefix predicate on the "date" field.
func DateHasSuffix ¶
func DateHasSuffix(v string) predicate.DeviceDuration
DateHasSuffix applies the HasSuffix predicate on the "date" field.
func DateIn ¶
func DateIn(vs ...string) predicate.DeviceDuration
DateIn applies the In predicate on the "date" field.
func DateIsNil ¶
func DateIsNil() predicate.DeviceDuration
DateIsNil applies the IsNil predicate on the "date" field.
func DateLT ¶
func DateLT(v string) predicate.DeviceDuration
DateLT applies the LT predicate on the "date" field.
func DateLTE ¶
func DateLTE(v string) predicate.DeviceDuration
DateLTE applies the LTE predicate on the "date" field.
func DateNEQ ¶
func DateNEQ(v string) predicate.DeviceDuration
DateNEQ applies the NEQ predicate on the "date" field.
func DateNotIn ¶
func DateNotIn(vs ...string) predicate.DeviceDuration
DateNotIn applies the NotIn predicate on the "date" field.
func DateNotNil ¶
func DateNotNil() predicate.DeviceDuration
DateNotNil applies the NotNil predicate on the "date" field.
func DayJson ¶
func DayJson(v string) predicate.DeviceDuration
DayJson applies equality check predicate on the "dayJson" field. It's identical to DayJsonEQ.
func DayJsonContains ¶
func DayJsonContains(v string) predicate.DeviceDuration
DayJsonContains applies the Contains predicate on the "dayJson" field.
func DayJsonContainsFold ¶
func DayJsonContainsFold(v string) predicate.DeviceDuration
DayJsonContainsFold applies the ContainsFold predicate on the "dayJson" field.
func DayJsonEQ ¶
func DayJsonEQ(v string) predicate.DeviceDuration
DayJsonEQ applies the EQ predicate on the "dayJson" field.
func DayJsonEqualFold ¶
func DayJsonEqualFold(v string) predicate.DeviceDuration
DayJsonEqualFold applies the EqualFold predicate on the "dayJson" field.
func DayJsonGT ¶
func DayJsonGT(v string) predicate.DeviceDuration
DayJsonGT applies the GT predicate on the "dayJson" field.
func DayJsonGTE ¶
func DayJsonGTE(v string) predicate.DeviceDuration
DayJsonGTE applies the GTE predicate on the "dayJson" field.
func DayJsonHasPrefix ¶
func DayJsonHasPrefix(v string) predicate.DeviceDuration
DayJsonHasPrefix applies the HasPrefix predicate on the "dayJson" field.
func DayJsonHasSuffix ¶
func DayJsonHasSuffix(v string) predicate.DeviceDuration
DayJsonHasSuffix applies the HasSuffix predicate on the "dayJson" field.
func DayJsonIn ¶
func DayJsonIn(vs ...string) predicate.DeviceDuration
DayJsonIn applies the In predicate on the "dayJson" field.
func DayJsonIsNil ¶
func DayJsonIsNil() predicate.DeviceDuration
DayJsonIsNil applies the IsNil predicate on the "dayJson" field.
func DayJsonLT ¶
func DayJsonLT(v string) predicate.DeviceDuration
DayJsonLT applies the LT predicate on the "dayJson" field.
func DayJsonLTE ¶
func DayJsonLTE(v string) predicate.DeviceDuration
DayJsonLTE applies the LTE predicate on the "dayJson" field.
func DayJsonNEQ ¶
func DayJsonNEQ(v string) predicate.DeviceDuration
DayJsonNEQ applies the NEQ predicate on the "dayJson" field.
func DayJsonNotIn ¶
func DayJsonNotIn(vs ...string) predicate.DeviceDuration
DayJsonNotIn applies the NotIn predicate on the "dayJson" field.
func DayJsonNotNil ¶
func DayJsonNotNil() predicate.DeviceDuration
DayJsonNotNil applies the NotNil predicate on the "dayJson" field.
func DeviceName ¶
func DeviceName(v string) predicate.DeviceDuration
DeviceName applies equality check predicate on the "deviceName" field. It's identical to DeviceNameEQ.
func DeviceNameContains ¶
func DeviceNameContains(v string) predicate.DeviceDuration
DeviceNameContains applies the Contains predicate on the "deviceName" field.
func DeviceNameContainsFold ¶
func DeviceNameContainsFold(v string) predicate.DeviceDuration
DeviceNameContainsFold applies the ContainsFold predicate on the "deviceName" field.
func DeviceNameEQ ¶
func DeviceNameEQ(v string) predicate.DeviceDuration
DeviceNameEQ applies the EQ predicate on the "deviceName" field.
func DeviceNameEqualFold ¶
func DeviceNameEqualFold(v string) predicate.DeviceDuration
DeviceNameEqualFold applies the EqualFold predicate on the "deviceName" field.
func DeviceNameGT ¶
func DeviceNameGT(v string) predicate.DeviceDuration
DeviceNameGT applies the GT predicate on the "deviceName" field.
func DeviceNameGTE ¶
func DeviceNameGTE(v string) predicate.DeviceDuration
DeviceNameGTE applies the GTE predicate on the "deviceName" field.
func DeviceNameHasPrefix ¶
func DeviceNameHasPrefix(v string) predicate.DeviceDuration
DeviceNameHasPrefix applies the HasPrefix predicate on the "deviceName" field.
func DeviceNameHasSuffix ¶
func DeviceNameHasSuffix(v string) predicate.DeviceDuration
DeviceNameHasSuffix applies the HasSuffix predicate on the "deviceName" field.
func DeviceNameIn ¶
func DeviceNameIn(vs ...string) predicate.DeviceDuration
DeviceNameIn applies the In predicate on the "deviceName" field.
func DeviceNameLT ¶
func DeviceNameLT(v string) predicate.DeviceDuration
DeviceNameLT applies the LT predicate on the "deviceName" field.
func DeviceNameLTE ¶
func DeviceNameLTE(v string) predicate.DeviceDuration
DeviceNameLTE applies the LTE predicate on the "deviceName" field.
func DeviceNameNEQ ¶
func DeviceNameNEQ(v string) predicate.DeviceDuration
DeviceNameNEQ applies the NEQ predicate on the "deviceName" field.
func DeviceNameNotIn ¶
func DeviceNameNotIn(vs ...string) predicate.DeviceDuration
DeviceNameNotIn applies the NotIn predicate on the "deviceName" field.
func Ebutton ¶
func Ebutton(v int32) predicate.DeviceDuration
Ebutton applies equality check predicate on the "ebutton" field. It's identical to EbuttonEQ.
func EbuttonEQ ¶
func EbuttonEQ(v int32) predicate.DeviceDuration
EbuttonEQ applies the EQ predicate on the "ebutton" field.
func EbuttonGT ¶
func EbuttonGT(v int32) predicate.DeviceDuration
EbuttonGT applies the GT predicate on the "ebutton" field.
func EbuttonGTE ¶
func EbuttonGTE(v int32) predicate.DeviceDuration
EbuttonGTE applies the GTE predicate on the "ebutton" field.
func EbuttonIn ¶
func EbuttonIn(vs ...int32) predicate.DeviceDuration
EbuttonIn applies the In predicate on the "ebutton" field.
func EbuttonIsNil ¶
func EbuttonIsNil() predicate.DeviceDuration
EbuttonIsNil applies the IsNil predicate on the "ebutton" field.
func EbuttonLT ¶
func EbuttonLT(v int32) predicate.DeviceDuration
EbuttonLT applies the LT predicate on the "ebutton" field.
func EbuttonLTE ¶
func EbuttonLTE(v int32) predicate.DeviceDuration
EbuttonLTE applies the LTE predicate on the "ebutton" field.
func EbuttonNEQ ¶
func EbuttonNEQ(v int32) predicate.DeviceDuration
EbuttonNEQ applies the NEQ predicate on the "ebutton" field.
func EbuttonNotIn ¶
func EbuttonNotIn(vs ...int32) predicate.DeviceDuration
EbuttonNotIn applies the NotIn predicate on the "ebutton" field.
func EbuttonNotNil ¶
func EbuttonNotNil() predicate.DeviceDuration
EbuttonNotNil applies the NotNil predicate on the "ebutton" field.
func IDEQ ¶
func IDEQ(id uint64) predicate.DeviceDuration
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint64) predicate.DeviceDuration
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint64) predicate.DeviceDuration
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint64) predicate.DeviceDuration
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint64) predicate.DeviceDuration
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint64) predicate.DeviceDuration
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint64) predicate.DeviceDuration
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint64) predicate.DeviceDuration
IDNotIn applies the NotIn predicate on the ID field.
func IotID ¶
func IotID(v string) predicate.DeviceDuration
IotID applies equality check predicate on the "iotID" field. It's identical to IotIDEQ.
func IotIDContains ¶
func IotIDContains(v string) predicate.DeviceDuration
IotIDContains applies the Contains predicate on the "iotID" field.
func IotIDContainsFold ¶
func IotIDContainsFold(v string) predicate.DeviceDuration
IotIDContainsFold applies the ContainsFold predicate on the "iotID" field.
func IotIDEQ ¶
func IotIDEQ(v string) predicate.DeviceDuration
IotIDEQ applies the EQ predicate on the "iotID" field.
func IotIDEqualFold ¶
func IotIDEqualFold(v string) predicate.DeviceDuration
IotIDEqualFold applies the EqualFold predicate on the "iotID" field.
func IotIDGT ¶
func IotIDGT(v string) predicate.DeviceDuration
IotIDGT applies the GT predicate on the "iotID" field.
func IotIDGTE ¶
func IotIDGTE(v string) predicate.DeviceDuration
IotIDGTE applies the GTE predicate on the "iotID" field.
func IotIDHasPrefix ¶
func IotIDHasPrefix(v string) predicate.DeviceDuration
IotIDHasPrefix applies the HasPrefix predicate on the "iotID" field.
func IotIDHasSuffix ¶
func IotIDHasSuffix(v string) predicate.DeviceDuration
IotIDHasSuffix applies the HasSuffix predicate on the "iotID" field.
func IotIDIn ¶
func IotIDIn(vs ...string) predicate.DeviceDuration
IotIDIn applies the In predicate on the "iotID" field.
func IotIDLT ¶
func IotIDLT(v string) predicate.DeviceDuration
IotIDLT applies the LT predicate on the "iotID" field.
func IotIDLTE ¶
func IotIDLTE(v string) predicate.DeviceDuration
IotIDLTE applies the LTE predicate on the "iotID" field.
func IotIDNEQ ¶
func IotIDNEQ(v string) predicate.DeviceDuration
IotIDNEQ applies the NEQ predicate on the "iotID" field.
func IotIDNotIn ¶
func IotIDNotIn(vs ...string) predicate.DeviceDuration
IotIDNotIn applies the NotIn predicate on the "iotID" field.
func Not ¶
func Not(p predicate.DeviceDuration) predicate.DeviceDuration
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.DeviceDuration) predicate.DeviceDuration
Or groups predicates with the OR operator between them.
func Preparation ¶
func Preparation(v int32) predicate.DeviceDuration
Preparation applies equality check predicate on the "preparation" field. It's identical to PreparationEQ.
func PreparationEQ ¶
func PreparationEQ(v int32) predicate.DeviceDuration
PreparationEQ applies the EQ predicate on the "preparation" field.
func PreparationGT ¶
func PreparationGT(v int32) predicate.DeviceDuration
PreparationGT applies the GT predicate on the "preparation" field.
func PreparationGTE ¶
func PreparationGTE(v int32) predicate.DeviceDuration
PreparationGTE applies the GTE predicate on the "preparation" field.
func PreparationIn ¶
func PreparationIn(vs ...int32) predicate.DeviceDuration
PreparationIn applies the In predicate on the "preparation" field.
func PreparationIsNil ¶
func PreparationIsNil() predicate.DeviceDuration
PreparationIsNil applies the IsNil predicate on the "preparation" field.
func PreparationLT ¶
func PreparationLT(v int32) predicate.DeviceDuration
PreparationLT applies the LT predicate on the "preparation" field.
func PreparationLTE ¶
func PreparationLTE(v int32) predicate.DeviceDuration
PreparationLTE applies the LTE predicate on the "preparation" field.
func PreparationNEQ ¶
func PreparationNEQ(v int32) predicate.DeviceDuration
PreparationNEQ applies the NEQ predicate on the "preparation" field.
func PreparationNotIn ¶
func PreparationNotIn(vs ...int32) predicate.DeviceDuration
PreparationNotIn applies the NotIn predicate on the "preparation" field.
func PreparationNotNil ¶
func PreparationNotNil() predicate.DeviceDuration
PreparationNotNil applies the NotNil predicate on the "preparation" field.
func ProductKey ¶
func ProductKey(v string) predicate.DeviceDuration
ProductKey applies equality check predicate on the "productKey" field. It's identical to ProductKeyEQ.
func ProductKeyContains ¶
func ProductKeyContains(v string) predicate.DeviceDuration
ProductKeyContains applies the Contains predicate on the "productKey" field.
func ProductKeyContainsFold ¶
func ProductKeyContainsFold(v string) predicate.DeviceDuration
ProductKeyContainsFold applies the ContainsFold predicate on the "productKey" field.
func ProductKeyEQ ¶
func ProductKeyEQ(v string) predicate.DeviceDuration
ProductKeyEQ applies the EQ predicate on the "productKey" field.
func ProductKeyEqualFold ¶
func ProductKeyEqualFold(v string) predicate.DeviceDuration
ProductKeyEqualFold applies the EqualFold predicate on the "productKey" field.
func ProductKeyGT ¶
func ProductKeyGT(v string) predicate.DeviceDuration
ProductKeyGT applies the GT predicate on the "productKey" field.
func ProductKeyGTE ¶
func ProductKeyGTE(v string) predicate.DeviceDuration
ProductKeyGTE applies the GTE predicate on the "productKey" field.
func ProductKeyHasPrefix ¶
func ProductKeyHasPrefix(v string) predicate.DeviceDuration
ProductKeyHasPrefix applies the HasPrefix predicate on the "productKey" field.
func ProductKeyHasSuffix ¶
func ProductKeyHasSuffix(v string) predicate.DeviceDuration
ProductKeyHasSuffix applies the HasSuffix predicate on the "productKey" field.
func ProductKeyIn ¶
func ProductKeyIn(vs ...string) predicate.DeviceDuration
ProductKeyIn applies the In predicate on the "productKey" field.
func ProductKeyLT ¶
func ProductKeyLT(v string) predicate.DeviceDuration
ProductKeyLT applies the LT predicate on the "productKey" field.
func ProductKeyLTE ¶
func ProductKeyLTE(v string) predicate.DeviceDuration
ProductKeyLTE applies the LTE predicate on the "productKey" field.
func ProductKeyNEQ ¶
func ProductKeyNEQ(v string) predicate.DeviceDuration
ProductKeyNEQ applies the NEQ predicate on the "productKey" field.
func ProductKeyNotIn ¶
func ProductKeyNotIn(vs ...string) predicate.DeviceDuration
ProductKeyNotIn applies the NotIn predicate on the "productKey" field.
func Sort ¶
func Sort(v uint32) predicate.DeviceDuration
Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.
func SortEQ ¶
func SortEQ(v uint32) predicate.DeviceDuration
SortEQ applies the EQ predicate on the "sort" field.
func SortGT ¶
func SortGT(v uint32) predicate.DeviceDuration
SortGT applies the GT predicate on the "sort" field.
func SortGTE ¶
func SortGTE(v uint32) predicate.DeviceDuration
SortGTE applies the GTE predicate on the "sort" field.
func SortIn ¶
func SortIn(vs ...uint32) predicate.DeviceDuration
SortIn applies the In predicate on the "sort" field.
func SortLT ¶
func SortLT(v uint32) predicate.DeviceDuration
SortLT applies the LT predicate on the "sort" field.
func SortLTE ¶
func SortLTE(v uint32) predicate.DeviceDuration
SortLTE applies the LTE predicate on the "sort" field.
func SortNEQ ¶
func SortNEQ(v uint32) predicate.DeviceDuration
SortNEQ applies the NEQ predicate on the "sort" field.
func SortNotIn ¶
func SortNotIn(vs ...uint32) predicate.DeviceDuration
SortNotIn applies the NotIn predicate on the "sort" field.
func StandBy ¶
func StandBy(v int32) predicate.DeviceDuration
StandBy applies equality check predicate on the "standBy" field. It's identical to StandByEQ.
func StandByEQ ¶
func StandByEQ(v int32) predicate.DeviceDuration
StandByEQ applies the EQ predicate on the "standBy" field.
func StandByGT ¶
func StandByGT(v int32) predicate.DeviceDuration
StandByGT applies the GT predicate on the "standBy" field.
func StandByGTE ¶
func StandByGTE(v int32) predicate.DeviceDuration
StandByGTE applies the GTE predicate on the "standBy" field.
func StandByIn ¶
func StandByIn(vs ...int32) predicate.DeviceDuration
StandByIn applies the In predicate on the "standBy" field.
func StandByIsNil ¶
func StandByIsNil() predicate.DeviceDuration
StandByIsNil applies the IsNil predicate on the "standBy" field.
func StandByLT ¶
func StandByLT(v int32) predicate.DeviceDuration
StandByLT applies the LT predicate on the "standBy" field.
func StandByLTE ¶
func StandByLTE(v int32) predicate.DeviceDuration
StandByLTE applies the LTE predicate on the "standBy" field.
func StandByNEQ ¶
func StandByNEQ(v int32) predicate.DeviceDuration
StandByNEQ applies the NEQ predicate on the "standBy" field.
func StandByNotIn ¶
func StandByNotIn(vs ...int32) predicate.DeviceDuration
StandByNotIn applies the NotIn predicate on the "standBy" field.
func StandByNotNil ¶
func StandByNotNil() predicate.DeviceDuration
StandByNotNil applies the NotNil predicate on the "standBy" field.
func Status ¶
func Status(v uint8) predicate.DeviceDuration
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusEQ ¶
func StatusEQ(v uint8) predicate.DeviceDuration
StatusEQ applies the EQ predicate on the "status" field.
func StatusGT ¶
func StatusGT(v uint8) predicate.DeviceDuration
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v uint8) predicate.DeviceDuration
StatusGTE applies the GTE predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...uint8) predicate.DeviceDuration
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶
func StatusIsNil() predicate.DeviceDuration
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusLT ¶
func StatusLT(v uint8) predicate.DeviceDuration
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v uint8) predicate.DeviceDuration
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v uint8) predicate.DeviceDuration
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...uint8) predicate.DeviceDuration
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
func StatusNotNil() predicate.DeviceDuration
StatusNotNil applies the NotNil predicate on the "status" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.DeviceDuration
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.DeviceDuration
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.DeviceDuration
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.DeviceDuration
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.DeviceDuration
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.DeviceDuration
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.DeviceDuration
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.DeviceDuration
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.DeviceDuration
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 Waiting ¶
func Waiting(v int32) predicate.DeviceDuration
Waiting applies equality check predicate on the "waiting" field. It's identical to WaitingEQ.
func WaitingEQ ¶
func WaitingEQ(v int32) predicate.DeviceDuration
WaitingEQ applies the EQ predicate on the "waiting" field.
func WaitingGT ¶
func WaitingGT(v int32) predicate.DeviceDuration
WaitingGT applies the GT predicate on the "waiting" field.
func WaitingGTE ¶
func WaitingGTE(v int32) predicate.DeviceDuration
WaitingGTE applies the GTE predicate on the "waiting" field.
func WaitingIn ¶
func WaitingIn(vs ...int32) predicate.DeviceDuration
WaitingIn applies the In predicate on the "waiting" field.
func WaitingIsNil ¶
func WaitingIsNil() predicate.DeviceDuration
WaitingIsNil applies the IsNil predicate on the "waiting" field.
func WaitingLT ¶
func WaitingLT(v int32) predicate.DeviceDuration
WaitingLT applies the LT predicate on the "waiting" field.
func WaitingLTE ¶
func WaitingLTE(v int32) predicate.DeviceDuration
WaitingLTE applies the LTE predicate on the "waiting" field.
func WaitingNEQ ¶
func WaitingNEQ(v int32) predicate.DeviceDuration
WaitingNEQ applies the NEQ predicate on the "waiting" field.
func WaitingNotIn ¶
func WaitingNotIn(vs ...int32) predicate.DeviceDuration
WaitingNotIn applies the NotIn predicate on the "waiting" field.
func WaitingNotNil ¶
func WaitingNotNil() predicate.DeviceDuration
WaitingNotNil applies the NotNil predicate on the "waiting" field.
func Washing ¶
func Washing(v int32) predicate.DeviceDuration
Washing applies equality check predicate on the "washing" field. It's identical to WashingEQ.
func WashingCold ¶
func WashingCold(v int32) predicate.DeviceDuration
WashingCold applies equality check predicate on the "washingCold" field. It's identical to WashingColdEQ.
func WashingColdEQ ¶
func WashingColdEQ(v int32) predicate.DeviceDuration
WashingColdEQ applies the EQ predicate on the "washingCold" field.
func WashingColdGT ¶
func WashingColdGT(v int32) predicate.DeviceDuration
WashingColdGT applies the GT predicate on the "washingCold" field.
func WashingColdGTE ¶
func WashingColdGTE(v int32) predicate.DeviceDuration
WashingColdGTE applies the GTE predicate on the "washingCold" field.
func WashingColdIn ¶
func WashingColdIn(vs ...int32) predicate.DeviceDuration
WashingColdIn applies the In predicate on the "washingCold" field.
func WashingColdIsNil ¶
func WashingColdIsNil() predicate.DeviceDuration
WashingColdIsNil applies the IsNil predicate on the "washingCold" field.
func WashingColdLT ¶
func WashingColdLT(v int32) predicate.DeviceDuration
WashingColdLT applies the LT predicate on the "washingCold" field.
func WashingColdLTE ¶
func WashingColdLTE(v int32) predicate.DeviceDuration
WashingColdLTE applies the LTE predicate on the "washingCold" field.
func WashingColdNEQ ¶
func WashingColdNEQ(v int32) predicate.DeviceDuration
WashingColdNEQ applies the NEQ predicate on the "washingCold" field.
func WashingColdNotIn ¶
func WashingColdNotIn(vs ...int32) predicate.DeviceDuration
WashingColdNotIn applies the NotIn predicate on the "washingCold" field.
func WashingColdNotNil ¶
func WashingColdNotNil() predicate.DeviceDuration
WashingColdNotNil applies the NotNil predicate on the "washingCold" field.
func WashingEQ ¶
func WashingEQ(v int32) predicate.DeviceDuration
WashingEQ applies the EQ predicate on the "washing" field.
func WashingGT ¶
func WashingGT(v int32) predicate.DeviceDuration
WashingGT applies the GT predicate on the "washing" field.
func WashingGTE ¶
func WashingGTE(v int32) predicate.DeviceDuration
WashingGTE applies the GTE predicate on the "washing" field.
func WashingIn ¶
func WashingIn(vs ...int32) predicate.DeviceDuration
WashingIn applies the In predicate on the "washing" field.
func WashingIsNil ¶
func WashingIsNil() predicate.DeviceDuration
WashingIsNil applies the IsNil predicate on the "washing" field.
func WashingLT ¶
func WashingLT(v int32) predicate.DeviceDuration
WashingLT applies the LT predicate on the "washing" field.
func WashingLTE ¶
func WashingLTE(v int32) predicate.DeviceDuration
WashingLTE applies the LTE predicate on the "washing" field.
func WashingNEQ ¶
func WashingNEQ(v int32) predicate.DeviceDuration
WashingNEQ applies the NEQ predicate on the "washing" field.
func WashingNotIn ¶
func WashingNotIn(vs ...int32) predicate.DeviceDuration
WashingNotIn applies the NotIn predicate on the "washing" field.
func WashingNotNil ¶
func WashingNotNil() predicate.DeviceDuration
WashingNotNil applies the NotNil predicate on the "washing" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the DeviceDuration queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDate ¶
func ByDate(opts ...sql.OrderTermOption) OrderOption
ByDate orders the results by the date field.
func ByDayJson ¶
func ByDayJson(opts ...sql.OrderTermOption) OrderOption
ByDayJson orders the results by the dayJson field.
func ByDeviceName ¶
func ByDeviceName(opts ...sql.OrderTermOption) OrderOption
ByDeviceName orders the results by the deviceName field.
func ByEbutton ¶
func ByEbutton(opts ...sql.OrderTermOption) OrderOption
ByEbutton orders the results by the ebutton 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 ByPreparation ¶
func ByPreparation(opts ...sql.OrderTermOption) OrderOption
ByPreparation orders the results by the preparation 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 ByStandBy ¶
func ByStandBy(opts ...sql.OrderTermOption) OrderOption
ByStandBy orders the results by the standBy 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.
func ByWaiting ¶
func ByWaiting(opts ...sql.OrderTermOption) OrderOption
ByWaiting orders the results by the waiting field.
func ByWashing ¶
func ByWashing(opts ...sql.OrderTermOption) OrderOption
ByWashing orders the results by the washing field.
func ByWashingCold ¶
func ByWashingCold(opts ...sql.OrderTermOption) OrderOption
ByWashingCold orders the results by the washingCold field.