deviceupsterstatistics

package
v0.0.0-...-ba56b63 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the deviceupsterstatistics type in the database.
	Label = "device_upster_statistics"
	// 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"
	// 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"
	// FieldHours holds the string denoting the hours field in the database.
	FieldHours = "hours"
	// FieldInitialize holds the string denoting the initialize field in the database.
	FieldInitialize = "initialize"
	// Table holds the table name of the deviceupsterstatistics in the database.
	Table = "thing_upster_statistics"
)

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
	// DefaultInitialize holds the default value on creation for the "initialize" field.
	DefaultInitialize bool
)

Columns holds all SQL columns for deviceupsterstatistics fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

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

func CreatedAtEQ

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

func CreatedAtGT

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.DeviceUpsterStatistics

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

func CreatedAtIn

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

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

func CreatedAtLT

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.DeviceUpsterStatistics

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.DeviceUpsterStatistics

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

func CreatedAtNotIn

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

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

func Date

Date applies equality check predicate on the "date" field. It's identical to DateEQ.

func DateContains

func DateContains(v string) predicate.DeviceUpsterStatistics

DateContains applies the Contains predicate on the "date" field.

func DateContainsFold

func DateContainsFold(v string) predicate.DeviceUpsterStatistics

DateContainsFold applies the ContainsFold predicate on the "date" field.

func DateEQ

DateEQ applies the EQ predicate on the "date" field.

func DateEqualFold

func DateEqualFold(v string) predicate.DeviceUpsterStatistics

DateEqualFold applies the EqualFold predicate on the "date" field.

func DateGT

DateGT applies the GT predicate on the "date" field.

func DateGTE

DateGTE applies the GTE predicate on the "date" field.

func DateHasPrefix

func DateHasPrefix(v string) predicate.DeviceUpsterStatistics

DateHasPrefix applies the HasPrefix predicate on the "date" field.

func DateHasSuffix

func DateHasSuffix(v string) predicate.DeviceUpsterStatistics

DateHasSuffix applies the HasSuffix predicate on the "date" field.

func DateIn

DateIn applies the In predicate on the "date" field.

func DateIsNil

DateIsNil applies the IsNil predicate on the "date" field.

func DateLT

DateLT applies the LT predicate on the "date" field.

func DateLTE

DateLTE applies the LTE predicate on the "date" field.

func DateNEQ

DateNEQ applies the NEQ predicate on the "date" field.

func DateNotIn

func DateNotIn(vs ...string) predicate.DeviceUpsterStatistics

DateNotIn applies the NotIn predicate on the "date" field.

func DateNotNil

func DateNotNil() predicate.DeviceUpsterStatistics

DateNotNil applies the NotNil predicate on the "date" field.

func DeviceName

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

func DeviceNameContains

func DeviceNameContains(v string) predicate.DeviceUpsterStatistics

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

func DeviceNameContainsFold

func DeviceNameContainsFold(v string) predicate.DeviceUpsterStatistics

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

func DeviceNameEQ

func DeviceNameEQ(v string) predicate.DeviceUpsterStatistics

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

func DeviceNameEqualFold

func DeviceNameEqualFold(v string) predicate.DeviceUpsterStatistics

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

func DeviceNameGT

func DeviceNameGT(v string) predicate.DeviceUpsterStatistics

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

func DeviceNameGTE

func DeviceNameGTE(v string) predicate.DeviceUpsterStatistics

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

func DeviceNameHasPrefix

func DeviceNameHasPrefix(v string) predicate.DeviceUpsterStatistics

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

func DeviceNameHasSuffix

func DeviceNameHasSuffix(v string) predicate.DeviceUpsterStatistics

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

func DeviceNameIn

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

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

func DeviceNameLT

func DeviceNameLT(v string) predicate.DeviceUpsterStatistics

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

func DeviceNameLTE

func DeviceNameLTE(v string) predicate.DeviceUpsterStatistics

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

func DeviceNameNEQ

func DeviceNameNEQ(v string) predicate.DeviceUpsterStatistics

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

func DeviceNameNotIn

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

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

func Hours

Hours applies equality check predicate on the "hours" field. It's identical to HoursEQ.

func HoursContains

func HoursContains(v string) predicate.DeviceUpsterStatistics

HoursContains applies the Contains predicate on the "hours" field.

func HoursContainsFold

func HoursContainsFold(v string) predicate.DeviceUpsterStatistics

HoursContainsFold applies the ContainsFold predicate on the "hours" field.

func HoursEQ

HoursEQ applies the EQ predicate on the "hours" field.

func HoursEqualFold

func HoursEqualFold(v string) predicate.DeviceUpsterStatistics

HoursEqualFold applies the EqualFold predicate on the "hours" field.

func HoursGT

HoursGT applies the GT predicate on the "hours" field.

func HoursGTE

HoursGTE applies the GTE predicate on the "hours" field.

func HoursHasPrefix

func HoursHasPrefix(v string) predicate.DeviceUpsterStatistics

HoursHasPrefix applies the HasPrefix predicate on the "hours" field.

func HoursHasSuffix

func HoursHasSuffix(v string) predicate.DeviceUpsterStatistics

HoursHasSuffix applies the HasSuffix predicate on the "hours" field.

func HoursIn

HoursIn applies the In predicate on the "hours" field.

func HoursIsNil

func HoursIsNil() predicate.DeviceUpsterStatistics

HoursIsNil applies the IsNil predicate on the "hours" field.

func HoursLT

HoursLT applies the LT predicate on the "hours" field.

func HoursLTE

HoursLTE applies the LTE predicate on the "hours" field.

func HoursNEQ

HoursNEQ applies the NEQ predicate on the "hours" field.

func HoursNotIn

func HoursNotIn(vs ...string) predicate.DeviceUpsterStatistics

HoursNotIn applies the NotIn predicate on the "hours" field.

func HoursNotNil

func HoursNotNil() predicate.DeviceUpsterStatistics

HoursNotNil applies the NotNil predicate on the "hours" 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

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.DeviceUpsterStatistics

IDNotIn applies the NotIn predicate on the ID field.

func Initialize

Initialize applies equality check predicate on the "initialize" field. It's identical to InitializeEQ.

func InitializeEQ

func InitializeEQ(v bool) predicate.DeviceUpsterStatistics

InitializeEQ applies the EQ predicate on the "initialize" field.

func InitializeIsNil

func InitializeIsNil() predicate.DeviceUpsterStatistics

InitializeIsNil applies the IsNil predicate on the "initialize" field.

func InitializeNEQ

func InitializeNEQ(v bool) predicate.DeviceUpsterStatistics

InitializeNEQ applies the NEQ predicate on the "initialize" field.

func InitializeNotNil

func InitializeNotNil() predicate.DeviceUpsterStatistics

InitializeNotNil applies the NotNil predicate on the "initialize" field.

func IotID

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

func IotIDContains

func IotIDContains(v string) predicate.DeviceUpsterStatistics

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

func IotIDContainsFold

func IotIDContainsFold(v string) predicate.DeviceUpsterStatistics

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.DeviceUpsterStatistics

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.DeviceUpsterStatistics

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

func IotIDHasSuffix

func IotIDHasSuffix(v string) predicate.DeviceUpsterStatistics

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

func IotIDIn

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.DeviceUpsterStatistics

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

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

func Number1GT

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

func Number1GTE

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

func Number1In

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

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

func Number1IsNil

func Number1IsNil() predicate.DeviceUpsterStatistics

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

func Number1LT

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

func Number1LTE

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

func Number1NEQ

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

func Number1NotIn

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

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

func Number1NotNil

func Number1NotNil() predicate.DeviceUpsterStatistics

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

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

func Number2GT

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

func Number2GTE

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

func Number2In

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

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

func Number2IsNil

func Number2IsNil() predicate.DeviceUpsterStatistics

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

func Number2LT

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

func Number2LTE

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

func Number2NEQ

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

func Number2NotIn

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

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

func Number2NotNil

func Number2NotNil() predicate.DeviceUpsterStatistics

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

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

func Number3GT

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

func Number3GTE

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

func Number3In

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

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

func Number3IsNil

func Number3IsNil() predicate.DeviceUpsterStatistics

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

func Number3LT

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

func Number3LTE

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

func Number3NEQ

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

func Number3NotIn

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

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

func Number3NotNil

func Number3NotNil() predicate.DeviceUpsterStatistics

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

func NumberCycles

func NumberCycles(v int32) predicate.DeviceUpsterStatistics

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

func NumberCyclesEQ

func NumberCyclesEQ(v int32) predicate.DeviceUpsterStatistics

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

func NumberCyclesGT

func NumberCyclesGT(v int32) predicate.DeviceUpsterStatistics

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

func NumberCyclesGTE

func NumberCyclesGTE(v int32) predicate.DeviceUpsterStatistics

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

func NumberCyclesIn

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

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

func NumberCyclesIsNil

func NumberCyclesIsNil() predicate.DeviceUpsterStatistics

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

func NumberCyclesLT

func NumberCyclesLT(v int32) predicate.DeviceUpsterStatistics

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

func NumberCyclesLTE

func NumberCyclesLTE(v int32) predicate.DeviceUpsterStatistics

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

func NumberCyclesNEQ

func NumberCyclesNEQ(v int32) predicate.DeviceUpsterStatistics

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

func NumberCyclesNotIn

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

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

func NumberCyclesNotNil

func NumberCyclesNotNil() predicate.DeviceUpsterStatistics

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

func Or

Or groups predicates with the OR operator between them.

func ProductKey

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

func ProductKeyContains

func ProductKeyContains(v string) predicate.DeviceUpsterStatistics

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

func ProductKeyContainsFold

func ProductKeyContainsFold(v string) predicate.DeviceUpsterStatistics

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

func ProductKeyEQ

func ProductKeyEQ(v string) predicate.DeviceUpsterStatistics

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

func ProductKeyEqualFold

func ProductKeyEqualFold(v string) predicate.DeviceUpsterStatistics

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

func ProductKeyGT

func ProductKeyGT(v string) predicate.DeviceUpsterStatistics

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

func ProductKeyGTE

func ProductKeyGTE(v string) predicate.DeviceUpsterStatistics

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

func ProductKeyHasPrefix

func ProductKeyHasPrefix(v string) predicate.DeviceUpsterStatistics

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

func ProductKeyHasSuffix

func ProductKeyHasSuffix(v string) predicate.DeviceUpsterStatistics

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

func ProductKeyIn

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

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

func ProductKeyLT

func ProductKeyLT(v string) predicate.DeviceUpsterStatistics

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

func ProductKeyLTE

func ProductKeyLTE(v string) predicate.DeviceUpsterStatistics

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

func ProductKeyNEQ

func ProductKeyNEQ(v string) predicate.DeviceUpsterStatistics

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

func ProductKeyNotIn

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

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

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.DeviceUpsterStatistics

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

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

func StatusGT

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

func StatusGTE

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

func StatusIn

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

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

func StatusIsNil

func StatusIsNil() predicate.DeviceUpsterStatistics

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

func StatusLT

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

func StatusLTE

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

func StatusNEQ

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

func StatusNotIn

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

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

func StatusNotNil

func StatusNotNil() predicate.DeviceUpsterStatistics

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

func Timestamp

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

func TimestampContains

func TimestampContains(v string) predicate.DeviceUpsterStatistics

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

func TimestampContainsFold

func TimestampContainsFold(v string) predicate.DeviceUpsterStatistics

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

func TimestampEQ

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

func TimestampEqualFold

func TimestampEqualFold(v string) predicate.DeviceUpsterStatistics

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

func TimestampGT

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

func TimestampGTE

func TimestampGTE(v string) predicate.DeviceUpsterStatistics

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

func TimestampHasPrefix

func TimestampHasPrefix(v string) predicate.DeviceUpsterStatistics

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

func TimestampHasSuffix

func TimestampHasSuffix(v string) predicate.DeviceUpsterStatistics

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

func TimestampIn

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

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

func TimestampIsNil

func TimestampIsNil() predicate.DeviceUpsterStatistics

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

func TimestampLT

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

func TimestampLTE

func TimestampLTE(v string) predicate.DeviceUpsterStatistics

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

func TimestampNEQ

func TimestampNEQ(v string) predicate.DeviceUpsterStatistics

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

func TimestampNotIn

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

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

func TimestampNotNil

func TimestampNotNil() predicate.DeviceUpsterStatistics

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

func UpdatedAt

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

func UpdatedAtEQ

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

func UpdatedAtGT

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.DeviceUpsterStatistics

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

func UpdatedAtIn

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

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

func UpdatedAtLT

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.DeviceUpsterStatistics

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.DeviceUpsterStatistics

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

func UpdatedAtNotIn

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

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 DeviceUpsterStatistics 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 ByDeviceName

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

ByDeviceName orders the results by the deviceName field.

func ByHours

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

ByHours orders the results by the hours field.

func ByID

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

ByID orders the results by the id field.

func ByInitialize

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

ByInitialize orders the results by the initialize 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 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 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