product

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 product type in the database.
	Label = "product"
	// 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"
	// FieldProductName holds the string denoting the productname field in the database.
	FieldProductName = "product_name"
	// FieldAuthType holds the string denoting the authtype field in the database.
	FieldAuthType = "auth_type"
	// FieldDataFormat holds the string denoting the dataformat field in the database.
	FieldDataFormat = "data_format"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldDeviceCount holds the string denoting the devicecount field in the database.
	FieldDeviceCount = "device_count"
	// FieldGmtCreate holds the string denoting the gmtcreate field in the database.
	FieldGmtCreate = "gmt_create"
	// FieldNodeType holds the string denoting the nodetype field in the database.
	FieldNodeType = "node_type"
	// FieldAliyunCommodityCode holds the string denoting the aliyuncommoditycode field in the database.
	FieldAliyunCommodityCode = "aliyun_commodity_code"
	// FieldCategoryKey holds the string denoting the categorykey field in the database.
	FieldCategoryKey = "category_key"
	// FieldCategoryName holds the string denoting the categoryname field in the database.
	FieldCategoryName = "category_name"
	// FieldId2 holds the string denoting the id2 field in the database.
	FieldId2 = "id2"
	// FieldNetType holds the string denoting the nettype field in the database.
	FieldNetType = "net_type"
	// FieldOwner holds the string denoting the owner field in the database.
	FieldOwner = "owner"
	// FieldProductSecret holds the string denoting the productsecret field in the database.
	FieldProductSecret = "product_secret"
	// FieldProductStatus holds the string denoting the productstatus field in the database.
	FieldProductStatus = "product_status"
	// FieldProtocolType holds the string denoting the protocoltype field in the database.
	FieldProtocolType = "protocol_type"
	// FieldValidateType holds the string denoting the validatetype field in the database.
	FieldValidateType = "validate_type"
	// EdgeDevices holds the string denoting the devices edge name in mutations.
	EdgeDevices = "devices"
	// EdgeTags holds the string denoting the tags edge name in mutations.
	EdgeTags = "tags"
	// EdgeProperties holds the string denoting the properties edge name in mutations.
	EdgeProperties = "properties"
	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"
	// EdgeServices holds the string denoting the services edge name in mutations.
	EdgeServices = "services"
	// Table holds the table name of the product in the database.
	Table = "equip_products"
	// DevicesTable is the table that holds the devices relation/edge.
	DevicesTable = "equip_devices"
	// DevicesInverseTable is the table name for the Device entity.
	// It exists in this package in order to avoid circular dependency with the "device" package.
	DevicesInverseTable = "equip_devices"
	// DevicesColumn is the table column denoting the devices relation/edge.
	DevicesColumn = "product_devices"
	// TagsTable is the table that holds the tags relation/edge.
	TagsTable = "equip_product_tags"
	// TagsInverseTable is the table name for the ProductTag entity.
	// It exists in this package in order to avoid circular dependency with the "producttag" package.
	TagsInverseTable = "equip_product_tags"
	// TagsColumn is the table column denoting the tags relation/edge.
	TagsColumn = "product_tags"
	// PropertiesTable is the table that holds the properties relation/edge.
	PropertiesTable = "equip_product_properties"
	// PropertiesInverseTable is the table name for the ProductProperty entity.
	// It exists in this package in order to avoid circular dependency with the "productproperty" package.
	PropertiesInverseTable = "equip_product_properties"
	// PropertiesColumn is the table column denoting the properties relation/edge.
	PropertiesColumn = "product_properties"
	// EventsTable is the table that holds the events relation/edge.
	EventsTable = "equip_product_events"
	// EventsInverseTable is the table name for the ProductEvent entity.
	// It exists in this package in order to avoid circular dependency with the "productevent" package.
	EventsInverseTable = "equip_product_events"
	// EventsColumn is the table column denoting the events relation/edge.
	EventsColumn = "product_events"
	// ServicesTable is the table that holds the services relation/edge.
	ServicesTable = "equip_product_services"
	// ServicesInverseTable is the table name for the ProductService entity.
	// It exists in this package in order to avoid circular dependency with the "productservice" package.
	ServicesInverseTable = "equip_product_services"
	// ServicesColumn is the table column denoting the services relation/edge.
	ServicesColumn = "product_services"
)

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
	// DefaultDeviceCount holds the default value on creation for the "deviceCount" field.
	DefaultDeviceCount int32
	// DefaultNodeType holds the default value on creation for the "nodeType" field.
	DefaultNodeType int32
	// DefaultId2 holds the default value on creation for the "id2" field.
	DefaultId2 bool
	// 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 product fields.

Functions

func AliyunCommodityCode

func AliyunCommodityCode(v string) predicate.Product

AliyunCommodityCode applies equality check predicate on the "aliyunCommodityCode" field. It's identical to AliyunCommodityCodeEQ.

func AliyunCommodityCodeContains

func AliyunCommodityCodeContains(v string) predicate.Product

AliyunCommodityCodeContains applies the Contains predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeContainsFold

func AliyunCommodityCodeContainsFold(v string) predicate.Product

AliyunCommodityCodeContainsFold applies the ContainsFold predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeEQ

func AliyunCommodityCodeEQ(v string) predicate.Product

AliyunCommodityCodeEQ applies the EQ predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeEqualFold

func AliyunCommodityCodeEqualFold(v string) predicate.Product

AliyunCommodityCodeEqualFold applies the EqualFold predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeGT

func AliyunCommodityCodeGT(v string) predicate.Product

AliyunCommodityCodeGT applies the GT predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeGTE

func AliyunCommodityCodeGTE(v string) predicate.Product

AliyunCommodityCodeGTE applies the GTE predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeHasPrefix

func AliyunCommodityCodeHasPrefix(v string) predicate.Product

AliyunCommodityCodeHasPrefix applies the HasPrefix predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeHasSuffix

func AliyunCommodityCodeHasSuffix(v string) predicate.Product

AliyunCommodityCodeHasSuffix applies the HasSuffix predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeIn

func AliyunCommodityCodeIn(vs ...string) predicate.Product

AliyunCommodityCodeIn applies the In predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeIsNil

func AliyunCommodityCodeIsNil() predicate.Product

AliyunCommodityCodeIsNil applies the IsNil predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeLT

func AliyunCommodityCodeLT(v string) predicate.Product

AliyunCommodityCodeLT applies the LT predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeLTE

func AliyunCommodityCodeLTE(v string) predicate.Product

AliyunCommodityCodeLTE applies the LTE predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeNEQ

func AliyunCommodityCodeNEQ(v string) predicate.Product

AliyunCommodityCodeNEQ applies the NEQ predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeNotIn

func AliyunCommodityCodeNotIn(vs ...string) predicate.Product

AliyunCommodityCodeNotIn applies the NotIn predicate on the "aliyunCommodityCode" field.

func AliyunCommodityCodeNotNil

func AliyunCommodityCodeNotNil() predicate.Product

AliyunCommodityCodeNotNil applies the NotNil predicate on the "aliyunCommodityCode" field.

func And

func And(predicates ...predicate.Product) predicate.Product

And groups predicates with the AND operator between them.

func AuthType

func AuthType(v string) predicate.Product

AuthType applies equality check predicate on the "authType" field. It's identical to AuthTypeEQ.

func AuthTypeContains

func AuthTypeContains(v string) predicate.Product

AuthTypeContains applies the Contains predicate on the "authType" field.

func AuthTypeContainsFold

func AuthTypeContainsFold(v string) predicate.Product

AuthTypeContainsFold applies the ContainsFold predicate on the "authType" field.

func AuthTypeEQ

func AuthTypeEQ(v string) predicate.Product

AuthTypeEQ applies the EQ predicate on the "authType" field.

func AuthTypeEqualFold

func AuthTypeEqualFold(v string) predicate.Product

AuthTypeEqualFold applies the EqualFold predicate on the "authType" field.

func AuthTypeGT

func AuthTypeGT(v string) predicate.Product

AuthTypeGT applies the GT predicate on the "authType" field.

func AuthTypeGTE

func AuthTypeGTE(v string) predicate.Product

AuthTypeGTE applies the GTE predicate on the "authType" field.

func AuthTypeHasPrefix

func AuthTypeHasPrefix(v string) predicate.Product

AuthTypeHasPrefix applies the HasPrefix predicate on the "authType" field.

func AuthTypeHasSuffix

func AuthTypeHasSuffix(v string) predicate.Product

AuthTypeHasSuffix applies the HasSuffix predicate on the "authType" field.

func AuthTypeIn

func AuthTypeIn(vs ...string) predicate.Product

AuthTypeIn applies the In predicate on the "authType" field.

func AuthTypeIsNil

func AuthTypeIsNil() predicate.Product

AuthTypeIsNil applies the IsNil predicate on the "authType" field.

func AuthTypeLT

func AuthTypeLT(v string) predicate.Product

AuthTypeLT applies the LT predicate on the "authType" field.

func AuthTypeLTE

func AuthTypeLTE(v string) predicate.Product

AuthTypeLTE applies the LTE predicate on the "authType" field.

func AuthTypeNEQ

func AuthTypeNEQ(v string) predicate.Product

AuthTypeNEQ applies the NEQ predicate on the "authType" field.

func AuthTypeNotIn

func AuthTypeNotIn(vs ...string) predicate.Product

AuthTypeNotIn applies the NotIn predicate on the "authType" field.

func AuthTypeNotNil

func AuthTypeNotNil() predicate.Product

AuthTypeNotNil applies the NotNil predicate on the "authType" field.

func CategoryKey

func CategoryKey(v string) predicate.Product

CategoryKey applies equality check predicate on the "categoryKey" field. It's identical to CategoryKeyEQ.

func CategoryKeyContains

func CategoryKeyContains(v string) predicate.Product

CategoryKeyContains applies the Contains predicate on the "categoryKey" field.

func CategoryKeyContainsFold

func CategoryKeyContainsFold(v string) predicate.Product

CategoryKeyContainsFold applies the ContainsFold predicate on the "categoryKey" field.

func CategoryKeyEQ

func CategoryKeyEQ(v string) predicate.Product

CategoryKeyEQ applies the EQ predicate on the "categoryKey" field.

func CategoryKeyEqualFold

func CategoryKeyEqualFold(v string) predicate.Product

CategoryKeyEqualFold applies the EqualFold predicate on the "categoryKey" field.

func CategoryKeyGT

func CategoryKeyGT(v string) predicate.Product

CategoryKeyGT applies the GT predicate on the "categoryKey" field.

func CategoryKeyGTE

func CategoryKeyGTE(v string) predicate.Product

CategoryKeyGTE applies the GTE predicate on the "categoryKey" field.

func CategoryKeyHasPrefix

func CategoryKeyHasPrefix(v string) predicate.Product

CategoryKeyHasPrefix applies the HasPrefix predicate on the "categoryKey" field.

func CategoryKeyHasSuffix

func CategoryKeyHasSuffix(v string) predicate.Product

CategoryKeyHasSuffix applies the HasSuffix predicate on the "categoryKey" field.

func CategoryKeyIn

func CategoryKeyIn(vs ...string) predicate.Product

CategoryKeyIn applies the In predicate on the "categoryKey" field.

func CategoryKeyIsNil

func CategoryKeyIsNil() predicate.Product

CategoryKeyIsNil applies the IsNil predicate on the "categoryKey" field.

func CategoryKeyLT

func CategoryKeyLT(v string) predicate.Product

CategoryKeyLT applies the LT predicate on the "categoryKey" field.

func CategoryKeyLTE

func CategoryKeyLTE(v string) predicate.Product

CategoryKeyLTE applies the LTE predicate on the "categoryKey" field.

func CategoryKeyNEQ

func CategoryKeyNEQ(v string) predicate.Product

CategoryKeyNEQ applies the NEQ predicate on the "categoryKey" field.

func CategoryKeyNotIn

func CategoryKeyNotIn(vs ...string) predicate.Product

CategoryKeyNotIn applies the NotIn predicate on the "categoryKey" field.

func CategoryKeyNotNil

func CategoryKeyNotNil() predicate.Product

CategoryKeyNotNil applies the NotNil predicate on the "categoryKey" field.

func CategoryName

func CategoryName(v string) predicate.Product

CategoryName applies equality check predicate on the "categoryName" field. It's identical to CategoryNameEQ.

func CategoryNameContains

func CategoryNameContains(v string) predicate.Product

CategoryNameContains applies the Contains predicate on the "categoryName" field.

func CategoryNameContainsFold

func CategoryNameContainsFold(v string) predicate.Product

CategoryNameContainsFold applies the ContainsFold predicate on the "categoryName" field.

func CategoryNameEQ

func CategoryNameEQ(v string) predicate.Product

CategoryNameEQ applies the EQ predicate on the "categoryName" field.

func CategoryNameEqualFold

func CategoryNameEqualFold(v string) predicate.Product

CategoryNameEqualFold applies the EqualFold predicate on the "categoryName" field.

func CategoryNameGT

func CategoryNameGT(v string) predicate.Product

CategoryNameGT applies the GT predicate on the "categoryName" field.

func CategoryNameGTE

func CategoryNameGTE(v string) predicate.Product

CategoryNameGTE applies the GTE predicate on the "categoryName" field.

func CategoryNameHasPrefix

func CategoryNameHasPrefix(v string) predicate.Product

CategoryNameHasPrefix applies the HasPrefix predicate on the "categoryName" field.

func CategoryNameHasSuffix

func CategoryNameHasSuffix(v string) predicate.Product

CategoryNameHasSuffix applies the HasSuffix predicate on the "categoryName" field.

func CategoryNameIn

func CategoryNameIn(vs ...string) predicate.Product

CategoryNameIn applies the In predicate on the "categoryName" field.

func CategoryNameIsNil

func CategoryNameIsNil() predicate.Product

CategoryNameIsNil applies the IsNil predicate on the "categoryName" field.

func CategoryNameLT

func CategoryNameLT(v string) predicate.Product

CategoryNameLT applies the LT predicate on the "categoryName" field.

func CategoryNameLTE

func CategoryNameLTE(v string) predicate.Product

CategoryNameLTE applies the LTE predicate on the "categoryName" field.

func CategoryNameNEQ

func CategoryNameNEQ(v string) predicate.Product

CategoryNameNEQ applies the NEQ predicate on the "categoryName" field.

func CategoryNameNotIn

func CategoryNameNotIn(vs ...string) predicate.Product

CategoryNameNotIn applies the NotIn predicate on the "categoryName" field.

func CategoryNameNotNil

func CategoryNameNotNil() predicate.Product

CategoryNameNotNil applies the NotNil predicate on the "categoryName" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Product

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Product

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Product

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Product

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Product

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Product

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Product

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

func CreatedAtNotIn

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

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

func DataFormat

func DataFormat(v int32) predicate.Product

DataFormat applies equality check predicate on the "dataFormat" field. It's identical to DataFormatEQ.

func DataFormatEQ

func DataFormatEQ(v int32) predicate.Product

DataFormatEQ applies the EQ predicate on the "dataFormat" field.

func DataFormatGT

func DataFormatGT(v int32) predicate.Product

DataFormatGT applies the GT predicate on the "dataFormat" field.

func DataFormatGTE

func DataFormatGTE(v int32) predicate.Product

DataFormatGTE applies the GTE predicate on the "dataFormat" field.

func DataFormatIn

func DataFormatIn(vs ...int32) predicate.Product

DataFormatIn applies the In predicate on the "dataFormat" field.

func DataFormatIsNil

func DataFormatIsNil() predicate.Product

DataFormatIsNil applies the IsNil predicate on the "dataFormat" field.

func DataFormatLT

func DataFormatLT(v int32) predicate.Product

DataFormatLT applies the LT predicate on the "dataFormat" field.

func DataFormatLTE

func DataFormatLTE(v int32) predicate.Product

DataFormatLTE applies the LTE predicate on the "dataFormat" field.

func DataFormatNEQ

func DataFormatNEQ(v int32) predicate.Product

DataFormatNEQ applies the NEQ predicate on the "dataFormat" field.

func DataFormatNotIn

func DataFormatNotIn(vs ...int32) predicate.Product

DataFormatNotIn applies the NotIn predicate on the "dataFormat" field.

func DataFormatNotNil

func DataFormatNotNil() predicate.Product

DataFormatNotNil applies the NotNil predicate on the "dataFormat" field.

func Description

func Description(v string) predicate.Product

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Product

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Product

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Product

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Product

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Product

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Product

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Product

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Product

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Product

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Product

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Product

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Product

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Product

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Product

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Product

DescriptionNotNil applies the NotNil predicate on the "description" field.

func DeviceCount

func DeviceCount(v int32) predicate.Product

DeviceCount applies equality check predicate on the "deviceCount" field. It's identical to DeviceCountEQ.

func DeviceCountEQ

func DeviceCountEQ(v int32) predicate.Product

DeviceCountEQ applies the EQ predicate on the "deviceCount" field.

func DeviceCountGT

func DeviceCountGT(v int32) predicate.Product

DeviceCountGT applies the GT predicate on the "deviceCount" field.

func DeviceCountGTE

func DeviceCountGTE(v int32) predicate.Product

DeviceCountGTE applies the GTE predicate on the "deviceCount" field.

func DeviceCountIn

func DeviceCountIn(vs ...int32) predicate.Product

DeviceCountIn applies the In predicate on the "deviceCount" field.

func DeviceCountLT

func DeviceCountLT(v int32) predicate.Product

DeviceCountLT applies the LT predicate on the "deviceCount" field.

func DeviceCountLTE

func DeviceCountLTE(v int32) predicate.Product

DeviceCountLTE applies the LTE predicate on the "deviceCount" field.

func DeviceCountNEQ

func DeviceCountNEQ(v int32) predicate.Product

DeviceCountNEQ applies the NEQ predicate on the "deviceCount" field.

func DeviceCountNotIn

func DeviceCountNotIn(vs ...int32) predicate.Product

DeviceCountNotIn applies the NotIn predicate on the "deviceCount" field.

func GmtCreate

func GmtCreate(v int64) predicate.Product

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

func GmtCreateEQ

func GmtCreateEQ(v int64) predicate.Product

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

func GmtCreateGT

func GmtCreateGT(v int64) predicate.Product

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

func GmtCreateGTE

func GmtCreateGTE(v int64) predicate.Product

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

func GmtCreateIn

func GmtCreateIn(vs ...int64) predicate.Product

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

func GmtCreateIsNil

func GmtCreateIsNil() predicate.Product

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

func GmtCreateLT

func GmtCreateLT(v int64) predicate.Product

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

func GmtCreateLTE

func GmtCreateLTE(v int64) predicate.Product

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

func GmtCreateNEQ

func GmtCreateNEQ(v int64) predicate.Product

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

func GmtCreateNotIn

func GmtCreateNotIn(vs ...int64) predicate.Product

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

func GmtCreateNotNil

func GmtCreateNotNil() predicate.Product

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

func HasDevices

func HasDevices() predicate.Product

HasDevices applies the HasEdge predicate on the "devices" edge.

func HasDevicesWith

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

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

func HasEvents

func HasEvents() predicate.Product

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.ProductEvent) predicate.Product

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

func HasProperties

func HasProperties() predicate.Product

HasProperties applies the HasEdge predicate on the "properties" edge.

func HasPropertiesWith

func HasPropertiesWith(preds ...predicate.ProductProperty) predicate.Product

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

func HasServices

func HasServices() predicate.Product

HasServices applies the HasEdge predicate on the "services" edge.

func HasServicesWith

func HasServicesWith(preds ...predicate.ProductService) predicate.Product

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

func HasTags

func HasTags() predicate.Product

HasTags applies the HasEdge predicate on the "tags" edge.

func HasTagsWith

func HasTagsWith(preds ...predicate.ProductTag) predicate.Product

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

func ID

func ID(id uuid.UUID) predicate.Product

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Product

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Product

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Product

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Product

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Product

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Product

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Id2

func Id2(v bool) predicate.Product

Id2 applies equality check predicate on the "id2" field. It's identical to Id2EQ.

func Id2EQ

func Id2EQ(v bool) predicate.Product

Id2EQ applies the EQ predicate on the "id2" field.

func Id2IsNil

func Id2IsNil() predicate.Product

Id2IsNil applies the IsNil predicate on the "id2" field.

func Id2NEQ

func Id2NEQ(v bool) predicate.Product

Id2NEQ applies the NEQ predicate on the "id2" field.

func Id2NotNil

func Id2NotNil() predicate.Product

Id2NotNil applies the NotNil predicate on the "id2" field.

func NetType

func NetType(v int32) predicate.Product

NetType applies equality check predicate on the "netType" field. It's identical to NetTypeEQ.

func NetTypeEQ

func NetTypeEQ(v int32) predicate.Product

NetTypeEQ applies the EQ predicate on the "netType" field.

func NetTypeGT

func NetTypeGT(v int32) predicate.Product

NetTypeGT applies the GT predicate on the "netType" field.

func NetTypeGTE

func NetTypeGTE(v int32) predicate.Product

NetTypeGTE applies the GTE predicate on the "netType" field.

func NetTypeIn

func NetTypeIn(vs ...int32) predicate.Product

NetTypeIn applies the In predicate on the "netType" field.

func NetTypeIsNil

func NetTypeIsNil() predicate.Product

NetTypeIsNil applies the IsNil predicate on the "netType" field.

func NetTypeLT

func NetTypeLT(v int32) predicate.Product

NetTypeLT applies the LT predicate on the "netType" field.

func NetTypeLTE

func NetTypeLTE(v int32) predicate.Product

NetTypeLTE applies the LTE predicate on the "netType" field.

func NetTypeNEQ

func NetTypeNEQ(v int32) predicate.Product

NetTypeNEQ applies the NEQ predicate on the "netType" field.

func NetTypeNotIn

func NetTypeNotIn(vs ...int32) predicate.Product

NetTypeNotIn applies the NotIn predicate on the "netType" field.

func NetTypeNotNil

func NetTypeNotNil() predicate.Product

NetTypeNotNil applies the NotNil predicate on the "netType" field.

func NodeType

func NodeType(v int32) predicate.Product

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

func NodeTypeEQ

func NodeTypeEQ(v int32) predicate.Product

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

func NodeTypeGT

func NodeTypeGT(v int32) predicate.Product

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

func NodeTypeGTE

func NodeTypeGTE(v int32) predicate.Product

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

func NodeTypeIn

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

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

func NodeTypeLT

func NodeTypeLT(v int32) predicate.Product

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

func NodeTypeLTE

func NodeTypeLTE(v int32) predicate.Product

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

func NodeTypeNEQ

func NodeTypeNEQ(v int32) predicate.Product

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

func NodeTypeNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Product) predicate.Product

Or groups predicates with the OR operator between them.

func Owner

func Owner(v bool) predicate.Product

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

func OwnerEQ

func OwnerEQ(v bool) predicate.Product

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

func OwnerIsNil

func OwnerIsNil() predicate.Product

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

func OwnerNEQ

func OwnerNEQ(v bool) predicate.Product

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

func OwnerNotNil

func OwnerNotNil() predicate.Product

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

func ProductKey

func ProductKey(v string) predicate.Product

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

func ProductKeyContains

func ProductKeyContains(v string) predicate.Product

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

func ProductKeyContainsFold

func ProductKeyContainsFold(v string) predicate.Product

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

func ProductKeyEQ

func ProductKeyEQ(v string) predicate.Product

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

func ProductKeyEqualFold

func ProductKeyEqualFold(v string) predicate.Product

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

func ProductKeyGT

func ProductKeyGT(v string) predicate.Product

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

func ProductKeyGTE

func ProductKeyGTE(v string) predicate.Product

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

func ProductKeyHasPrefix

func ProductKeyHasPrefix(v string) predicate.Product

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

func ProductKeyHasSuffix

func ProductKeyHasSuffix(v string) predicate.Product

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

func ProductKeyIn

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

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

func ProductKeyLT

func ProductKeyLT(v string) predicate.Product

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

func ProductKeyLTE

func ProductKeyLTE(v string) predicate.Product

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

func ProductKeyNEQ

func ProductKeyNEQ(v string) predicate.Product

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

func ProductKeyNotIn

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

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

func ProductName

func ProductName(v string) predicate.Product

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

func ProductNameContains

func ProductNameContains(v string) predicate.Product

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

func ProductNameContainsFold

func ProductNameContainsFold(v string) predicate.Product

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

func ProductNameEQ

func ProductNameEQ(v string) predicate.Product

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

func ProductNameEqualFold

func ProductNameEqualFold(v string) predicate.Product

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

func ProductNameGT

func ProductNameGT(v string) predicate.Product

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

func ProductNameGTE

func ProductNameGTE(v string) predicate.Product

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

func ProductNameHasPrefix

func ProductNameHasPrefix(v string) predicate.Product

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

func ProductNameHasSuffix

func ProductNameHasSuffix(v string) predicate.Product

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

func ProductNameIn

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

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

func ProductNameLT

func ProductNameLT(v string) predicate.Product

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

func ProductNameLTE

func ProductNameLTE(v string) predicate.Product

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

func ProductNameNEQ

func ProductNameNEQ(v string) predicate.Product

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

func ProductNameNotIn

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

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

func ProductSecret

func ProductSecret(v string) predicate.Product

ProductSecret applies equality check predicate on the "productSecret" field. It's identical to ProductSecretEQ.

func ProductSecretContains

func ProductSecretContains(v string) predicate.Product

ProductSecretContains applies the Contains predicate on the "productSecret" field.

func ProductSecretContainsFold

func ProductSecretContainsFold(v string) predicate.Product

ProductSecretContainsFold applies the ContainsFold predicate on the "productSecret" field.

func ProductSecretEQ

func ProductSecretEQ(v string) predicate.Product

ProductSecretEQ applies the EQ predicate on the "productSecret" field.

func ProductSecretEqualFold

func ProductSecretEqualFold(v string) predicate.Product

ProductSecretEqualFold applies the EqualFold predicate on the "productSecret" field.

func ProductSecretGT

func ProductSecretGT(v string) predicate.Product

ProductSecretGT applies the GT predicate on the "productSecret" field.

func ProductSecretGTE

func ProductSecretGTE(v string) predicate.Product

ProductSecretGTE applies the GTE predicate on the "productSecret" field.

func ProductSecretHasPrefix

func ProductSecretHasPrefix(v string) predicate.Product

ProductSecretHasPrefix applies the HasPrefix predicate on the "productSecret" field.

func ProductSecretHasSuffix

func ProductSecretHasSuffix(v string) predicate.Product

ProductSecretHasSuffix applies the HasSuffix predicate on the "productSecret" field.

func ProductSecretIn

func ProductSecretIn(vs ...string) predicate.Product

ProductSecretIn applies the In predicate on the "productSecret" field.

func ProductSecretIsNil

func ProductSecretIsNil() predicate.Product

ProductSecretIsNil applies the IsNil predicate on the "productSecret" field.

func ProductSecretLT

func ProductSecretLT(v string) predicate.Product

ProductSecretLT applies the LT predicate on the "productSecret" field.

func ProductSecretLTE

func ProductSecretLTE(v string) predicate.Product

ProductSecretLTE applies the LTE predicate on the "productSecret" field.

func ProductSecretNEQ

func ProductSecretNEQ(v string) predicate.Product

ProductSecretNEQ applies the NEQ predicate on the "productSecret" field.

func ProductSecretNotIn

func ProductSecretNotIn(vs ...string) predicate.Product

ProductSecretNotIn applies the NotIn predicate on the "productSecret" field.

func ProductSecretNotNil

func ProductSecretNotNil() predicate.Product

ProductSecretNotNil applies the NotNil predicate on the "productSecret" field.

func ProductStatus

func ProductStatus(v string) predicate.Product

ProductStatus applies equality check predicate on the "productStatus" field. It's identical to ProductStatusEQ.

func ProductStatusContains

func ProductStatusContains(v string) predicate.Product

ProductStatusContains applies the Contains predicate on the "productStatus" field.

func ProductStatusContainsFold

func ProductStatusContainsFold(v string) predicate.Product

ProductStatusContainsFold applies the ContainsFold predicate on the "productStatus" field.

func ProductStatusEQ

func ProductStatusEQ(v string) predicate.Product

ProductStatusEQ applies the EQ predicate on the "productStatus" field.

func ProductStatusEqualFold

func ProductStatusEqualFold(v string) predicate.Product

ProductStatusEqualFold applies the EqualFold predicate on the "productStatus" field.

func ProductStatusGT

func ProductStatusGT(v string) predicate.Product

ProductStatusGT applies the GT predicate on the "productStatus" field.

func ProductStatusGTE

func ProductStatusGTE(v string) predicate.Product

ProductStatusGTE applies the GTE predicate on the "productStatus" field.

func ProductStatusHasPrefix

func ProductStatusHasPrefix(v string) predicate.Product

ProductStatusHasPrefix applies the HasPrefix predicate on the "productStatus" field.

func ProductStatusHasSuffix

func ProductStatusHasSuffix(v string) predicate.Product

ProductStatusHasSuffix applies the HasSuffix predicate on the "productStatus" field.

func ProductStatusIn

func ProductStatusIn(vs ...string) predicate.Product

ProductStatusIn applies the In predicate on the "productStatus" field.

func ProductStatusIsNil

func ProductStatusIsNil() predicate.Product

ProductStatusIsNil applies the IsNil predicate on the "productStatus" field.

func ProductStatusLT

func ProductStatusLT(v string) predicate.Product

ProductStatusLT applies the LT predicate on the "productStatus" field.

func ProductStatusLTE

func ProductStatusLTE(v string) predicate.Product

ProductStatusLTE applies the LTE predicate on the "productStatus" field.

func ProductStatusNEQ

func ProductStatusNEQ(v string) predicate.Product

ProductStatusNEQ applies the NEQ predicate on the "productStatus" field.

func ProductStatusNotIn

func ProductStatusNotIn(vs ...string) predicate.Product

ProductStatusNotIn applies the NotIn predicate on the "productStatus" field.

func ProductStatusNotNil

func ProductStatusNotNil() predicate.Product

ProductStatusNotNil applies the NotNil predicate on the "productStatus" field.

func ProtocolType

func ProtocolType(v string) predicate.Product

ProtocolType applies equality check predicate on the "protocolType" field. It's identical to ProtocolTypeEQ.

func ProtocolTypeContains

func ProtocolTypeContains(v string) predicate.Product

ProtocolTypeContains applies the Contains predicate on the "protocolType" field.

func ProtocolTypeContainsFold

func ProtocolTypeContainsFold(v string) predicate.Product

ProtocolTypeContainsFold applies the ContainsFold predicate on the "protocolType" field.

func ProtocolTypeEQ

func ProtocolTypeEQ(v string) predicate.Product

ProtocolTypeEQ applies the EQ predicate on the "protocolType" field.

func ProtocolTypeEqualFold

func ProtocolTypeEqualFold(v string) predicate.Product

ProtocolTypeEqualFold applies the EqualFold predicate on the "protocolType" field.

func ProtocolTypeGT

func ProtocolTypeGT(v string) predicate.Product

ProtocolTypeGT applies the GT predicate on the "protocolType" field.

func ProtocolTypeGTE

func ProtocolTypeGTE(v string) predicate.Product

ProtocolTypeGTE applies the GTE predicate on the "protocolType" field.

func ProtocolTypeHasPrefix

func ProtocolTypeHasPrefix(v string) predicate.Product

ProtocolTypeHasPrefix applies the HasPrefix predicate on the "protocolType" field.

func ProtocolTypeHasSuffix

func ProtocolTypeHasSuffix(v string) predicate.Product

ProtocolTypeHasSuffix applies the HasSuffix predicate on the "protocolType" field.

func ProtocolTypeIn

func ProtocolTypeIn(vs ...string) predicate.Product

ProtocolTypeIn applies the In predicate on the "protocolType" field.

func ProtocolTypeIsNil

func ProtocolTypeIsNil() predicate.Product

ProtocolTypeIsNil applies the IsNil predicate on the "protocolType" field.

func ProtocolTypeLT

func ProtocolTypeLT(v string) predicate.Product

ProtocolTypeLT applies the LT predicate on the "protocolType" field.

func ProtocolTypeLTE

func ProtocolTypeLTE(v string) predicate.Product

ProtocolTypeLTE applies the LTE predicate on the "protocolType" field.

func ProtocolTypeNEQ

func ProtocolTypeNEQ(v string) predicate.Product

ProtocolTypeNEQ applies the NEQ predicate on the "protocolType" field.

func ProtocolTypeNotIn

func ProtocolTypeNotIn(vs ...string) predicate.Product

ProtocolTypeNotIn applies the NotIn predicate on the "protocolType" field.

func ProtocolTypeNotNil

func ProtocolTypeNotNil() predicate.Product

ProtocolTypeNotNil applies the NotNil predicate on the "protocolType" field.

func Sort

func Sort(v uint32) predicate.Product

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

func SortEQ

func SortEQ(v uint32) predicate.Product

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

func SortGT

func SortGT(v uint32) predicate.Product

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

func SortGTE

func SortGTE(v uint32) predicate.Product

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

func SortIn

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

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

func SortLT

func SortLT(v uint32) predicate.Product

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

func SortLTE

func SortLTE(v uint32) predicate.Product

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

func SortNEQ

func SortNEQ(v uint32) predicate.Product

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

func SortNotIn

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

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

func Status

func Status(v uint8) predicate.Product

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

func StatusEQ

func StatusEQ(v uint8) predicate.Product

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

func StatusGT

func StatusGT(v uint8) predicate.Product

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

func StatusGTE

func StatusGTE(v uint8) predicate.Product

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

func StatusIn

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

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

func StatusIsNil

func StatusIsNil() predicate.Product

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

func StatusLT

func StatusLT(v uint8) predicate.Product

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

func StatusLTE

func StatusLTE(v uint8) predicate.Product

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

func StatusNEQ

func StatusNEQ(v uint8) predicate.Product

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

func StatusNotIn

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

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

func StatusNotNil

func StatusNotNil() predicate.Product

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Product

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Product

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Product

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Product

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Product

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Product

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Product

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

func UpdatedAtNotIn

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

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

func ValidateType

func ValidateType(v int32) predicate.Product

ValidateType applies equality check predicate on the "validateType" field. It's identical to ValidateTypeEQ.

func ValidateTypeEQ

func ValidateTypeEQ(v int32) predicate.Product

ValidateTypeEQ applies the EQ predicate on the "validateType" field.

func ValidateTypeGT

func ValidateTypeGT(v int32) predicate.Product

ValidateTypeGT applies the GT predicate on the "validateType" field.

func ValidateTypeGTE

func ValidateTypeGTE(v int32) predicate.Product

ValidateTypeGTE applies the GTE predicate on the "validateType" field.

func ValidateTypeIn

func ValidateTypeIn(vs ...int32) predicate.Product

ValidateTypeIn applies the In predicate on the "validateType" field.

func ValidateTypeIsNil

func ValidateTypeIsNil() predicate.Product

ValidateTypeIsNil applies the IsNil predicate on the "validateType" field.

func ValidateTypeLT

func ValidateTypeLT(v int32) predicate.Product

ValidateTypeLT applies the LT predicate on the "validateType" field.

func ValidateTypeLTE

func ValidateTypeLTE(v int32) predicate.Product

ValidateTypeLTE applies the LTE predicate on the "validateType" field.

func ValidateTypeNEQ

func ValidateTypeNEQ(v int32) predicate.Product

ValidateTypeNEQ applies the NEQ predicate on the "validateType" field.

func ValidateTypeNotIn

func ValidateTypeNotIn(vs ...int32) predicate.Product

ValidateTypeNotIn applies the NotIn predicate on the "validateType" field.

func ValidateTypeNotNil

func ValidateTypeNotNil() predicate.Product

ValidateTypeNotNil applies the NotNil predicate on the "validateType" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Product queries.

func ByAliyunCommodityCode

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

ByAliyunCommodityCode orders the results by the aliyunCommodityCode field.

func ByAuthType

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

ByAuthType orders the results by the authType field.

func ByCategoryKey

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

ByCategoryKey orders the results by the categoryKey field.

func ByCategoryName

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

ByCategoryName orders the results by the categoryName field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDataFormat

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

ByDataFormat orders the results by the dataFormat field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByDeviceCount

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

ByDeviceCount orders the results by the deviceCount field.

func ByDevices

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

ByDevices orders the results by devices terms.

func ByDevicesCount

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

ByDevicesCount orders the results by devices count.

func ByEvents

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

ByEvents orders the results by events terms.

func ByEventsCount

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

ByEventsCount orders the results by events count.

func ByGmtCreate

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

ByGmtCreate orders the results by the gmtCreate field.

func ByID

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

ByID orders the results by the id field.

func ById2

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

ById2 orders the results by the id2 field.

func ByNetType

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

ByNetType orders the results by the netType field.

func ByNodeType

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

ByNodeType orders the results by the nodeType field.

func ByOwner

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

ByOwner orders the results by the owner 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 ByProductSecret

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

ByProductSecret orders the results by the productSecret field.

func ByProductStatus

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

ByProductStatus orders the results by the productStatus field.

func ByProperties

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

ByProperties orders the results by properties terms.

func ByPropertiesCount

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

ByPropertiesCount orders the results by properties count.

func ByProtocolType

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

ByProtocolType orders the results by the protocolType field.

func ByServices

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

ByServices orders the results by services terms.

func ByServicesCount

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

ByServicesCount orders the results by services count.

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 ByTags

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

ByTags orders the results by tags terms.

func ByTagsCount

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

ByTagsCount orders the results by tags count.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByValidateType

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

ByValidateType orders the results by the validateType field.

Jump to

Keyboard shortcuts

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