device

package
v0.0.0-...-c43fb32 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the device type in the database.
	Label = "device"
	// 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"
	// FieldProductKey holds the string denoting the productkey field in the database.
	FieldProductKey = "product_key"
	// 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"
	// FieldDeviceSecret holds the string denoting the devicesecret field in the database.
	FieldDeviceSecret = "device_secret"
	// FieldDeviceStatus holds the string denoting the devicestatus field in the database.
	FieldDeviceStatus = "device_status"
	// FieldNickname holds the string denoting the nickname field in the database.
	FieldNickname = "nickname"
	// FieldGmtCreate holds the string denoting the gmtcreate field in the database.
	FieldGmtCreate = "gmt_create"
	// FieldGmtModified holds the string denoting the gmtmodified field in the database.
	FieldGmtModified = "gmt_modified"
	// FieldUtcCreate holds the string denoting the utccreate field in the database.
	FieldUtcCreate = "utc_create"
	// FieldUtcModified holds the string denoting the utcmodified field in the database.
	FieldUtcModified = "utc_modified"
	// FieldOperationalStatusCode holds the string denoting the operationalstatuscode field in the database.
	FieldOperationalStatusCode = "operational_status_code"
	// FieldOperationalStatus holds the string denoting the operationalstatus field in the database.
	FieldOperationalStatus = "operational_status"
	// FieldTag holds the string denoting the tag field in the database.
	FieldTag = "tag"
	// FieldFirmwareVersion holds the string denoting the firmwareversion field in the database.
	FieldFirmwareVersion = "firmware_version"
	// FieldGmtActive holds the string denoting the gmtactive field in the database.
	FieldGmtActive = "gmt_active"
	// FieldGmtOnline holds the string denoting the gmtonline field in the database.
	FieldGmtOnline = "gmt_online"
	// FieldIPAddress holds the string denoting the ipaddress field in the database.
	FieldIPAddress = "ip_address"
	// FieldNodeType holds the string denoting the nodetype field in the database.
	FieldNodeType = "node_type"
	// FieldOwner holds the string denoting the owner field in the database.
	FieldOwner = "owner"
	// FieldProductName holds the string denoting the productname field in the database.
	FieldProductName = "product_name"
	// FieldRegion holds the string denoting the region field in the database.
	FieldRegion = "region"
	// FieldUtcActive holds the string denoting the utcactive field in the database.
	FieldUtcActive = "utc_active"
	// FieldUtcOnline holds the string denoting the utconline field in the database.
	FieldUtcOnline = "utc_online"
	// EdgeProduct holds the string denoting the product edge name in mutations.
	EdgeProduct = "product"
	// EdgeProp holds the string denoting the prop edge name in mutations.
	EdgeProp = "prop"
	// EdgeCompanies holds the string denoting the companies edge name in mutations.
	EdgeCompanies = "companies"
	// EdgeMembers holds the string denoting the members edge name in mutations.
	EdgeMembers = "members"
	// Table holds the table name of the device in the database.
	Table = "equip_devices"
	// ProductTable is the table that holds the product relation/edge.
	ProductTable = "equip_devices"
	// ProductInverseTable is the table name for the Product entity.
	// It exists in this package in order to avoid circular dependency with the "product" package.
	ProductInverseTable = "equip_products"
	// ProductColumn is the table column denoting the product relation/edge.
	ProductColumn = "product_devices"
	// PropTable is the table that holds the prop relation/edge.
	PropTable = "equip_device_props"
	// PropInverseTable is the table name for the DeviceProp entity.
	// It exists in this package in order to avoid circular dependency with the "deviceprop" package.
	PropInverseTable = "equip_device_props"
	// PropColumn is the table column denoting the prop relation/edge.
	PropColumn = "device_prop"
	// CompaniesTable is the table that holds the companies relation/edge. The primary key declared below.
	CompaniesTable = "company_devices"
	// CompaniesInverseTable is the table name for the Company entity.
	// It exists in this package in order to avoid circular dependency with the "company" package.
	CompaniesInverseTable = "client_companies"
	// MembersTable is the table that holds the members relation/edge. The primary key declared below.
	MembersTable = "member_devices"
	// MembersInverseTable is the table name for the Member entity.
	// It exists in this package in order to avoid circular dependency with the "member" package.
	MembersInverseTable = "client_members"
)

Variables

View Source
var (
	// CompaniesPrimaryKey and CompaniesColumn2 are the table columns denoting the
	// primary key for the companies relation (M2M).
	CompaniesPrimaryKey = []string{"company_id", "device_id"}
	// MembersPrimaryKey and MembersColumn2 are the table columns denoting the
	// primary key for the members relation (M2M).
	MembersPrimaryKey = []string{"member_id", "device_id"}
)
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
	// DefaultOperationalStatus holds the default value on creation for the "operationalStatus" field.
	DefaultOperationalStatus string
	// DefaultNodeType holds the default value on creation for the "nodeType" field.
	DefaultNodeType int32
	// DefaultOwner holds the default value on creation for the "owner" field.
	DefaultOwner bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for device fields.

View Source
var ForeignKeys = []string{
	"product_devices",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "equip_devices" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.Device) predicate.Device

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Device

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Device

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Device

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Device

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Device

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Device

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Device

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

func CreatedAtNotIn

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

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

func DeviceName

func DeviceName(v string) predicate.Device

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

func DeviceNameContains

func DeviceNameContains(v string) predicate.Device

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

func DeviceNameContainsFold

func DeviceNameContainsFold(v string) predicate.Device

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

func DeviceNameEQ

func DeviceNameEQ(v string) predicate.Device

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

func DeviceNameEqualFold

func DeviceNameEqualFold(v string) predicate.Device

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

func DeviceNameGT

func DeviceNameGT(v string) predicate.Device

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

func DeviceNameGTE

func DeviceNameGTE(v string) predicate.Device

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

func DeviceNameHasPrefix

func DeviceNameHasPrefix(v string) predicate.Device

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

func DeviceNameHasSuffix

func DeviceNameHasSuffix(v string) predicate.Device

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

func DeviceNameIn

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

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

func DeviceNameLT

func DeviceNameLT(v string) predicate.Device

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

func DeviceNameLTE

func DeviceNameLTE(v string) predicate.Device

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

func DeviceNameNEQ

func DeviceNameNEQ(v string) predicate.Device

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

func DeviceNameNotIn

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

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

func DeviceSecret

func DeviceSecret(v string) predicate.Device

DeviceSecret applies equality check predicate on the "deviceSecret" field. It's identical to DeviceSecretEQ.

func DeviceSecretContains

func DeviceSecretContains(v string) predicate.Device

DeviceSecretContains applies the Contains predicate on the "deviceSecret" field.

func DeviceSecretContainsFold

func DeviceSecretContainsFold(v string) predicate.Device

DeviceSecretContainsFold applies the ContainsFold predicate on the "deviceSecret" field.

func DeviceSecretEQ

func DeviceSecretEQ(v string) predicate.Device

DeviceSecretEQ applies the EQ predicate on the "deviceSecret" field.

func DeviceSecretEqualFold

func DeviceSecretEqualFold(v string) predicate.Device

DeviceSecretEqualFold applies the EqualFold predicate on the "deviceSecret" field.

func DeviceSecretGT

func DeviceSecretGT(v string) predicate.Device

DeviceSecretGT applies the GT predicate on the "deviceSecret" field.

func DeviceSecretGTE

func DeviceSecretGTE(v string) predicate.Device

DeviceSecretGTE applies the GTE predicate on the "deviceSecret" field.

func DeviceSecretHasPrefix

func DeviceSecretHasPrefix(v string) predicate.Device

DeviceSecretHasPrefix applies the HasPrefix predicate on the "deviceSecret" field.

func DeviceSecretHasSuffix

func DeviceSecretHasSuffix(v string) predicate.Device

DeviceSecretHasSuffix applies the HasSuffix predicate on the "deviceSecret" field.

func DeviceSecretIn

func DeviceSecretIn(vs ...string) predicate.Device

DeviceSecretIn applies the In predicate on the "deviceSecret" field.

func DeviceSecretIsNil

func DeviceSecretIsNil() predicate.Device

DeviceSecretIsNil applies the IsNil predicate on the "deviceSecret" field.

func DeviceSecretLT

func DeviceSecretLT(v string) predicate.Device

DeviceSecretLT applies the LT predicate on the "deviceSecret" field.

func DeviceSecretLTE

func DeviceSecretLTE(v string) predicate.Device

DeviceSecretLTE applies the LTE predicate on the "deviceSecret" field.

func DeviceSecretNEQ

func DeviceSecretNEQ(v string) predicate.Device

DeviceSecretNEQ applies the NEQ predicate on the "deviceSecret" field.

func DeviceSecretNotIn

func DeviceSecretNotIn(vs ...string) predicate.Device

DeviceSecretNotIn applies the NotIn predicate on the "deviceSecret" field.

func DeviceSecretNotNil

func DeviceSecretNotNil() predicate.Device

DeviceSecretNotNil applies the NotNil predicate on the "deviceSecret" field.

func DeviceStatus

func DeviceStatus(v string) predicate.Device

DeviceStatus applies equality check predicate on the "deviceStatus" field. It's identical to DeviceStatusEQ.

func DeviceStatusContains

func DeviceStatusContains(v string) predicate.Device

DeviceStatusContains applies the Contains predicate on the "deviceStatus" field.

func DeviceStatusContainsFold

func DeviceStatusContainsFold(v string) predicate.Device

DeviceStatusContainsFold applies the ContainsFold predicate on the "deviceStatus" field.

func DeviceStatusEQ

func DeviceStatusEQ(v string) predicate.Device

DeviceStatusEQ applies the EQ predicate on the "deviceStatus" field.

func DeviceStatusEqualFold

func DeviceStatusEqualFold(v string) predicate.Device

DeviceStatusEqualFold applies the EqualFold predicate on the "deviceStatus" field.

func DeviceStatusGT

func DeviceStatusGT(v string) predicate.Device

DeviceStatusGT applies the GT predicate on the "deviceStatus" field.

func DeviceStatusGTE

func DeviceStatusGTE(v string) predicate.Device

DeviceStatusGTE applies the GTE predicate on the "deviceStatus" field.

func DeviceStatusHasPrefix

func DeviceStatusHasPrefix(v string) predicate.Device

DeviceStatusHasPrefix applies the HasPrefix predicate on the "deviceStatus" field.

func DeviceStatusHasSuffix

func DeviceStatusHasSuffix(v string) predicate.Device

DeviceStatusHasSuffix applies the HasSuffix predicate on the "deviceStatus" field.

func DeviceStatusIn

func DeviceStatusIn(vs ...string) predicate.Device

DeviceStatusIn applies the In predicate on the "deviceStatus" field.

func DeviceStatusIsNil

func DeviceStatusIsNil() predicate.Device

DeviceStatusIsNil applies the IsNil predicate on the "deviceStatus" field.

func DeviceStatusLT

func DeviceStatusLT(v string) predicate.Device

DeviceStatusLT applies the LT predicate on the "deviceStatus" field.

func DeviceStatusLTE

func DeviceStatusLTE(v string) predicate.Device

DeviceStatusLTE applies the LTE predicate on the "deviceStatus" field.

func DeviceStatusNEQ

func DeviceStatusNEQ(v string) predicate.Device

DeviceStatusNEQ applies the NEQ predicate on the "deviceStatus" field.

func DeviceStatusNotIn

func DeviceStatusNotIn(vs ...string) predicate.Device

DeviceStatusNotIn applies the NotIn predicate on the "deviceStatus" field.

func DeviceStatusNotNil

func DeviceStatusNotNil() predicate.Device

DeviceStatusNotNil applies the NotNil predicate on the "deviceStatus" field.

func FirmwareVersion

func FirmwareVersion(v string) predicate.Device

FirmwareVersion applies equality check predicate on the "firmwareVersion" field. It's identical to FirmwareVersionEQ.

func FirmwareVersionContains

func FirmwareVersionContains(v string) predicate.Device

FirmwareVersionContains applies the Contains predicate on the "firmwareVersion" field.

func FirmwareVersionContainsFold

func FirmwareVersionContainsFold(v string) predicate.Device

FirmwareVersionContainsFold applies the ContainsFold predicate on the "firmwareVersion" field.

func FirmwareVersionEQ

func FirmwareVersionEQ(v string) predicate.Device

FirmwareVersionEQ applies the EQ predicate on the "firmwareVersion" field.

func FirmwareVersionEqualFold

func FirmwareVersionEqualFold(v string) predicate.Device

FirmwareVersionEqualFold applies the EqualFold predicate on the "firmwareVersion" field.

func FirmwareVersionGT

func FirmwareVersionGT(v string) predicate.Device

FirmwareVersionGT applies the GT predicate on the "firmwareVersion" field.

func FirmwareVersionGTE

func FirmwareVersionGTE(v string) predicate.Device

FirmwareVersionGTE applies the GTE predicate on the "firmwareVersion" field.

func FirmwareVersionHasPrefix

func FirmwareVersionHasPrefix(v string) predicate.Device

FirmwareVersionHasPrefix applies the HasPrefix predicate on the "firmwareVersion" field.

func FirmwareVersionHasSuffix

func FirmwareVersionHasSuffix(v string) predicate.Device

FirmwareVersionHasSuffix applies the HasSuffix predicate on the "firmwareVersion" field.

func FirmwareVersionIn

func FirmwareVersionIn(vs ...string) predicate.Device

FirmwareVersionIn applies the In predicate on the "firmwareVersion" field.

func FirmwareVersionIsNil

func FirmwareVersionIsNil() predicate.Device

FirmwareVersionIsNil applies the IsNil predicate on the "firmwareVersion" field.

func FirmwareVersionLT

func FirmwareVersionLT(v string) predicate.Device

FirmwareVersionLT applies the LT predicate on the "firmwareVersion" field.

func FirmwareVersionLTE

func FirmwareVersionLTE(v string) predicate.Device

FirmwareVersionLTE applies the LTE predicate on the "firmwareVersion" field.

func FirmwareVersionNEQ

func FirmwareVersionNEQ(v string) predicate.Device

FirmwareVersionNEQ applies the NEQ predicate on the "firmwareVersion" field.

func FirmwareVersionNotIn

func FirmwareVersionNotIn(vs ...string) predicate.Device

FirmwareVersionNotIn applies the NotIn predicate on the "firmwareVersion" field.

func FirmwareVersionNotNil

func FirmwareVersionNotNil() predicate.Device

FirmwareVersionNotNil applies the NotNil predicate on the "firmwareVersion" field.

func GmtActive

func GmtActive(v string) predicate.Device

GmtActive applies equality check predicate on the "gmtActive" field. It's identical to GmtActiveEQ.

func GmtActiveContains

func GmtActiveContains(v string) predicate.Device

GmtActiveContains applies the Contains predicate on the "gmtActive" field.

func GmtActiveContainsFold

func GmtActiveContainsFold(v string) predicate.Device

GmtActiveContainsFold applies the ContainsFold predicate on the "gmtActive" field.

func GmtActiveEQ

func GmtActiveEQ(v string) predicate.Device

GmtActiveEQ applies the EQ predicate on the "gmtActive" field.

func GmtActiveEqualFold

func GmtActiveEqualFold(v string) predicate.Device

GmtActiveEqualFold applies the EqualFold predicate on the "gmtActive" field.

func GmtActiveGT

func GmtActiveGT(v string) predicate.Device

GmtActiveGT applies the GT predicate on the "gmtActive" field.

func GmtActiveGTE

func GmtActiveGTE(v string) predicate.Device

GmtActiveGTE applies the GTE predicate on the "gmtActive" field.

func GmtActiveHasPrefix

func GmtActiveHasPrefix(v string) predicate.Device

GmtActiveHasPrefix applies the HasPrefix predicate on the "gmtActive" field.

func GmtActiveHasSuffix

func GmtActiveHasSuffix(v string) predicate.Device

GmtActiveHasSuffix applies the HasSuffix predicate on the "gmtActive" field.

func GmtActiveIn

func GmtActiveIn(vs ...string) predicate.Device

GmtActiveIn applies the In predicate on the "gmtActive" field.

func GmtActiveIsNil

func GmtActiveIsNil() predicate.Device

GmtActiveIsNil applies the IsNil predicate on the "gmtActive" field.

func GmtActiveLT

func GmtActiveLT(v string) predicate.Device

GmtActiveLT applies the LT predicate on the "gmtActive" field.

func GmtActiveLTE

func GmtActiveLTE(v string) predicate.Device

GmtActiveLTE applies the LTE predicate on the "gmtActive" field.

func GmtActiveNEQ

func GmtActiveNEQ(v string) predicate.Device

GmtActiveNEQ applies the NEQ predicate on the "gmtActive" field.

func GmtActiveNotIn

func GmtActiveNotIn(vs ...string) predicate.Device

GmtActiveNotIn applies the NotIn predicate on the "gmtActive" field.

func GmtActiveNotNil

func GmtActiveNotNil() predicate.Device

GmtActiveNotNil applies the NotNil predicate on the "gmtActive" field.

func GmtCreate

func GmtCreate(v string) predicate.Device

GmtCreate applies equality check predicate on the "gmtCreate" field. It's identical to GmtCreateEQ.

func GmtCreateContains

func GmtCreateContains(v string) predicate.Device

GmtCreateContains applies the Contains predicate on the "gmtCreate" field.

func GmtCreateContainsFold

func GmtCreateContainsFold(v string) predicate.Device

GmtCreateContainsFold applies the ContainsFold predicate on the "gmtCreate" field.

func GmtCreateEQ

func GmtCreateEQ(v string) predicate.Device

GmtCreateEQ applies the EQ predicate on the "gmtCreate" field.

func GmtCreateEqualFold

func GmtCreateEqualFold(v string) predicate.Device

GmtCreateEqualFold applies the EqualFold predicate on the "gmtCreate" field.

func GmtCreateGT

func GmtCreateGT(v string) predicate.Device

GmtCreateGT applies the GT predicate on the "gmtCreate" field.

func GmtCreateGTE

func GmtCreateGTE(v string) predicate.Device

GmtCreateGTE applies the GTE predicate on the "gmtCreate" field.

func GmtCreateHasPrefix

func GmtCreateHasPrefix(v string) predicate.Device

GmtCreateHasPrefix applies the HasPrefix predicate on the "gmtCreate" field.

func GmtCreateHasSuffix

func GmtCreateHasSuffix(v string) predicate.Device

GmtCreateHasSuffix applies the HasSuffix predicate on the "gmtCreate" field.

func GmtCreateIn

func GmtCreateIn(vs ...string) predicate.Device

GmtCreateIn applies the In predicate on the "gmtCreate" field.

func GmtCreateIsNil

func GmtCreateIsNil() predicate.Device

GmtCreateIsNil applies the IsNil predicate on the "gmtCreate" field.

func GmtCreateLT

func GmtCreateLT(v string) predicate.Device

GmtCreateLT applies the LT predicate on the "gmtCreate" field.

func GmtCreateLTE

func GmtCreateLTE(v string) predicate.Device

GmtCreateLTE applies the LTE predicate on the "gmtCreate" field.

func GmtCreateNEQ

func GmtCreateNEQ(v string) predicate.Device

GmtCreateNEQ applies the NEQ predicate on the "gmtCreate" field.

func GmtCreateNotIn

func GmtCreateNotIn(vs ...string) predicate.Device

GmtCreateNotIn applies the NotIn predicate on the "gmtCreate" field.

func GmtCreateNotNil

func GmtCreateNotNil() predicate.Device

GmtCreateNotNil applies the NotNil predicate on the "gmtCreate" field.

func GmtModified

func GmtModified(v string) predicate.Device

GmtModified applies equality check predicate on the "gmtModified" field. It's identical to GmtModifiedEQ.

func GmtModifiedContains

func GmtModifiedContains(v string) predicate.Device

GmtModifiedContains applies the Contains predicate on the "gmtModified" field.

func GmtModifiedContainsFold

func GmtModifiedContainsFold(v string) predicate.Device

GmtModifiedContainsFold applies the ContainsFold predicate on the "gmtModified" field.

func GmtModifiedEQ

func GmtModifiedEQ(v string) predicate.Device

GmtModifiedEQ applies the EQ predicate on the "gmtModified" field.

func GmtModifiedEqualFold

func GmtModifiedEqualFold(v string) predicate.Device

GmtModifiedEqualFold applies the EqualFold predicate on the "gmtModified" field.

func GmtModifiedGT

func GmtModifiedGT(v string) predicate.Device

GmtModifiedGT applies the GT predicate on the "gmtModified" field.

func GmtModifiedGTE

func GmtModifiedGTE(v string) predicate.Device

GmtModifiedGTE applies the GTE predicate on the "gmtModified" field.

func GmtModifiedHasPrefix

func GmtModifiedHasPrefix(v string) predicate.Device

GmtModifiedHasPrefix applies the HasPrefix predicate on the "gmtModified" field.

func GmtModifiedHasSuffix

func GmtModifiedHasSuffix(v string) predicate.Device

GmtModifiedHasSuffix applies the HasSuffix predicate on the "gmtModified" field.

func GmtModifiedIn

func GmtModifiedIn(vs ...string) predicate.Device

GmtModifiedIn applies the In predicate on the "gmtModified" field.

func GmtModifiedIsNil

func GmtModifiedIsNil() predicate.Device

GmtModifiedIsNil applies the IsNil predicate on the "gmtModified" field.

func GmtModifiedLT

func GmtModifiedLT(v string) predicate.Device

GmtModifiedLT applies the LT predicate on the "gmtModified" field.

func GmtModifiedLTE

func GmtModifiedLTE(v string) predicate.Device

GmtModifiedLTE applies the LTE predicate on the "gmtModified" field.

func GmtModifiedNEQ

func GmtModifiedNEQ(v string) predicate.Device

GmtModifiedNEQ applies the NEQ predicate on the "gmtModified" field.

func GmtModifiedNotIn

func GmtModifiedNotIn(vs ...string) predicate.Device

GmtModifiedNotIn applies the NotIn predicate on the "gmtModified" field.

func GmtModifiedNotNil

func GmtModifiedNotNil() predicate.Device

GmtModifiedNotNil applies the NotNil predicate on the "gmtModified" field.

func GmtOnline

func GmtOnline(v string) predicate.Device

GmtOnline applies equality check predicate on the "gmtOnline" field. It's identical to GmtOnlineEQ.

func GmtOnlineContains

func GmtOnlineContains(v string) predicate.Device

GmtOnlineContains applies the Contains predicate on the "gmtOnline" field.

func GmtOnlineContainsFold

func GmtOnlineContainsFold(v string) predicate.Device

GmtOnlineContainsFold applies the ContainsFold predicate on the "gmtOnline" field.

func GmtOnlineEQ

func GmtOnlineEQ(v string) predicate.Device

GmtOnlineEQ applies the EQ predicate on the "gmtOnline" field.

func GmtOnlineEqualFold

func GmtOnlineEqualFold(v string) predicate.Device

GmtOnlineEqualFold applies the EqualFold predicate on the "gmtOnline" field.

func GmtOnlineGT

func GmtOnlineGT(v string) predicate.Device

GmtOnlineGT applies the GT predicate on the "gmtOnline" field.

func GmtOnlineGTE

func GmtOnlineGTE(v string) predicate.Device

GmtOnlineGTE applies the GTE predicate on the "gmtOnline" field.

func GmtOnlineHasPrefix

func GmtOnlineHasPrefix(v string) predicate.Device

GmtOnlineHasPrefix applies the HasPrefix predicate on the "gmtOnline" field.

func GmtOnlineHasSuffix

func GmtOnlineHasSuffix(v string) predicate.Device

GmtOnlineHasSuffix applies the HasSuffix predicate on the "gmtOnline" field.

func GmtOnlineIn

func GmtOnlineIn(vs ...string) predicate.Device

GmtOnlineIn applies the In predicate on the "gmtOnline" field.

func GmtOnlineIsNil

func GmtOnlineIsNil() predicate.Device

GmtOnlineIsNil applies the IsNil predicate on the "gmtOnline" field.

func GmtOnlineLT

func GmtOnlineLT(v string) predicate.Device

GmtOnlineLT applies the LT predicate on the "gmtOnline" field.

func GmtOnlineLTE

func GmtOnlineLTE(v string) predicate.Device

GmtOnlineLTE applies the LTE predicate on the "gmtOnline" field.

func GmtOnlineNEQ

func GmtOnlineNEQ(v string) predicate.Device

GmtOnlineNEQ applies the NEQ predicate on the "gmtOnline" field.

func GmtOnlineNotIn

func GmtOnlineNotIn(vs ...string) predicate.Device

GmtOnlineNotIn applies the NotIn predicate on the "gmtOnline" field.

func GmtOnlineNotNil

func GmtOnlineNotNil() predicate.Device

GmtOnlineNotNil applies the NotNil predicate on the "gmtOnline" field.

func HasCompanies

func HasCompanies() predicate.Device

HasCompanies applies the HasEdge predicate on the "companies" edge.

func HasCompaniesWith

func HasCompaniesWith(preds ...predicate.Company) predicate.Device

HasCompaniesWith applies the HasEdge predicate on the "companies" edge with a given conditions (other predicates).

func HasMembers

func HasMembers() predicate.Device

HasMembers applies the HasEdge predicate on the "members" edge.

func HasMembersWith

func HasMembersWith(preds ...predicate.Member) predicate.Device

HasMembersWith applies the HasEdge predicate on the "members" edge with a given conditions (other predicates).

func HasProduct

func HasProduct() predicate.Device

HasProduct applies the HasEdge predicate on the "product" edge.

func HasProductWith

func HasProductWith(preds ...predicate.Product) predicate.Device

HasProductWith applies the HasEdge predicate on the "product" edge with a given conditions (other predicates).

func HasProp

func HasProp() predicate.Device

HasProp applies the HasEdge predicate on the "prop" edge.

func HasPropWith

func HasPropWith(preds ...predicate.DeviceProp) predicate.Device

HasPropWith applies the HasEdge predicate on the "prop" edge with a given conditions (other predicates).

func ID

func ID(id uuid.UUID) predicate.Device

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Device

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Device

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Device

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Device

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Device

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Device

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Device

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Device

IDNotIn applies the NotIn predicate on the ID field.

func IPAddress

func IPAddress(v string) predicate.Device

IPAddress applies equality check predicate on the "IPAddress" field. It's identical to IPAddressEQ.

func IPAddressContains

func IPAddressContains(v string) predicate.Device

IPAddressContains applies the Contains predicate on the "IPAddress" field.

func IPAddressContainsFold

func IPAddressContainsFold(v string) predicate.Device

IPAddressContainsFold applies the ContainsFold predicate on the "IPAddress" field.

func IPAddressEQ

func IPAddressEQ(v string) predicate.Device

IPAddressEQ applies the EQ predicate on the "IPAddress" field.

func IPAddressEqualFold

func IPAddressEqualFold(v string) predicate.Device

IPAddressEqualFold applies the EqualFold predicate on the "IPAddress" field.

func IPAddressGT

func IPAddressGT(v string) predicate.Device

IPAddressGT applies the GT predicate on the "IPAddress" field.

func IPAddressGTE

func IPAddressGTE(v string) predicate.Device

IPAddressGTE applies the GTE predicate on the "IPAddress" field.

func IPAddressHasPrefix

func IPAddressHasPrefix(v string) predicate.Device

IPAddressHasPrefix applies the HasPrefix predicate on the "IPAddress" field.

func IPAddressHasSuffix

func IPAddressHasSuffix(v string) predicate.Device

IPAddressHasSuffix applies the HasSuffix predicate on the "IPAddress" field.

func IPAddressIn

func IPAddressIn(vs ...string) predicate.Device

IPAddressIn applies the In predicate on the "IPAddress" field.

func IPAddressIsNil

func IPAddressIsNil() predicate.Device

IPAddressIsNil applies the IsNil predicate on the "IPAddress" field.

func IPAddressLT

func IPAddressLT(v string) predicate.Device

IPAddressLT applies the LT predicate on the "IPAddress" field.

func IPAddressLTE

func IPAddressLTE(v string) predicate.Device

IPAddressLTE applies the LTE predicate on the "IPAddress" field.

func IPAddressNEQ

func IPAddressNEQ(v string) predicate.Device

IPAddressNEQ applies the NEQ predicate on the "IPAddress" field.

func IPAddressNotIn

func IPAddressNotIn(vs ...string) predicate.Device

IPAddressNotIn applies the NotIn predicate on the "IPAddress" field.

func IPAddressNotNil

func IPAddressNotNil() predicate.Device

IPAddressNotNil applies the NotNil predicate on the "IPAddress" field.

func IotID

func IotID(v string) predicate.Device

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

func IotIDContains

func IotIDContains(v string) predicate.Device

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

func IotIDContainsFold

func IotIDContainsFold(v string) predicate.Device

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

func IotIDEQ

func IotIDEQ(v string) predicate.Device

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

func IotIDEqualFold

func IotIDEqualFold(v string) predicate.Device

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

func IotIDGT

func IotIDGT(v string) predicate.Device

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

func IotIDGTE

func IotIDGTE(v string) predicate.Device

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

func IotIDHasPrefix

func IotIDHasPrefix(v string) predicate.Device

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

func IotIDHasSuffix

func IotIDHasSuffix(v string) predicate.Device

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

func IotIDIn

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

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

func IotIDLT

func IotIDLT(v string) predicate.Device

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

func IotIDLTE

func IotIDLTE(v string) predicate.Device

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

func IotIDNEQ

func IotIDNEQ(v string) predicate.Device

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

func IotIDNotIn

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

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

func Nickname

func Nickname(v string) predicate.Device

Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.

func NicknameContains

func NicknameContains(v string) predicate.Device

NicknameContains applies the Contains predicate on the "nickname" field.

func NicknameContainsFold

func NicknameContainsFold(v string) predicate.Device

NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.

func NicknameEQ

func NicknameEQ(v string) predicate.Device

NicknameEQ applies the EQ predicate on the "nickname" field.

func NicknameEqualFold

func NicknameEqualFold(v string) predicate.Device

NicknameEqualFold applies the EqualFold predicate on the "nickname" field.

func NicknameGT

func NicknameGT(v string) predicate.Device

NicknameGT applies the GT predicate on the "nickname" field.

func NicknameGTE

func NicknameGTE(v string) predicate.Device

NicknameGTE applies the GTE predicate on the "nickname" field.

func NicknameHasPrefix

func NicknameHasPrefix(v string) predicate.Device

NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.

func NicknameHasSuffix

func NicknameHasSuffix(v string) predicate.Device

NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.

func NicknameIn

func NicknameIn(vs ...string) predicate.Device

NicknameIn applies the In predicate on the "nickname" field.

func NicknameIsNil

func NicknameIsNil() predicate.Device

NicknameIsNil applies the IsNil predicate on the "nickname" field.

func NicknameLT

func NicknameLT(v string) predicate.Device

NicknameLT applies the LT predicate on the "nickname" field.

func NicknameLTE

func NicknameLTE(v string) predicate.Device

NicknameLTE applies the LTE predicate on the "nickname" field.

func NicknameNEQ

func NicknameNEQ(v string) predicate.Device

NicknameNEQ applies the NEQ predicate on the "nickname" field.

func NicknameNotIn

func NicknameNotIn(vs ...string) predicate.Device

NicknameNotIn applies the NotIn predicate on the "nickname" field.

func NicknameNotNil

func NicknameNotNil() predicate.Device

NicknameNotNil applies the NotNil predicate on the "nickname" field.

func NodeType

func NodeType(v int32) predicate.Device

NodeType applies equality check predicate on the "nodeType" field. It's identical to NodeTypeEQ.

func NodeTypeEQ

func NodeTypeEQ(v int32) predicate.Device

NodeTypeEQ applies the EQ predicate on the "nodeType" field.

func NodeTypeGT

func NodeTypeGT(v int32) predicate.Device

NodeTypeGT applies the GT predicate on the "nodeType" field.

func NodeTypeGTE

func NodeTypeGTE(v int32) predicate.Device

NodeTypeGTE applies the GTE predicate on the "nodeType" field.

func NodeTypeIn

func NodeTypeIn(vs ...int32) predicate.Device

NodeTypeIn applies the In predicate on the "nodeType" field.

func NodeTypeLT

func NodeTypeLT(v int32) predicate.Device

NodeTypeLT applies the LT predicate on the "nodeType" field.

func NodeTypeLTE

func NodeTypeLTE(v int32) predicate.Device

NodeTypeLTE applies the LTE predicate on the "nodeType" field.

func NodeTypeNEQ

func NodeTypeNEQ(v int32) predicate.Device

NodeTypeNEQ applies the NEQ predicate on the "nodeType" field.

func NodeTypeNotIn

func NodeTypeNotIn(vs ...int32) predicate.Device

NodeTypeNotIn applies the NotIn predicate on the "nodeType" field.

func Not

Not applies the not operator on the given predicate.

func OperationalStatus

func OperationalStatus(v string) predicate.Device

OperationalStatus applies equality check predicate on the "operationalStatus" field. It's identical to OperationalStatusEQ.

func OperationalStatusCode

func OperationalStatusCode(v string) predicate.Device

OperationalStatusCode applies equality check predicate on the "operationalStatusCode" field. It's identical to OperationalStatusCodeEQ.

func OperationalStatusCodeContains

func OperationalStatusCodeContains(v string) predicate.Device

OperationalStatusCodeContains applies the Contains predicate on the "operationalStatusCode" field.

func OperationalStatusCodeContainsFold

func OperationalStatusCodeContainsFold(v string) predicate.Device

OperationalStatusCodeContainsFold applies the ContainsFold predicate on the "operationalStatusCode" field.

func OperationalStatusCodeEQ

func OperationalStatusCodeEQ(v string) predicate.Device

OperationalStatusCodeEQ applies the EQ predicate on the "operationalStatusCode" field.

func OperationalStatusCodeEqualFold

func OperationalStatusCodeEqualFold(v string) predicate.Device

OperationalStatusCodeEqualFold applies the EqualFold predicate on the "operationalStatusCode" field.

func OperationalStatusCodeGT

func OperationalStatusCodeGT(v string) predicate.Device

OperationalStatusCodeGT applies the GT predicate on the "operationalStatusCode" field.

func OperationalStatusCodeGTE

func OperationalStatusCodeGTE(v string) predicate.Device

OperationalStatusCodeGTE applies the GTE predicate on the "operationalStatusCode" field.

func OperationalStatusCodeHasPrefix

func OperationalStatusCodeHasPrefix(v string) predicate.Device

OperationalStatusCodeHasPrefix applies the HasPrefix predicate on the "operationalStatusCode" field.

func OperationalStatusCodeHasSuffix

func OperationalStatusCodeHasSuffix(v string) predicate.Device

OperationalStatusCodeHasSuffix applies the HasSuffix predicate on the "operationalStatusCode" field.

func OperationalStatusCodeIn

func OperationalStatusCodeIn(vs ...string) predicate.Device

OperationalStatusCodeIn applies the In predicate on the "operationalStatusCode" field.

func OperationalStatusCodeIsNil

func OperationalStatusCodeIsNil() predicate.Device

OperationalStatusCodeIsNil applies the IsNil predicate on the "operationalStatusCode" field.

func OperationalStatusCodeLT

func OperationalStatusCodeLT(v string) predicate.Device

OperationalStatusCodeLT applies the LT predicate on the "operationalStatusCode" field.

func OperationalStatusCodeLTE

func OperationalStatusCodeLTE(v string) predicate.Device

OperationalStatusCodeLTE applies the LTE predicate on the "operationalStatusCode" field.

func OperationalStatusCodeNEQ

func OperationalStatusCodeNEQ(v string) predicate.Device

OperationalStatusCodeNEQ applies the NEQ predicate on the "operationalStatusCode" field.

func OperationalStatusCodeNotIn

func OperationalStatusCodeNotIn(vs ...string) predicate.Device

OperationalStatusCodeNotIn applies the NotIn predicate on the "operationalStatusCode" field.

func OperationalStatusCodeNotNil

func OperationalStatusCodeNotNil() predicate.Device

OperationalStatusCodeNotNil applies the NotNil predicate on the "operationalStatusCode" field.

func OperationalStatusContains

func OperationalStatusContains(v string) predicate.Device

OperationalStatusContains applies the Contains predicate on the "operationalStatus" field.

func OperationalStatusContainsFold

func OperationalStatusContainsFold(v string) predicate.Device

OperationalStatusContainsFold applies the ContainsFold predicate on the "operationalStatus" field.

func OperationalStatusEQ

func OperationalStatusEQ(v string) predicate.Device

OperationalStatusEQ applies the EQ predicate on the "operationalStatus" field.

func OperationalStatusEqualFold

func OperationalStatusEqualFold(v string) predicate.Device

OperationalStatusEqualFold applies the EqualFold predicate on the "operationalStatus" field.

func OperationalStatusGT

func OperationalStatusGT(v string) predicate.Device

OperationalStatusGT applies the GT predicate on the "operationalStatus" field.

func OperationalStatusGTE

func OperationalStatusGTE(v string) predicate.Device

OperationalStatusGTE applies the GTE predicate on the "operationalStatus" field.

func OperationalStatusHasPrefix

func OperationalStatusHasPrefix(v string) predicate.Device

OperationalStatusHasPrefix applies the HasPrefix predicate on the "operationalStatus" field.

func OperationalStatusHasSuffix

func OperationalStatusHasSuffix(v string) predicate.Device

OperationalStatusHasSuffix applies the HasSuffix predicate on the "operationalStatus" field.

func OperationalStatusIn

func OperationalStatusIn(vs ...string) predicate.Device

OperationalStatusIn applies the In predicate on the "operationalStatus" field.

func OperationalStatusIsNil

func OperationalStatusIsNil() predicate.Device

OperationalStatusIsNil applies the IsNil predicate on the "operationalStatus" field.

func OperationalStatusLT

func OperationalStatusLT(v string) predicate.Device

OperationalStatusLT applies the LT predicate on the "operationalStatus" field.

func OperationalStatusLTE

func OperationalStatusLTE(v string) predicate.Device

OperationalStatusLTE applies the LTE predicate on the "operationalStatus" field.

func OperationalStatusNEQ

func OperationalStatusNEQ(v string) predicate.Device

OperationalStatusNEQ applies the NEQ predicate on the "operationalStatus" field.

func OperationalStatusNotIn

func OperationalStatusNotIn(vs ...string) predicate.Device

OperationalStatusNotIn applies the NotIn predicate on the "operationalStatus" field.

func OperationalStatusNotNil

func OperationalStatusNotNil() predicate.Device

OperationalStatusNotNil applies the NotNil predicate on the "operationalStatus" field.

func Or

func Or(predicates ...predicate.Device) predicate.Device

Or groups predicates with the OR operator between them.

func Owner

func Owner(v bool) predicate.Device

Owner applies equality check predicate on the "owner" field. It's identical to OwnerEQ.

func OwnerEQ

func OwnerEQ(v bool) predicate.Device

OwnerEQ applies the EQ predicate on the "owner" field.

func OwnerIsNil

func OwnerIsNil() predicate.Device

OwnerIsNil applies the IsNil predicate on the "owner" field.

func OwnerNEQ

func OwnerNEQ(v bool) predicate.Device

OwnerNEQ applies the NEQ predicate on the "owner" field.

func OwnerNotNil

func OwnerNotNil() predicate.Device

OwnerNotNil applies the NotNil predicate on the "owner" field.

func ProductKey

func ProductKey(v string) predicate.Device

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

func ProductKeyContains

func ProductKeyContains(v string) predicate.Device

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

func ProductKeyContainsFold

func ProductKeyContainsFold(v string) predicate.Device

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

func ProductKeyEQ

func ProductKeyEQ(v string) predicate.Device

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

func ProductKeyEqualFold

func ProductKeyEqualFold(v string) predicate.Device

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

func ProductKeyGT

func ProductKeyGT(v string) predicate.Device

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

func ProductKeyGTE

func ProductKeyGTE(v string) predicate.Device

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

func ProductKeyHasPrefix

func ProductKeyHasPrefix(v string) predicate.Device

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

func ProductKeyHasSuffix

func ProductKeyHasSuffix(v string) predicate.Device

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

func ProductKeyIn

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

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

func ProductKeyLT

func ProductKeyLT(v string) predicate.Device

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

func ProductKeyLTE

func ProductKeyLTE(v string) predicate.Device

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

func ProductKeyNEQ

func ProductKeyNEQ(v string) predicate.Device

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

func ProductKeyNotIn

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

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

func ProductName

func ProductName(v string) predicate.Device

ProductName applies equality check predicate on the "productName" field. It's identical to ProductNameEQ.

func ProductNameContains

func ProductNameContains(v string) predicate.Device

ProductNameContains applies the Contains predicate on the "productName" field.

func ProductNameContainsFold

func ProductNameContainsFold(v string) predicate.Device

ProductNameContainsFold applies the ContainsFold predicate on the "productName" field.

func ProductNameEQ

func ProductNameEQ(v string) predicate.Device

ProductNameEQ applies the EQ predicate on the "productName" field.

func ProductNameEqualFold

func ProductNameEqualFold(v string) predicate.Device

ProductNameEqualFold applies the EqualFold predicate on the "productName" field.

func ProductNameGT

func ProductNameGT(v string) predicate.Device

ProductNameGT applies the GT predicate on the "productName" field.

func ProductNameGTE

func ProductNameGTE(v string) predicate.Device

ProductNameGTE applies the GTE predicate on the "productName" field.

func ProductNameHasPrefix

func ProductNameHasPrefix(v string) predicate.Device

ProductNameHasPrefix applies the HasPrefix predicate on the "productName" field.

func ProductNameHasSuffix

func ProductNameHasSuffix(v string) predicate.Device

ProductNameHasSuffix applies the HasSuffix predicate on the "productName" field.

func ProductNameIn

func ProductNameIn(vs ...string) predicate.Device

ProductNameIn applies the In predicate on the "productName" field.

func ProductNameIsNil

func ProductNameIsNil() predicate.Device

ProductNameIsNil applies the IsNil predicate on the "productName" field.

func ProductNameLT

func ProductNameLT(v string) predicate.Device

ProductNameLT applies the LT predicate on the "productName" field.

func ProductNameLTE

func ProductNameLTE(v string) predicate.Device

ProductNameLTE applies the LTE predicate on the "productName" field.

func ProductNameNEQ

func ProductNameNEQ(v string) predicate.Device

ProductNameNEQ applies the NEQ predicate on the "productName" field.

func ProductNameNotIn

func ProductNameNotIn(vs ...string) predicate.Device

ProductNameNotIn applies the NotIn predicate on the "productName" field.

func ProductNameNotNil

func ProductNameNotNil() predicate.Device

ProductNameNotNil applies the NotNil predicate on the "productName" field.

func Region

func Region(v string) predicate.Device

Region applies equality check predicate on the "region" field. It's identical to RegionEQ.

func RegionContains

func RegionContains(v string) predicate.Device

RegionContains applies the Contains predicate on the "region" field.

func RegionContainsFold

func RegionContainsFold(v string) predicate.Device

RegionContainsFold applies the ContainsFold predicate on the "region" field.

func RegionEQ

func RegionEQ(v string) predicate.Device

RegionEQ applies the EQ predicate on the "region" field.

func RegionEqualFold

func RegionEqualFold(v string) predicate.Device

RegionEqualFold applies the EqualFold predicate on the "region" field.

func RegionGT

func RegionGT(v string) predicate.Device

RegionGT applies the GT predicate on the "region" field.

func RegionGTE

func RegionGTE(v string) predicate.Device

RegionGTE applies the GTE predicate on the "region" field.

func RegionHasPrefix

func RegionHasPrefix(v string) predicate.Device

RegionHasPrefix applies the HasPrefix predicate on the "region" field.

func RegionHasSuffix

func RegionHasSuffix(v string) predicate.Device

RegionHasSuffix applies the HasSuffix predicate on the "region" field.

func RegionIn

func RegionIn(vs ...string) predicate.Device

RegionIn applies the In predicate on the "region" field.

func RegionIsNil

func RegionIsNil() predicate.Device

RegionIsNil applies the IsNil predicate on the "region" field.

func RegionLT

func RegionLT(v string) predicate.Device

RegionLT applies the LT predicate on the "region" field.

func RegionLTE

func RegionLTE(v string) predicate.Device

RegionLTE applies the LTE predicate on the "region" field.

func RegionNEQ

func RegionNEQ(v string) predicate.Device

RegionNEQ applies the NEQ predicate on the "region" field.

func RegionNotIn

func RegionNotIn(vs ...string) predicate.Device

RegionNotIn applies the NotIn predicate on the "region" field.

func RegionNotNil

func RegionNotNil() predicate.Device

RegionNotNil applies the NotNil predicate on the "region" field.

func Sort

func Sort(v uint32) predicate.Device

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

func SortEQ

func SortEQ(v uint32) predicate.Device

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

func SortGT

func SortGT(v uint32) predicate.Device

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

func SortGTE

func SortGTE(v uint32) predicate.Device

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

func SortIn

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

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

func SortLT

func SortLT(v uint32) predicate.Device

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

func SortLTE

func SortLTE(v uint32) predicate.Device

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

func SortNEQ

func SortNEQ(v uint32) predicate.Device

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

func SortNotIn

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

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

func Status

func Status(v uint8) predicate.Device

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

func StatusEQ

func StatusEQ(v uint8) predicate.Device

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

func StatusGT

func StatusGT(v uint8) predicate.Device

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

func StatusGTE

func StatusGTE(v uint8) predicate.Device

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

func StatusIn

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

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

func StatusIsNil

func StatusIsNil() predicate.Device

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

func StatusLT

func StatusLT(v uint8) predicate.Device

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

func StatusLTE

func StatusLTE(v uint8) predicate.Device

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

func StatusNEQ

func StatusNEQ(v uint8) predicate.Device

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

func StatusNotIn

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

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

func StatusNotNil

func StatusNotNil() predicate.Device

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

func Tag

func Tag(v uint64) predicate.Device

Tag applies equality check predicate on the "tag" field. It's identical to TagEQ.

func TagEQ

func TagEQ(v uint64) predicate.Device

TagEQ applies the EQ predicate on the "tag" field.

func TagGT

func TagGT(v uint64) predicate.Device

TagGT applies the GT predicate on the "tag" field.

func TagGTE

func TagGTE(v uint64) predicate.Device

TagGTE applies the GTE predicate on the "tag" field.

func TagIn

func TagIn(vs ...uint64) predicate.Device

TagIn applies the In predicate on the "tag" field.

func TagIsNil

func TagIsNil() predicate.Device

TagIsNil applies the IsNil predicate on the "tag" field.

func TagLT

func TagLT(v uint64) predicate.Device

TagLT applies the LT predicate on the "tag" field.

func TagLTE

func TagLTE(v uint64) predicate.Device

TagLTE applies the LTE predicate on the "tag" field.

func TagNEQ

func TagNEQ(v uint64) predicate.Device

TagNEQ applies the NEQ predicate on the "tag" field.

func TagNotIn

func TagNotIn(vs ...uint64) predicate.Device

TagNotIn applies the NotIn predicate on the "tag" field.

func TagNotNil

func TagNotNil() predicate.Device

TagNotNil applies the NotNil predicate on the "tag" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Device

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Device

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Device

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Device

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Device

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Device

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Device

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

func UpdatedAtNotIn

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

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

func UtcActive

func UtcActive(v string) predicate.Device

UtcActive applies equality check predicate on the "utcActive" field. It's identical to UtcActiveEQ.

func UtcActiveContains

func UtcActiveContains(v string) predicate.Device

UtcActiveContains applies the Contains predicate on the "utcActive" field.

func UtcActiveContainsFold

func UtcActiveContainsFold(v string) predicate.Device

UtcActiveContainsFold applies the ContainsFold predicate on the "utcActive" field.

func UtcActiveEQ

func UtcActiveEQ(v string) predicate.Device

UtcActiveEQ applies the EQ predicate on the "utcActive" field.

func UtcActiveEqualFold

func UtcActiveEqualFold(v string) predicate.Device

UtcActiveEqualFold applies the EqualFold predicate on the "utcActive" field.

func UtcActiveGT

func UtcActiveGT(v string) predicate.Device

UtcActiveGT applies the GT predicate on the "utcActive" field.

func UtcActiveGTE

func UtcActiveGTE(v string) predicate.Device

UtcActiveGTE applies the GTE predicate on the "utcActive" field.

func UtcActiveHasPrefix

func UtcActiveHasPrefix(v string) predicate.Device

UtcActiveHasPrefix applies the HasPrefix predicate on the "utcActive" field.

func UtcActiveHasSuffix

func UtcActiveHasSuffix(v string) predicate.Device

UtcActiveHasSuffix applies the HasSuffix predicate on the "utcActive" field.

func UtcActiveIn

func UtcActiveIn(vs ...string) predicate.Device

UtcActiveIn applies the In predicate on the "utcActive" field.

func UtcActiveIsNil

func UtcActiveIsNil() predicate.Device

UtcActiveIsNil applies the IsNil predicate on the "utcActive" field.

func UtcActiveLT

func UtcActiveLT(v string) predicate.Device

UtcActiveLT applies the LT predicate on the "utcActive" field.

func UtcActiveLTE

func UtcActiveLTE(v string) predicate.Device

UtcActiveLTE applies the LTE predicate on the "utcActive" field.

func UtcActiveNEQ

func UtcActiveNEQ(v string) predicate.Device

UtcActiveNEQ applies the NEQ predicate on the "utcActive" field.

func UtcActiveNotIn

func UtcActiveNotIn(vs ...string) predicate.Device

UtcActiveNotIn applies the NotIn predicate on the "utcActive" field.

func UtcActiveNotNil

func UtcActiveNotNil() predicate.Device

UtcActiveNotNil applies the NotNil predicate on the "utcActive" field.

func UtcCreate

func UtcCreate(v string) predicate.Device

UtcCreate applies equality check predicate on the "utcCreate" field. It's identical to UtcCreateEQ.

func UtcCreateContains

func UtcCreateContains(v string) predicate.Device

UtcCreateContains applies the Contains predicate on the "utcCreate" field.

func UtcCreateContainsFold

func UtcCreateContainsFold(v string) predicate.Device

UtcCreateContainsFold applies the ContainsFold predicate on the "utcCreate" field.

func UtcCreateEQ

func UtcCreateEQ(v string) predicate.Device

UtcCreateEQ applies the EQ predicate on the "utcCreate" field.

func UtcCreateEqualFold

func UtcCreateEqualFold(v string) predicate.Device

UtcCreateEqualFold applies the EqualFold predicate on the "utcCreate" field.

func UtcCreateGT

func UtcCreateGT(v string) predicate.Device

UtcCreateGT applies the GT predicate on the "utcCreate" field.

func UtcCreateGTE

func UtcCreateGTE(v string) predicate.Device

UtcCreateGTE applies the GTE predicate on the "utcCreate" field.

func UtcCreateHasPrefix

func UtcCreateHasPrefix(v string) predicate.Device

UtcCreateHasPrefix applies the HasPrefix predicate on the "utcCreate" field.

func UtcCreateHasSuffix

func UtcCreateHasSuffix(v string) predicate.Device

UtcCreateHasSuffix applies the HasSuffix predicate on the "utcCreate" field.

func UtcCreateIn

func UtcCreateIn(vs ...string) predicate.Device

UtcCreateIn applies the In predicate on the "utcCreate" field.

func UtcCreateIsNil

func UtcCreateIsNil() predicate.Device

UtcCreateIsNil applies the IsNil predicate on the "utcCreate" field.

func UtcCreateLT

func UtcCreateLT(v string) predicate.Device

UtcCreateLT applies the LT predicate on the "utcCreate" field.

func UtcCreateLTE

func UtcCreateLTE(v string) predicate.Device

UtcCreateLTE applies the LTE predicate on the "utcCreate" field.

func UtcCreateNEQ

func UtcCreateNEQ(v string) predicate.Device

UtcCreateNEQ applies the NEQ predicate on the "utcCreate" field.

func UtcCreateNotIn

func UtcCreateNotIn(vs ...string) predicate.Device

UtcCreateNotIn applies the NotIn predicate on the "utcCreate" field.

func UtcCreateNotNil

func UtcCreateNotNil() predicate.Device

UtcCreateNotNil applies the NotNil predicate on the "utcCreate" field.

func UtcModified

func UtcModified(v string) predicate.Device

UtcModified applies equality check predicate on the "utcModified" field. It's identical to UtcModifiedEQ.

func UtcModifiedContains

func UtcModifiedContains(v string) predicate.Device

UtcModifiedContains applies the Contains predicate on the "utcModified" field.

func UtcModifiedContainsFold

func UtcModifiedContainsFold(v string) predicate.Device

UtcModifiedContainsFold applies the ContainsFold predicate on the "utcModified" field.

func UtcModifiedEQ

func UtcModifiedEQ(v string) predicate.Device

UtcModifiedEQ applies the EQ predicate on the "utcModified" field.

func UtcModifiedEqualFold

func UtcModifiedEqualFold(v string) predicate.Device

UtcModifiedEqualFold applies the EqualFold predicate on the "utcModified" field.

func UtcModifiedGT

func UtcModifiedGT(v string) predicate.Device

UtcModifiedGT applies the GT predicate on the "utcModified" field.

func UtcModifiedGTE

func UtcModifiedGTE(v string) predicate.Device

UtcModifiedGTE applies the GTE predicate on the "utcModified" field.

func UtcModifiedHasPrefix

func UtcModifiedHasPrefix(v string) predicate.Device

UtcModifiedHasPrefix applies the HasPrefix predicate on the "utcModified" field.

func UtcModifiedHasSuffix

func UtcModifiedHasSuffix(v string) predicate.Device

UtcModifiedHasSuffix applies the HasSuffix predicate on the "utcModified" field.

func UtcModifiedIn

func UtcModifiedIn(vs ...string) predicate.Device

UtcModifiedIn applies the In predicate on the "utcModified" field.

func UtcModifiedIsNil

func UtcModifiedIsNil() predicate.Device

UtcModifiedIsNil applies the IsNil predicate on the "utcModified" field.

func UtcModifiedLT

func UtcModifiedLT(v string) predicate.Device

UtcModifiedLT applies the LT predicate on the "utcModified" field.

func UtcModifiedLTE

func UtcModifiedLTE(v string) predicate.Device

UtcModifiedLTE applies the LTE predicate on the "utcModified" field.

func UtcModifiedNEQ

func UtcModifiedNEQ(v string) predicate.Device

UtcModifiedNEQ applies the NEQ predicate on the "utcModified" field.

func UtcModifiedNotIn

func UtcModifiedNotIn(vs ...string) predicate.Device

UtcModifiedNotIn applies the NotIn predicate on the "utcModified" field.

func UtcModifiedNotNil

func UtcModifiedNotNil() predicate.Device

UtcModifiedNotNil applies the NotNil predicate on the "utcModified" field.

func UtcOnline

func UtcOnline(v string) predicate.Device

UtcOnline applies equality check predicate on the "utcOnline" field. It's identical to UtcOnlineEQ.

func UtcOnlineContains

func UtcOnlineContains(v string) predicate.Device

UtcOnlineContains applies the Contains predicate on the "utcOnline" field.

func UtcOnlineContainsFold

func UtcOnlineContainsFold(v string) predicate.Device

UtcOnlineContainsFold applies the ContainsFold predicate on the "utcOnline" field.

func UtcOnlineEQ

func UtcOnlineEQ(v string) predicate.Device

UtcOnlineEQ applies the EQ predicate on the "utcOnline" field.

func UtcOnlineEqualFold

func UtcOnlineEqualFold(v string) predicate.Device

UtcOnlineEqualFold applies the EqualFold predicate on the "utcOnline" field.

func UtcOnlineGT

func UtcOnlineGT(v string) predicate.Device

UtcOnlineGT applies the GT predicate on the "utcOnline" field.

func UtcOnlineGTE

func UtcOnlineGTE(v string) predicate.Device

UtcOnlineGTE applies the GTE predicate on the "utcOnline" field.

func UtcOnlineHasPrefix

func UtcOnlineHasPrefix(v string) predicate.Device

UtcOnlineHasPrefix applies the HasPrefix predicate on the "utcOnline" field.

func UtcOnlineHasSuffix

func UtcOnlineHasSuffix(v string) predicate.Device

UtcOnlineHasSuffix applies the HasSuffix predicate on the "utcOnline" field.

func UtcOnlineIn

func UtcOnlineIn(vs ...string) predicate.Device

UtcOnlineIn applies the In predicate on the "utcOnline" field.

func UtcOnlineIsNil

func UtcOnlineIsNil() predicate.Device

UtcOnlineIsNil applies the IsNil predicate on the "utcOnline" field.

func UtcOnlineLT

func UtcOnlineLT(v string) predicate.Device

UtcOnlineLT applies the LT predicate on the "utcOnline" field.

func UtcOnlineLTE

func UtcOnlineLTE(v string) predicate.Device

UtcOnlineLTE applies the LTE predicate on the "utcOnline" field.

func UtcOnlineNEQ

func UtcOnlineNEQ(v string) predicate.Device

UtcOnlineNEQ applies the NEQ predicate on the "utcOnline" field.

func UtcOnlineNotIn

func UtcOnlineNotIn(vs ...string) predicate.Device

UtcOnlineNotIn applies the NotIn predicate on the "utcOnline" field.

func UtcOnlineNotNil

func UtcOnlineNotNil() predicate.Device

UtcOnlineNotNil applies the NotNil predicate on the "utcOnline" 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 Device queries.

func ByCompanies

func ByCompanies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByCompanies orders the results by companies terms.

func ByCompaniesCount

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

ByCompaniesCount orders the results by companies count.

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 ByDeviceSecret

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

ByDeviceSecret orders the results by the deviceSecret field.

func ByDeviceStatus

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

ByDeviceStatus orders the results by the deviceStatus field.

func ByFirmwareVersion

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

ByFirmwareVersion orders the results by the firmwareVersion field.

func ByGmtActive

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

ByGmtActive orders the results by the gmtActive field.

func ByGmtCreate

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

ByGmtCreate orders the results by the gmtCreate field.

func ByGmtModified

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

ByGmtModified orders the results by the gmtModified field.

func ByGmtOnline

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

ByGmtOnline orders the results by the gmtOnline field.

func ByID

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

ByID orders the results by the id field.

func ByIPAddress

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

ByIPAddress orders the results by the IPAddress field.

func ByIotID

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

ByIotID orders the results by the iotID field.

func ByMembers

func ByMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByMembers orders the results by members terms.

func ByMembersCount

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

ByMembersCount orders the results by members count.

func ByNickname

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

ByNickname orders the results by the nickname field.

func ByNodeType

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

ByNodeType orders the results by the nodeType field.

func ByOperationalStatus

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

ByOperationalStatus orders the results by the operationalStatus field.

func ByOperationalStatusCode

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

ByOperationalStatusCode orders the results by the operationalStatusCode field.

func ByOwner

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

ByOwner orders the results by the owner field.

func ByProductField

func ByProductField(field string, opts ...sql.OrderTermOption) OrderOption

ByProductField orders the results by product field.

func ByProductKey

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

ByProductKey orders the results by the productKey field.

func ByProductName

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

ByProductName orders the results by the productName field.

func ByPropField

func ByPropField(field string, opts ...sql.OrderTermOption) OrderOption

ByPropField orders the results by prop field.

func ByRegion

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

ByRegion orders the results by the region 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 ByTag

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

ByTag orders the results by the tag field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUtcActive

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

ByUtcActive orders the results by the utcActive field.

func ByUtcCreate

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

ByUtcCreate orders the results by the utcCreate field.

func ByUtcModified

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

ByUtcModified orders the results by the utcModified field.

func ByUtcOnline

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

ByUtcOnline orders the results by the utcOnline field.

Jump to

Keyboard shortcuts

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