deviceupstercycle

package
v0.0.0-...-24d6c83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the deviceupstercycle type in the database.
	Label = "device_upster_cycle"
	// 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"
	// FieldTimestamp holds the string denoting the timestamp field in the database.
	FieldTimestamp = "timestamp"
	// FieldNumber1 holds the string denoting the number1 field in the database.
	FieldNumber1 = "number1"
	// FieldNumber2 holds the string denoting the number2 field in the database.
	FieldNumber2 = "number2"
	// FieldNumber3 holds the string denoting the number3 field in the database.
	FieldNumber3 = "number3"
	// FieldNumberCycles holds the string denoting the numbercycles field in the database.
	FieldNumberCycles = "number_cycles"
	// FieldNumberRegeneration holds the string denoting the numberregeneration field in the database.
	FieldNumberRegeneration = "number_regeneration"
	// FieldNumberRinsingCycles holds the string denoting the numberrinsingcycles field in the database.
	FieldNumberRinsingCycles = "number_rinsing_cycles"
	// FieldTotalOperationTime holds the string denoting the totaloperationtime field in the database.
	FieldTotalOperationTime = "total_operation_time"
	// Table holds the table name of the deviceupstercycle in the database.
	Table = "thing_upster_cycle"
)

Variables

View Source
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
)

Columns holds all SQL columns for deviceupstercycle fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.DeviceUpsterCycle

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.DeviceUpsterCycle

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.DeviceUpsterCycle

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.DeviceUpsterCycle

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.DeviceUpsterCycle

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.DeviceUpsterCycle

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.DeviceUpsterCycle

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.DeviceUpsterCycle

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.DeviceUpsterCycle

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeviceName

func DeviceName(v string) predicate.DeviceUpsterCycle

DeviceName applies equality check predicate on the "deviceName" field. It's identical to DeviceNameEQ.

func DeviceNameContains

func DeviceNameContains(v string) predicate.DeviceUpsterCycle

DeviceNameContains applies the Contains predicate on the "deviceName" field.

func DeviceNameContainsFold

func DeviceNameContainsFold(v string) predicate.DeviceUpsterCycle

DeviceNameContainsFold applies the ContainsFold predicate on the "deviceName" field.

func DeviceNameEQ

func DeviceNameEQ(v string) predicate.DeviceUpsterCycle

DeviceNameEQ applies the EQ predicate on the "deviceName" field.

func DeviceNameEqualFold

func DeviceNameEqualFold(v string) predicate.DeviceUpsterCycle

DeviceNameEqualFold applies the EqualFold predicate on the "deviceName" field.

func DeviceNameGT

func DeviceNameGT(v string) predicate.DeviceUpsterCycle

DeviceNameGT applies the GT predicate on the "deviceName" field.

func DeviceNameGTE

func DeviceNameGTE(v string) predicate.DeviceUpsterCycle

DeviceNameGTE applies the GTE predicate on the "deviceName" field.

func DeviceNameHasPrefix

func DeviceNameHasPrefix(v string) predicate.DeviceUpsterCycle

DeviceNameHasPrefix applies the HasPrefix predicate on the "deviceName" field.

func DeviceNameHasSuffix

func DeviceNameHasSuffix(v string) predicate.DeviceUpsterCycle

DeviceNameHasSuffix applies the HasSuffix predicate on the "deviceName" field.

func DeviceNameIn

func DeviceNameIn(vs ...string) predicate.DeviceUpsterCycle

DeviceNameIn applies the In predicate on the "deviceName" field.

func DeviceNameLT

func DeviceNameLT(v string) predicate.DeviceUpsterCycle

DeviceNameLT applies the LT predicate on the "deviceName" field.

func DeviceNameLTE

func DeviceNameLTE(v string) predicate.DeviceUpsterCycle

DeviceNameLTE applies the LTE predicate on the "deviceName" field.

func DeviceNameNEQ

func DeviceNameNEQ(v string) predicate.DeviceUpsterCycle

DeviceNameNEQ applies the NEQ predicate on the "deviceName" field.

func DeviceNameNotIn

func DeviceNameNotIn(vs ...string) predicate.DeviceUpsterCycle

DeviceNameNotIn applies the NotIn predicate on the "deviceName" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint64) predicate.DeviceUpsterCycle

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint64) predicate.DeviceUpsterCycle

IDNotIn applies the NotIn predicate on the ID field.

func IotID

IotID applies equality check predicate on the "iotID" field. It's identical to IotIDEQ.

func IotIDContains

func IotIDContains(v string) predicate.DeviceUpsterCycle

IotIDContains applies the Contains predicate on the "iotID" field.

func IotIDContainsFold

func IotIDContainsFold(v string) predicate.DeviceUpsterCycle

IotIDContainsFold applies the ContainsFold predicate on the "iotID" field.

func IotIDEQ

IotIDEQ applies the EQ predicate on the "iotID" field.

func IotIDEqualFold

func IotIDEqualFold(v string) predicate.DeviceUpsterCycle

IotIDEqualFold applies the EqualFold predicate on the "iotID" field.

func IotIDGT

IotIDGT applies the GT predicate on the "iotID" field.

func IotIDGTE

IotIDGTE applies the GTE predicate on the "iotID" field.

func IotIDHasPrefix

func IotIDHasPrefix(v string) predicate.DeviceUpsterCycle

IotIDHasPrefix applies the HasPrefix predicate on the "iotID" field.

func IotIDHasSuffix

func IotIDHasSuffix(v string) predicate.DeviceUpsterCycle

IotIDHasSuffix applies the HasSuffix predicate on the "iotID" field.

func IotIDIn

func IotIDIn(vs ...string) predicate.DeviceUpsterCycle

IotIDIn applies the In predicate on the "iotID" field.

func IotIDLT

IotIDLT applies the LT predicate on the "iotID" field.

func IotIDLTE

IotIDLTE applies the LTE predicate on the "iotID" field.

func IotIDNEQ

IotIDNEQ applies the NEQ predicate on the "iotID" field.

func IotIDNotIn

func IotIDNotIn(vs ...string) predicate.DeviceUpsterCycle

IotIDNotIn applies the NotIn predicate on the "iotID" field.

func Not

Not applies the not operator on the given predicate.

func Number1

Number1 applies equality check predicate on the "number1" field. It's identical to Number1EQ.

func Number1EQ

func Number1EQ(v int32) predicate.DeviceUpsterCycle

Number1EQ applies the EQ predicate on the "number1" field.

func Number1GT

func Number1GT(v int32) predicate.DeviceUpsterCycle

Number1GT applies the GT predicate on the "number1" field.

func Number1GTE

func Number1GTE(v int32) predicate.DeviceUpsterCycle

Number1GTE applies the GTE predicate on the "number1" field.

func Number1In

func Number1In(vs ...int32) predicate.DeviceUpsterCycle

Number1In applies the In predicate on the "number1" field.

func Number1IsNil

func Number1IsNil() predicate.DeviceUpsterCycle

Number1IsNil applies the IsNil predicate on the "number1" field.

func Number1LT

func Number1LT(v int32) predicate.DeviceUpsterCycle

Number1LT applies the LT predicate on the "number1" field.

func Number1LTE

func Number1LTE(v int32) predicate.DeviceUpsterCycle

Number1LTE applies the LTE predicate on the "number1" field.

func Number1NEQ

func Number1NEQ(v int32) predicate.DeviceUpsterCycle

Number1NEQ applies the NEQ predicate on the "number1" field.

func Number1NotIn

func Number1NotIn(vs ...int32) predicate.DeviceUpsterCycle

Number1NotIn applies the NotIn predicate on the "number1" field.

func Number1NotNil

func Number1NotNil() predicate.DeviceUpsterCycle

Number1NotNil applies the NotNil predicate on the "number1" field.

func Number2

Number2 applies equality check predicate on the "number2" field. It's identical to Number2EQ.

func Number2EQ

func Number2EQ(v int32) predicate.DeviceUpsterCycle

Number2EQ applies the EQ predicate on the "number2" field.

func Number2GT

func Number2GT(v int32) predicate.DeviceUpsterCycle

Number2GT applies the GT predicate on the "number2" field.

func Number2GTE

func Number2GTE(v int32) predicate.DeviceUpsterCycle

Number2GTE applies the GTE predicate on the "number2" field.

func Number2In

func Number2In(vs ...int32) predicate.DeviceUpsterCycle

Number2In applies the In predicate on the "number2" field.

func Number2IsNil

func Number2IsNil() predicate.DeviceUpsterCycle

Number2IsNil applies the IsNil predicate on the "number2" field.

func Number2LT

func Number2LT(v int32) predicate.DeviceUpsterCycle

Number2LT applies the LT predicate on the "number2" field.

func Number2LTE

func Number2LTE(v int32) predicate.DeviceUpsterCycle

Number2LTE applies the LTE predicate on the "number2" field.

func Number2NEQ

func Number2NEQ(v int32) predicate.DeviceUpsterCycle

Number2NEQ applies the NEQ predicate on the "number2" field.

func Number2NotIn

func Number2NotIn(vs ...int32) predicate.DeviceUpsterCycle

Number2NotIn applies the NotIn predicate on the "number2" field.

func Number2NotNil

func Number2NotNil() predicate.DeviceUpsterCycle

Number2NotNil applies the NotNil predicate on the "number2" field.

func Number3

Number3 applies equality check predicate on the "number3" field. It's identical to Number3EQ.

func Number3EQ

func Number3EQ(v int32) predicate.DeviceUpsterCycle

Number3EQ applies the EQ predicate on the "number3" field.

func Number3GT

func Number3GT(v int32) predicate.DeviceUpsterCycle

Number3GT applies the GT predicate on the "number3" field.

func Number3GTE

func Number3GTE(v int32) predicate.DeviceUpsterCycle

Number3GTE applies the GTE predicate on the "number3" field.

func Number3In

func Number3In(vs ...int32) predicate.DeviceUpsterCycle

Number3In applies the In predicate on the "number3" field.

func Number3IsNil

func Number3IsNil() predicate.DeviceUpsterCycle

Number3IsNil applies the IsNil predicate on the "number3" field.

func Number3LT

func Number3LT(v int32) predicate.DeviceUpsterCycle

Number3LT applies the LT predicate on the "number3" field.

func Number3LTE

func Number3LTE(v int32) predicate.DeviceUpsterCycle

Number3LTE applies the LTE predicate on the "number3" field.

func Number3NEQ

func Number3NEQ(v int32) predicate.DeviceUpsterCycle

Number3NEQ applies the NEQ predicate on the "number3" field.

func Number3NotIn

func Number3NotIn(vs ...int32) predicate.DeviceUpsterCycle

Number3NotIn applies the NotIn predicate on the "number3" field.

func Number3NotNil

func Number3NotNil() predicate.DeviceUpsterCycle

Number3NotNil applies the NotNil predicate on the "number3" field.

func NumberCycles

func NumberCycles(v int32) predicate.DeviceUpsterCycle

NumberCycles applies equality check predicate on the "numberCycles" field. It's identical to NumberCyclesEQ.

func NumberCyclesEQ

func NumberCyclesEQ(v int32) predicate.DeviceUpsterCycle

NumberCyclesEQ applies the EQ predicate on the "numberCycles" field.

func NumberCyclesGT

func NumberCyclesGT(v int32) predicate.DeviceUpsterCycle

NumberCyclesGT applies the GT predicate on the "numberCycles" field.

func NumberCyclesGTE

func NumberCyclesGTE(v int32) predicate.DeviceUpsterCycle

NumberCyclesGTE applies the GTE predicate on the "numberCycles" field.

func NumberCyclesIn

func NumberCyclesIn(vs ...int32) predicate.DeviceUpsterCycle

NumberCyclesIn applies the In predicate on the "numberCycles" field.

func NumberCyclesIsNil

func NumberCyclesIsNil() predicate.DeviceUpsterCycle

NumberCyclesIsNil applies the IsNil predicate on the "numberCycles" field.

func NumberCyclesLT

func NumberCyclesLT(v int32) predicate.DeviceUpsterCycle

NumberCyclesLT applies the LT predicate on the "numberCycles" field.

func NumberCyclesLTE

func NumberCyclesLTE(v int32) predicate.DeviceUpsterCycle

NumberCyclesLTE applies the LTE predicate on the "numberCycles" field.

func NumberCyclesNEQ

func NumberCyclesNEQ(v int32) predicate.DeviceUpsterCycle

NumberCyclesNEQ applies the NEQ predicate on the "numberCycles" field.

func NumberCyclesNotIn

func NumberCyclesNotIn(vs ...int32) predicate.DeviceUpsterCycle

NumberCyclesNotIn applies the NotIn predicate on the "numberCycles" field.

func NumberCyclesNotNil

func NumberCyclesNotNil() predicate.DeviceUpsterCycle

NumberCyclesNotNil applies the NotNil predicate on the "numberCycles" field.

func NumberRegeneration

func NumberRegeneration(v int32) predicate.DeviceUpsterCycle

NumberRegeneration applies equality check predicate on the "numberRegeneration" field. It's identical to NumberRegenerationEQ.

func NumberRegenerationEQ

func NumberRegenerationEQ(v int32) predicate.DeviceUpsterCycle

NumberRegenerationEQ applies the EQ predicate on the "numberRegeneration" field.

func NumberRegenerationGT

func NumberRegenerationGT(v int32) predicate.DeviceUpsterCycle

NumberRegenerationGT applies the GT predicate on the "numberRegeneration" field.

func NumberRegenerationGTE

func NumberRegenerationGTE(v int32) predicate.DeviceUpsterCycle

NumberRegenerationGTE applies the GTE predicate on the "numberRegeneration" field.

func NumberRegenerationIn

func NumberRegenerationIn(vs ...int32) predicate.DeviceUpsterCycle

NumberRegenerationIn applies the In predicate on the "numberRegeneration" field.

func NumberRegenerationIsNil

func NumberRegenerationIsNil() predicate.DeviceUpsterCycle

NumberRegenerationIsNil applies the IsNil predicate on the "numberRegeneration" field.

func NumberRegenerationLT

func NumberRegenerationLT(v int32) predicate.DeviceUpsterCycle

NumberRegenerationLT applies the LT predicate on the "numberRegeneration" field.

func NumberRegenerationLTE

func NumberRegenerationLTE(v int32) predicate.DeviceUpsterCycle

NumberRegenerationLTE applies the LTE predicate on the "numberRegeneration" field.

func NumberRegenerationNEQ

func NumberRegenerationNEQ(v int32) predicate.DeviceUpsterCycle

NumberRegenerationNEQ applies the NEQ predicate on the "numberRegeneration" field.

func NumberRegenerationNotIn

func NumberRegenerationNotIn(vs ...int32) predicate.DeviceUpsterCycle

NumberRegenerationNotIn applies the NotIn predicate on the "numberRegeneration" field.

func NumberRegenerationNotNil

func NumberRegenerationNotNil() predicate.DeviceUpsterCycle

NumberRegenerationNotNil applies the NotNil predicate on the "numberRegeneration" field.

func NumberRinsingCycles

func NumberRinsingCycles(v int32) predicate.DeviceUpsterCycle

NumberRinsingCycles applies equality check predicate on the "numberRinsingCycles" field. It's identical to NumberRinsingCyclesEQ.

func NumberRinsingCyclesEQ

func NumberRinsingCyclesEQ(v int32) predicate.DeviceUpsterCycle

NumberRinsingCyclesEQ applies the EQ predicate on the "numberRinsingCycles" field.

func NumberRinsingCyclesGT

func NumberRinsingCyclesGT(v int32) predicate.DeviceUpsterCycle

NumberRinsingCyclesGT applies the GT predicate on the "numberRinsingCycles" field.

func NumberRinsingCyclesGTE

func NumberRinsingCyclesGTE(v int32) predicate.DeviceUpsterCycle

NumberRinsingCyclesGTE applies the GTE predicate on the "numberRinsingCycles" field.

func NumberRinsingCyclesIn

func NumberRinsingCyclesIn(vs ...int32) predicate.DeviceUpsterCycle

NumberRinsingCyclesIn applies the In predicate on the "numberRinsingCycles" field.

func NumberRinsingCyclesIsNil

func NumberRinsingCyclesIsNil() predicate.DeviceUpsterCycle

NumberRinsingCyclesIsNil applies the IsNil predicate on the "numberRinsingCycles" field.

func NumberRinsingCyclesLT

func NumberRinsingCyclesLT(v int32) predicate.DeviceUpsterCycle

NumberRinsingCyclesLT applies the LT predicate on the "numberRinsingCycles" field.

func NumberRinsingCyclesLTE

func NumberRinsingCyclesLTE(v int32) predicate.DeviceUpsterCycle

NumberRinsingCyclesLTE applies the LTE predicate on the "numberRinsingCycles" field.

func NumberRinsingCyclesNEQ

func NumberRinsingCyclesNEQ(v int32) predicate.DeviceUpsterCycle

NumberRinsingCyclesNEQ applies the NEQ predicate on the "numberRinsingCycles" field.

func NumberRinsingCyclesNotIn

func NumberRinsingCyclesNotIn(vs ...int32) predicate.DeviceUpsterCycle

NumberRinsingCyclesNotIn applies the NotIn predicate on the "numberRinsingCycles" field.

func NumberRinsingCyclesNotNil

func NumberRinsingCyclesNotNil() predicate.DeviceUpsterCycle

NumberRinsingCyclesNotNil applies the NotNil predicate on the "numberRinsingCycles" field.

func Or

Or groups predicates with the OR operator between them.

func ProductKey

func ProductKey(v string) predicate.DeviceUpsterCycle

ProductKey applies equality check predicate on the "productKey" field. It's identical to ProductKeyEQ.

func ProductKeyContains

func ProductKeyContains(v string) predicate.DeviceUpsterCycle

ProductKeyContains applies the Contains predicate on the "productKey" field.

func ProductKeyContainsFold

func ProductKeyContainsFold(v string) predicate.DeviceUpsterCycle

ProductKeyContainsFold applies the ContainsFold predicate on the "productKey" field.

func ProductKeyEQ

func ProductKeyEQ(v string) predicate.DeviceUpsterCycle

ProductKeyEQ applies the EQ predicate on the "productKey" field.

func ProductKeyEqualFold

func ProductKeyEqualFold(v string) predicate.DeviceUpsterCycle

ProductKeyEqualFold applies the EqualFold predicate on the "productKey" field.

func ProductKeyGT

func ProductKeyGT(v string) predicate.DeviceUpsterCycle

ProductKeyGT applies the GT predicate on the "productKey" field.

func ProductKeyGTE

func ProductKeyGTE(v string) predicate.DeviceUpsterCycle

ProductKeyGTE applies the GTE predicate on the "productKey" field.

func ProductKeyHasPrefix

func ProductKeyHasPrefix(v string) predicate.DeviceUpsterCycle

ProductKeyHasPrefix applies the HasPrefix predicate on the "productKey" field.

func ProductKeyHasSuffix

func ProductKeyHasSuffix(v string) predicate.DeviceUpsterCycle

ProductKeyHasSuffix applies the HasSuffix predicate on the "productKey" field.

func ProductKeyIn

func ProductKeyIn(vs ...string) predicate.DeviceUpsterCycle

ProductKeyIn applies the In predicate on the "productKey" field.

func ProductKeyLT

func ProductKeyLT(v string) predicate.DeviceUpsterCycle

ProductKeyLT applies the LT predicate on the "productKey" field.

func ProductKeyLTE

func ProductKeyLTE(v string) predicate.DeviceUpsterCycle

ProductKeyLTE applies the LTE predicate on the "productKey" field.

func ProductKeyNEQ

func ProductKeyNEQ(v string) predicate.DeviceUpsterCycle

ProductKeyNEQ applies the NEQ predicate on the "productKey" field.

func ProductKeyNotIn

func ProductKeyNotIn(vs ...string) predicate.DeviceUpsterCycle

ProductKeyNotIn applies the NotIn predicate on the "productKey" field.

func Sort

Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.

func SortEQ

SortEQ applies the EQ predicate on the "sort" field.

func SortGT

SortGT applies the GT predicate on the "sort" field.

func SortGTE

SortGTE applies the GTE predicate on the "sort" field.

func SortIn

func SortIn(vs ...uint32) predicate.DeviceUpsterCycle

SortIn applies the In predicate on the "sort" field.

func SortLT

SortLT applies the LT predicate on the "sort" field.

func SortLTE

SortLTE applies the LTE predicate on the "sort" field.

func SortNEQ

SortNEQ applies the NEQ predicate on the "sort" field.

func SortNotIn

func SortNotIn(vs ...uint32) predicate.DeviceUpsterCycle

SortNotIn applies the NotIn predicate on the "sort" field.

func Status

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v uint8) predicate.DeviceUpsterCycle

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

func StatusGT(v uint8) predicate.DeviceUpsterCycle

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v uint8) predicate.DeviceUpsterCycle

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...uint8) predicate.DeviceUpsterCycle

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.DeviceUpsterCycle

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

func StatusLT(v uint8) predicate.DeviceUpsterCycle

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v uint8) predicate.DeviceUpsterCycle

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v uint8) predicate.DeviceUpsterCycle

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...uint8) predicate.DeviceUpsterCycle

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.DeviceUpsterCycle

StatusNotNil applies the NotNil predicate on the "status" field.

func Timestamp

func Timestamp(v string) predicate.DeviceUpsterCycle

Timestamp applies equality check predicate on the "timestamp" field. It's identical to TimestampEQ.

func TimestampContains

func TimestampContains(v string) predicate.DeviceUpsterCycle

TimestampContains applies the Contains predicate on the "timestamp" field.

func TimestampContainsFold

func TimestampContainsFold(v string) predicate.DeviceUpsterCycle

TimestampContainsFold applies the ContainsFold predicate on the "timestamp" field.

func TimestampEQ

func TimestampEQ(v string) predicate.DeviceUpsterCycle

TimestampEQ applies the EQ predicate on the "timestamp" field.

func TimestampEqualFold

func TimestampEqualFold(v string) predicate.DeviceUpsterCycle

TimestampEqualFold applies the EqualFold predicate on the "timestamp" field.

func TimestampGT

func TimestampGT(v string) predicate.DeviceUpsterCycle

TimestampGT applies the GT predicate on the "timestamp" field.

func TimestampGTE

func TimestampGTE(v string) predicate.DeviceUpsterCycle

TimestampGTE applies the GTE predicate on the "timestamp" field.

func TimestampHasPrefix

func TimestampHasPrefix(v string) predicate.DeviceUpsterCycle

TimestampHasPrefix applies the HasPrefix predicate on the "timestamp" field.

func TimestampHasSuffix

func TimestampHasSuffix(v string) predicate.DeviceUpsterCycle

TimestampHasSuffix applies the HasSuffix predicate on the "timestamp" field.

func TimestampIn

func TimestampIn(vs ...string) predicate.DeviceUpsterCycle

TimestampIn applies the In predicate on the "timestamp" field.

func TimestampIsNil

func TimestampIsNil() predicate.DeviceUpsterCycle

TimestampIsNil applies the IsNil predicate on the "timestamp" field.

func TimestampLT

func TimestampLT(v string) predicate.DeviceUpsterCycle

TimestampLT applies the LT predicate on the "timestamp" field.

func TimestampLTE

func TimestampLTE(v string) predicate.DeviceUpsterCycle

TimestampLTE applies the LTE predicate on the "timestamp" field.

func TimestampNEQ

func TimestampNEQ(v string) predicate.DeviceUpsterCycle

TimestampNEQ applies the NEQ predicate on the "timestamp" field.

func TimestampNotIn

func TimestampNotIn(vs ...string) predicate.DeviceUpsterCycle

TimestampNotIn applies the NotIn predicate on the "timestamp" field.

func TimestampNotNil

func TimestampNotNil() predicate.DeviceUpsterCycle

TimestampNotNil applies the NotNil predicate on the "timestamp" field.

func TotalOperationTime

func TotalOperationTime(v int32) predicate.DeviceUpsterCycle

TotalOperationTime applies equality check predicate on the "totalOperationTime" field. It's identical to TotalOperationTimeEQ.

func TotalOperationTimeEQ

func TotalOperationTimeEQ(v int32) predicate.DeviceUpsterCycle

TotalOperationTimeEQ applies the EQ predicate on the "totalOperationTime" field.

func TotalOperationTimeGT

func TotalOperationTimeGT(v int32) predicate.DeviceUpsterCycle

TotalOperationTimeGT applies the GT predicate on the "totalOperationTime" field.

func TotalOperationTimeGTE

func TotalOperationTimeGTE(v int32) predicate.DeviceUpsterCycle

TotalOperationTimeGTE applies the GTE predicate on the "totalOperationTime" field.

func TotalOperationTimeIn

func TotalOperationTimeIn(vs ...int32) predicate.DeviceUpsterCycle

TotalOperationTimeIn applies the In predicate on the "totalOperationTime" field.

func TotalOperationTimeIsNil

func TotalOperationTimeIsNil() predicate.DeviceUpsterCycle

TotalOperationTimeIsNil applies the IsNil predicate on the "totalOperationTime" field.

func TotalOperationTimeLT

func TotalOperationTimeLT(v int32) predicate.DeviceUpsterCycle

TotalOperationTimeLT applies the LT predicate on the "totalOperationTime" field.

func TotalOperationTimeLTE

func TotalOperationTimeLTE(v int32) predicate.DeviceUpsterCycle

TotalOperationTimeLTE applies the LTE predicate on the "totalOperationTime" field.

func TotalOperationTimeNEQ

func TotalOperationTimeNEQ(v int32) predicate.DeviceUpsterCycle

TotalOperationTimeNEQ applies the NEQ predicate on the "totalOperationTime" field.

func TotalOperationTimeNotIn

func TotalOperationTimeNotIn(vs ...int32) predicate.DeviceUpsterCycle

TotalOperationTimeNotIn applies the NotIn predicate on the "totalOperationTime" field.

func TotalOperationTimeNotNil

func TotalOperationTimeNotNil() predicate.DeviceUpsterCycle

TotalOperationTimeNotNil applies the NotNil predicate on the "totalOperationTime" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.DeviceUpsterCycle

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.DeviceUpsterCycle

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.DeviceUpsterCycle

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.DeviceUpsterCycle

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.DeviceUpsterCycle

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.DeviceUpsterCycle

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.DeviceUpsterCycle

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.DeviceUpsterCycle

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.DeviceUpsterCycle

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the DeviceUpsterCycle 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 ByNumber1

func ByNumber1(opts ...sql.OrderTermOption) OrderOption

ByNumber1 orders the results by the number1 field.

func ByNumber2

func ByNumber2(opts ...sql.OrderTermOption) OrderOption

ByNumber2 orders the results by the number2 field.

func ByNumber3

func ByNumber3(opts ...sql.OrderTermOption) OrderOption

ByNumber3 orders the results by the number3 field.

func ByNumberCycles

func ByNumberCycles(opts ...sql.OrderTermOption) OrderOption

ByNumberCycles orders the results by the numberCycles field.

func ByNumberRegeneration

func ByNumberRegeneration(opts ...sql.OrderTermOption) OrderOption

ByNumberRegeneration orders the results by the numberRegeneration field.

func ByNumberRinsingCycles

func ByNumberRinsingCycles(opts ...sql.OrderTermOption) OrderOption

ByNumberRinsingCycles orders the results by the numberRinsingCycles 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 ByTimestamp

func ByTimestamp(opts ...sql.OrderTermOption) OrderOption

ByTimestamp orders the results by the timestamp field.

func ByTotalOperationTime

func ByTotalOperationTime(opts ...sql.OrderTermOption) OrderOption

ByTotalOperationTime orders the results by the totalOperationTime field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL