productproperty

package
v0.0.0-...-ca5a4cf Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the productproperty type in the database.
	Label = "product_property"
	// 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"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldCreateTs holds the string denoting the createts field in the database.
	FieldCreateTs = "create_ts"
	// FieldIdentifier holds the string denoting the identifier field in the database.
	FieldIdentifier = "identifier"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldRwFlag holds the string denoting the rwflag field in the database.
	FieldRwFlag = "rw_flag"
	// FieldRequired holds the string denoting the required field in the database.
	FieldRequired = "required"
	// FieldDataType holds the string denoting the datatype field in the database.
	FieldDataType = "data_type"
	// FieldDataSpecs holds the string denoting the dataspecs field in the database.
	FieldDataSpecs = "data_specs"
	// FieldDataSpecsList holds the string denoting the dataspecslist field in the database.
	FieldDataSpecsList = "data_specs_list"
	// FieldCustom holds the string denoting the custom field in the database.
	FieldCustom = "custom"
	// EdgeProduct holds the string denoting the product edge name in mutations.
	EdgeProduct = "product"
	// Table holds the table name of the productproperty in the database.
	Table = "equip_product_properties"
	// ProductTable is the table that holds the product relation/edge.
	ProductTable = "equip_product_properties"
	// 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_properties"
)

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
	// DefaultRwFlag holds the default value on creation for the "rwFlag" field.
	DefaultRwFlag string
	// DefaultRequired holds the default value on creation for the "required" field.
	DefaultRequired bool
	// DefaultCustom holds the default value on creation for the "custom" field.
	DefaultCustom bool
)

Columns holds all SQL columns for productproperty fields.

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

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

Functions

func And

And groups predicates with the AND operator between them.

func CreateTs

func CreateTs(v int64) predicate.ProductProperty

CreateTs applies equality check predicate on the "createTs" field. It's identical to CreateTsEQ.

func CreateTsEQ

func CreateTsEQ(v int64) predicate.ProductProperty

CreateTsEQ applies the EQ predicate on the "createTs" field.

func CreateTsGT

func CreateTsGT(v int64) predicate.ProductProperty

CreateTsGT applies the GT predicate on the "createTs" field.

func CreateTsGTE

func CreateTsGTE(v int64) predicate.ProductProperty

CreateTsGTE applies the GTE predicate on the "createTs" field.

func CreateTsIn

func CreateTsIn(vs ...int64) predicate.ProductProperty

CreateTsIn applies the In predicate on the "createTs" field.

func CreateTsIsNil

func CreateTsIsNil() predicate.ProductProperty

CreateTsIsNil applies the IsNil predicate on the "createTs" field.

func CreateTsLT

func CreateTsLT(v int64) predicate.ProductProperty

CreateTsLT applies the LT predicate on the "createTs" field.

func CreateTsLTE

func CreateTsLTE(v int64) predicate.ProductProperty

CreateTsLTE applies the LTE predicate on the "createTs" field.

func CreateTsNEQ

func CreateTsNEQ(v int64) predicate.ProductProperty

CreateTsNEQ applies the NEQ predicate on the "createTs" field.

func CreateTsNotIn

func CreateTsNotIn(vs ...int64) predicate.ProductProperty

CreateTsNotIn applies the NotIn predicate on the "createTs" field.

func CreateTsNotNil

func CreateTsNotNil() predicate.ProductProperty

CreateTsNotNil applies the NotNil predicate on the "createTs" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ProductProperty

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ProductProperty

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ProductProperty

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ProductProperty

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ProductProperty

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ProductProperty

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ProductProperty

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

func CreatedAtNotIn

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

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

func Custom

func Custom(v bool) predicate.ProductProperty

Custom applies equality check predicate on the "custom" field. It's identical to CustomEQ.

func CustomEQ

func CustomEQ(v bool) predicate.ProductProperty

CustomEQ applies the EQ predicate on the "custom" field.

func CustomNEQ

func CustomNEQ(v bool) predicate.ProductProperty

CustomNEQ applies the NEQ predicate on the "custom" field.

func DataSpecs

func DataSpecs(v string) predicate.ProductProperty

DataSpecs applies equality check predicate on the "dataSpecs" field. It's identical to DataSpecsEQ.

func DataSpecsContains

func DataSpecsContains(v string) predicate.ProductProperty

DataSpecsContains applies the Contains predicate on the "dataSpecs" field.

func DataSpecsContainsFold

func DataSpecsContainsFold(v string) predicate.ProductProperty

DataSpecsContainsFold applies the ContainsFold predicate on the "dataSpecs" field.

func DataSpecsEQ

func DataSpecsEQ(v string) predicate.ProductProperty

DataSpecsEQ applies the EQ predicate on the "dataSpecs" field.

func DataSpecsEqualFold

func DataSpecsEqualFold(v string) predicate.ProductProperty

DataSpecsEqualFold applies the EqualFold predicate on the "dataSpecs" field.

func DataSpecsGT

func DataSpecsGT(v string) predicate.ProductProperty

DataSpecsGT applies the GT predicate on the "dataSpecs" field.

func DataSpecsGTE

func DataSpecsGTE(v string) predicate.ProductProperty

DataSpecsGTE applies the GTE predicate on the "dataSpecs" field.

func DataSpecsHasPrefix

func DataSpecsHasPrefix(v string) predicate.ProductProperty

DataSpecsHasPrefix applies the HasPrefix predicate on the "dataSpecs" field.

func DataSpecsHasSuffix

func DataSpecsHasSuffix(v string) predicate.ProductProperty

DataSpecsHasSuffix applies the HasSuffix predicate on the "dataSpecs" field.

func DataSpecsIn

func DataSpecsIn(vs ...string) predicate.ProductProperty

DataSpecsIn applies the In predicate on the "dataSpecs" field.

func DataSpecsIsNil

func DataSpecsIsNil() predicate.ProductProperty

DataSpecsIsNil applies the IsNil predicate on the "dataSpecs" field.

func DataSpecsLT

func DataSpecsLT(v string) predicate.ProductProperty

DataSpecsLT applies the LT predicate on the "dataSpecs" field.

func DataSpecsLTE

func DataSpecsLTE(v string) predicate.ProductProperty

DataSpecsLTE applies the LTE predicate on the "dataSpecs" field.

func DataSpecsList

func DataSpecsList(v string) predicate.ProductProperty

DataSpecsList applies equality check predicate on the "dataSpecsList" field. It's identical to DataSpecsListEQ.

func DataSpecsListContains

func DataSpecsListContains(v string) predicate.ProductProperty

DataSpecsListContains applies the Contains predicate on the "dataSpecsList" field.

func DataSpecsListContainsFold

func DataSpecsListContainsFold(v string) predicate.ProductProperty

DataSpecsListContainsFold applies the ContainsFold predicate on the "dataSpecsList" field.

func DataSpecsListEQ

func DataSpecsListEQ(v string) predicate.ProductProperty

DataSpecsListEQ applies the EQ predicate on the "dataSpecsList" field.

func DataSpecsListEqualFold

func DataSpecsListEqualFold(v string) predicate.ProductProperty

DataSpecsListEqualFold applies the EqualFold predicate on the "dataSpecsList" field.

func DataSpecsListGT

func DataSpecsListGT(v string) predicate.ProductProperty

DataSpecsListGT applies the GT predicate on the "dataSpecsList" field.

func DataSpecsListGTE

func DataSpecsListGTE(v string) predicate.ProductProperty

DataSpecsListGTE applies the GTE predicate on the "dataSpecsList" field.

func DataSpecsListHasPrefix

func DataSpecsListHasPrefix(v string) predicate.ProductProperty

DataSpecsListHasPrefix applies the HasPrefix predicate on the "dataSpecsList" field.

func DataSpecsListHasSuffix

func DataSpecsListHasSuffix(v string) predicate.ProductProperty

DataSpecsListHasSuffix applies the HasSuffix predicate on the "dataSpecsList" field.

func DataSpecsListIn

func DataSpecsListIn(vs ...string) predicate.ProductProperty

DataSpecsListIn applies the In predicate on the "dataSpecsList" field.

func DataSpecsListIsNil

func DataSpecsListIsNil() predicate.ProductProperty

DataSpecsListIsNil applies the IsNil predicate on the "dataSpecsList" field.

func DataSpecsListLT

func DataSpecsListLT(v string) predicate.ProductProperty

DataSpecsListLT applies the LT predicate on the "dataSpecsList" field.

func DataSpecsListLTE

func DataSpecsListLTE(v string) predicate.ProductProperty

DataSpecsListLTE applies the LTE predicate on the "dataSpecsList" field.

func DataSpecsListNEQ

func DataSpecsListNEQ(v string) predicate.ProductProperty

DataSpecsListNEQ applies the NEQ predicate on the "dataSpecsList" field.

func DataSpecsListNotIn

func DataSpecsListNotIn(vs ...string) predicate.ProductProperty

DataSpecsListNotIn applies the NotIn predicate on the "dataSpecsList" field.

func DataSpecsListNotNil

func DataSpecsListNotNil() predicate.ProductProperty

DataSpecsListNotNil applies the NotNil predicate on the "dataSpecsList" field.

func DataSpecsNEQ

func DataSpecsNEQ(v string) predicate.ProductProperty

DataSpecsNEQ applies the NEQ predicate on the "dataSpecs" field.

func DataSpecsNotIn

func DataSpecsNotIn(vs ...string) predicate.ProductProperty

DataSpecsNotIn applies the NotIn predicate on the "dataSpecs" field.

func DataSpecsNotNil

func DataSpecsNotNil() predicate.ProductProperty

DataSpecsNotNil applies the NotNil predicate on the "dataSpecs" field.

func DataType

func DataType(v string) predicate.ProductProperty

DataType applies equality check predicate on the "dataType" field. It's identical to DataTypeEQ.

func DataTypeContains

func DataTypeContains(v string) predicate.ProductProperty

DataTypeContains applies the Contains predicate on the "dataType" field.

func DataTypeContainsFold

func DataTypeContainsFold(v string) predicate.ProductProperty

DataTypeContainsFold applies the ContainsFold predicate on the "dataType" field.

func DataTypeEQ

func DataTypeEQ(v string) predicate.ProductProperty

DataTypeEQ applies the EQ predicate on the "dataType" field.

func DataTypeEqualFold

func DataTypeEqualFold(v string) predicate.ProductProperty

DataTypeEqualFold applies the EqualFold predicate on the "dataType" field.

func DataTypeGT

func DataTypeGT(v string) predicate.ProductProperty

DataTypeGT applies the GT predicate on the "dataType" field.

func DataTypeGTE

func DataTypeGTE(v string) predicate.ProductProperty

DataTypeGTE applies the GTE predicate on the "dataType" field.

func DataTypeHasPrefix

func DataTypeHasPrefix(v string) predicate.ProductProperty

DataTypeHasPrefix applies the HasPrefix predicate on the "dataType" field.

func DataTypeHasSuffix

func DataTypeHasSuffix(v string) predicate.ProductProperty

DataTypeHasSuffix applies the HasSuffix predicate on the "dataType" field.

func DataTypeIn

func DataTypeIn(vs ...string) predicate.ProductProperty

DataTypeIn applies the In predicate on the "dataType" field.

func DataTypeIsNil

func DataTypeIsNil() predicate.ProductProperty

DataTypeIsNil applies the IsNil predicate on the "dataType" field.

func DataTypeLT

func DataTypeLT(v string) predicate.ProductProperty

DataTypeLT applies the LT predicate on the "dataType" field.

func DataTypeLTE

func DataTypeLTE(v string) predicate.ProductProperty

DataTypeLTE applies the LTE predicate on the "dataType" field.

func DataTypeNEQ

func DataTypeNEQ(v string) predicate.ProductProperty

DataTypeNEQ applies the NEQ predicate on the "dataType" field.

func DataTypeNotIn

func DataTypeNotIn(vs ...string) predicate.ProductProperty

DataTypeNotIn applies the NotIn predicate on the "dataType" field.

func DataTypeNotNil

func DataTypeNotNil() predicate.ProductProperty

DataTypeNotNil applies the NotNil predicate on the "dataType" field.

func HasProduct

func HasProduct() predicate.ProductProperty

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

func HasProductWith

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

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Identifier

func Identifier(v string) predicate.ProductProperty

Identifier applies equality check predicate on the "identifier" field. It's identical to IdentifierEQ.

func IdentifierContains

func IdentifierContains(v string) predicate.ProductProperty

IdentifierContains applies the Contains predicate on the "identifier" field.

func IdentifierContainsFold

func IdentifierContainsFold(v string) predicate.ProductProperty

IdentifierContainsFold applies the ContainsFold predicate on the "identifier" field.

func IdentifierEQ

func IdentifierEQ(v string) predicate.ProductProperty

IdentifierEQ applies the EQ predicate on the "identifier" field.

func IdentifierEqualFold

func IdentifierEqualFold(v string) predicate.ProductProperty

IdentifierEqualFold applies the EqualFold predicate on the "identifier" field.

func IdentifierGT

func IdentifierGT(v string) predicate.ProductProperty

IdentifierGT applies the GT predicate on the "identifier" field.

func IdentifierGTE

func IdentifierGTE(v string) predicate.ProductProperty

IdentifierGTE applies the GTE predicate on the "identifier" field.

func IdentifierHasPrefix

func IdentifierHasPrefix(v string) predicate.ProductProperty

IdentifierHasPrefix applies the HasPrefix predicate on the "identifier" field.

func IdentifierHasSuffix

func IdentifierHasSuffix(v string) predicate.ProductProperty

IdentifierHasSuffix applies the HasSuffix predicate on the "identifier" field.

func IdentifierIn

func IdentifierIn(vs ...string) predicate.ProductProperty

IdentifierIn applies the In predicate on the "identifier" field.

func IdentifierLT

func IdentifierLT(v string) predicate.ProductProperty

IdentifierLT applies the LT predicate on the "identifier" field.

func IdentifierLTE

func IdentifierLTE(v string) predicate.ProductProperty

IdentifierLTE applies the LTE predicate on the "identifier" field.

func IdentifierNEQ

func IdentifierNEQ(v string) predicate.ProductProperty

IdentifierNEQ applies the NEQ predicate on the "identifier" field.

func IdentifierNotIn

func IdentifierNotIn(vs ...string) predicate.ProductProperty

IdentifierNotIn applies the NotIn predicate on the "identifier" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.ProductProperty

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.ProductProperty

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.ProductProperty

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.ProductProperty

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.ProductProperty

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.ProductProperty

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.ProductProperty

NameIn applies the In predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.ProductProperty

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.ProductProperty

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.ProductProperty

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ProductKey

func ProductKey(v string) predicate.ProductProperty

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

func ProductKeyContains

func ProductKeyContains(v string) predicate.ProductProperty

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

func ProductKeyContainsFold

func ProductKeyContainsFold(v string) predicate.ProductProperty

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

func ProductKeyEQ

func ProductKeyEQ(v string) predicate.ProductProperty

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

func ProductKeyEqualFold

func ProductKeyEqualFold(v string) predicate.ProductProperty

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

func ProductKeyGT

func ProductKeyGT(v string) predicate.ProductProperty

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

func ProductKeyGTE

func ProductKeyGTE(v string) predicate.ProductProperty

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

func ProductKeyHasPrefix

func ProductKeyHasPrefix(v string) predicate.ProductProperty

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

func ProductKeyHasSuffix

func ProductKeyHasSuffix(v string) predicate.ProductProperty

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

func ProductKeyIn

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

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

func ProductKeyLT

func ProductKeyLT(v string) predicate.ProductProperty

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

func ProductKeyLTE

func ProductKeyLTE(v string) predicate.ProductProperty

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

func ProductKeyNEQ

func ProductKeyNEQ(v string) predicate.ProductProperty

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

func ProductKeyNotIn

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

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

func Required

func Required(v bool) predicate.ProductProperty

Required applies equality check predicate on the "required" field. It's identical to RequiredEQ.

func RequiredEQ

func RequiredEQ(v bool) predicate.ProductProperty

RequiredEQ applies the EQ predicate on the "required" field.

func RequiredNEQ

func RequiredNEQ(v bool) predicate.ProductProperty

RequiredNEQ applies the NEQ predicate on the "required" field.

func RwFlag

RwFlag applies equality check predicate on the "rwFlag" field. It's identical to RwFlagEQ.

func RwFlagContains

func RwFlagContains(v string) predicate.ProductProperty

RwFlagContains applies the Contains predicate on the "rwFlag" field.

func RwFlagContainsFold

func RwFlagContainsFold(v string) predicate.ProductProperty

RwFlagContainsFold applies the ContainsFold predicate on the "rwFlag" field.

func RwFlagEQ

func RwFlagEQ(v string) predicate.ProductProperty

RwFlagEQ applies the EQ predicate on the "rwFlag" field.

func RwFlagEqualFold

func RwFlagEqualFold(v string) predicate.ProductProperty

RwFlagEqualFold applies the EqualFold predicate on the "rwFlag" field.

func RwFlagGT

func RwFlagGT(v string) predicate.ProductProperty

RwFlagGT applies the GT predicate on the "rwFlag" field.

func RwFlagGTE

func RwFlagGTE(v string) predicate.ProductProperty

RwFlagGTE applies the GTE predicate on the "rwFlag" field.

func RwFlagHasPrefix

func RwFlagHasPrefix(v string) predicate.ProductProperty

RwFlagHasPrefix applies the HasPrefix predicate on the "rwFlag" field.

func RwFlagHasSuffix

func RwFlagHasSuffix(v string) predicate.ProductProperty

RwFlagHasSuffix applies the HasSuffix predicate on the "rwFlag" field.

func RwFlagIn

func RwFlagIn(vs ...string) predicate.ProductProperty

RwFlagIn applies the In predicate on the "rwFlag" field.

func RwFlagLT

func RwFlagLT(v string) predicate.ProductProperty

RwFlagLT applies the LT predicate on the "rwFlag" field.

func RwFlagLTE

func RwFlagLTE(v string) predicate.ProductProperty

RwFlagLTE applies the LTE predicate on the "rwFlag" field.

func RwFlagNEQ

func RwFlagNEQ(v string) predicate.ProductProperty

RwFlagNEQ applies the NEQ predicate on the "rwFlag" field.

func RwFlagNotIn

func RwFlagNotIn(vs ...string) predicate.ProductProperty

RwFlagNotIn applies the NotIn predicate on the "rwFlag" field.

func Sort

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

func SortEQ

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

func SortGT

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

func SortGTE

func SortGTE(v uint32) predicate.ProductProperty

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

func SortIn

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

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

func SortLT

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

func SortLTE

func SortLTE(v uint32) predicate.ProductProperty

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

func SortNEQ

func SortNEQ(v uint32) predicate.ProductProperty

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

func SortNotIn

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

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

func Status

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

func StatusEQ

func StatusEQ(v uint8) predicate.ProductProperty

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

func StatusGT

func StatusGT(v uint8) predicate.ProductProperty

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

func StatusGTE

func StatusGTE(v uint8) predicate.ProductProperty

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

func StatusIn

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

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

func StatusIsNil

func StatusIsNil() predicate.ProductProperty

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

func StatusLT

func StatusLT(v uint8) predicate.ProductProperty

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

func StatusLTE

func StatusLTE(v uint8) predicate.ProductProperty

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

func StatusNEQ

func StatusNEQ(v uint8) predicate.ProductProperty

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

func StatusNotIn

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

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

func StatusNotNil

func StatusNotNil() predicate.ProductProperty

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ProductProperty

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ProductProperty

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ProductProperty

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ProductProperty

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ProductProperty

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ProductProperty

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ProductProperty

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

func UpdatedAtNotIn

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

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 Version

func Version(v string) predicate.ProductProperty

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.ProductProperty

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.ProductProperty

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.ProductProperty

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.ProductProperty

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.ProductProperty

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.ProductProperty

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.ProductProperty

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.ProductProperty

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.ProductProperty

VersionIn applies the In predicate on the "version" field.

func VersionIsNil

func VersionIsNil() predicate.ProductProperty

VersionIsNil applies the IsNil predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.ProductProperty

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.ProductProperty

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.ProductProperty

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.ProductProperty

VersionNotIn applies the NotIn predicate on the "version" field.

func VersionNotNil

func VersionNotNil() predicate.ProductProperty

VersionNotNil applies the NotNil predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ProductProperty queries.

func ByCreateTs

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

ByCreateTs orders the results by the createTs field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCustom

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

ByCustom orders the results by the custom field.

func ByDataSpecs

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

ByDataSpecs orders the results by the dataSpecs field.

func ByDataSpecsList

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

ByDataSpecsList orders the results by the dataSpecsList field.

func ByDataType

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

ByDataType orders the results by the dataType field.

func ByID

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

ByID orders the results by the id field.

func ByIdentifier

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

ByIdentifier orders the results by the identifier field.

func ByName

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

ByName orders the results by the name 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 ByRequired

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

ByRequired orders the results by the required field.

func ByRwFlag

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

ByRwFlag orders the results by the rwFlag 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 ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByVersion

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

ByVersion orders the results by the version field.

Jump to

Keyboard shortcuts

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