productservice

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the productservice type in the database.
	Label = "product_service"
	// 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"
	// FieldCreateTs holds the string denoting the createts field in the database.
	FieldCreateTs = "create_ts"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldIdentifier holds the string denoting the identifier field in the database.
	FieldIdentifier = "identifier"
	// FieldServiceName holds the string denoting the servicename field in the database.
	FieldServiceName = "service_name"
	// FieldInputParams holds the string denoting the inputparams field in the database.
	FieldInputParams = "input_params"
	// FieldOutputParams holds the string denoting the outputparams field in the database.
	FieldOutputParams = "output_params"
	// FieldRequired holds the string denoting the required field in the database.
	FieldRequired = "required"
	// FieldCallType holds the string denoting the calltype field in the database.
	FieldCallType = "call_type"
	// 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 productservice in the database.
	Table = "equip_product_services"
	// ProductTable is the table that holds the product relation/edge.
	ProductTable = "equip_product_services"
	// 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_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
	// DefaultRequired holds the default value on creation for the "required" field.
	DefaultRequired bool
	// DefaultCallType holds the default value on creation for the "callType" field.
	DefaultCallType string
	// DefaultCustom holds the default value on creation for the "custom" field.
	DefaultCustom bool
)

Columns holds all SQL columns for productservice fields.

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

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

Functions

func And

And groups predicates with the AND operator between them.

func CallType

func CallType(v string) predicate.ProductService

CallType applies equality check predicate on the "callType" field. It's identical to CallTypeEQ.

func CallTypeContains

func CallTypeContains(v string) predicate.ProductService

CallTypeContains applies the Contains predicate on the "callType" field.

func CallTypeContainsFold

func CallTypeContainsFold(v string) predicate.ProductService

CallTypeContainsFold applies the ContainsFold predicate on the "callType" field.

func CallTypeEQ

func CallTypeEQ(v string) predicate.ProductService

CallTypeEQ applies the EQ predicate on the "callType" field.

func CallTypeEqualFold

func CallTypeEqualFold(v string) predicate.ProductService

CallTypeEqualFold applies the EqualFold predicate on the "callType" field.

func CallTypeGT

func CallTypeGT(v string) predicate.ProductService

CallTypeGT applies the GT predicate on the "callType" field.

func CallTypeGTE

func CallTypeGTE(v string) predicate.ProductService

CallTypeGTE applies the GTE predicate on the "callType" field.

func CallTypeHasPrefix

func CallTypeHasPrefix(v string) predicate.ProductService

CallTypeHasPrefix applies the HasPrefix predicate on the "callType" field.

func CallTypeHasSuffix

func CallTypeHasSuffix(v string) predicate.ProductService

CallTypeHasSuffix applies the HasSuffix predicate on the "callType" field.

func CallTypeIn

func CallTypeIn(vs ...string) predicate.ProductService

CallTypeIn applies the In predicate on the "callType" field.

func CallTypeLT

func CallTypeLT(v string) predicate.ProductService

CallTypeLT applies the LT predicate on the "callType" field.

func CallTypeLTE

func CallTypeLTE(v string) predicate.ProductService

CallTypeLTE applies the LTE predicate on the "callType" field.

func CallTypeNEQ

func CallTypeNEQ(v string) predicate.ProductService

CallTypeNEQ applies the NEQ predicate on the "callType" field.

func CallTypeNotIn

func CallTypeNotIn(vs ...string) predicate.ProductService

CallTypeNotIn applies the NotIn predicate on the "callType" field.

func CreateTs

func CreateTs(v int64) predicate.ProductService

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

func CreateTsEQ

func CreateTsEQ(v int64) predicate.ProductService

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

func CreateTsGT

func CreateTsGT(v int64) predicate.ProductService

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

func CreateTsGTE

func CreateTsGTE(v int64) predicate.ProductService

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

func CreateTsIn

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

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

func CreateTsIsNil

func CreateTsIsNil() predicate.ProductService

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

func CreateTsLT

func CreateTsLT(v int64) predicate.ProductService

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

func CreateTsLTE

func CreateTsLTE(v int64) predicate.ProductService

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

func CreateTsNEQ

func CreateTsNEQ(v int64) predicate.ProductService

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

func CreateTsNotIn

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

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

func CreateTsNotNil

func CreateTsNotNil() predicate.ProductService

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

func CreatedAt

func CreatedAt(v time.Time) predicate.ProductService

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ProductService

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ProductService

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ProductService

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ProductService

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ProductService

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ProductService

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

func CreatedAtNotIn

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

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

func Custom

func Custom(v bool) predicate.ProductService

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

func CustomEQ

func CustomEQ(v bool) predicate.ProductService

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

func CustomNEQ

func CustomNEQ(v bool) predicate.ProductService

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

func HasProduct

func HasProduct() predicate.ProductService

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

func HasProductWith

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

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

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

IDNotIn applies the NotIn predicate on the ID field.

func Identifier

func Identifier(v string) predicate.ProductService

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

func IdentifierContains

func IdentifierContains(v string) predicate.ProductService

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

func IdentifierContainsFold

func IdentifierContainsFold(v string) predicate.ProductService

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

func IdentifierEQ

func IdentifierEQ(v string) predicate.ProductService

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

func IdentifierEqualFold

func IdentifierEqualFold(v string) predicate.ProductService

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

func IdentifierGT

func IdentifierGT(v string) predicate.ProductService

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

func IdentifierGTE

func IdentifierGTE(v string) predicate.ProductService

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

func IdentifierHasPrefix

func IdentifierHasPrefix(v string) predicate.ProductService

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

func IdentifierHasSuffix

func IdentifierHasSuffix(v string) predicate.ProductService

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

func IdentifierIn

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

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

func IdentifierLT

func IdentifierLT(v string) predicate.ProductService

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

func IdentifierLTE

func IdentifierLTE(v string) predicate.ProductService

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

func IdentifierNEQ

func IdentifierNEQ(v string) predicate.ProductService

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

func IdentifierNotIn

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

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

func InputParams

func InputParams(v string) predicate.ProductService

InputParams applies equality check predicate on the "inputParams" field. It's identical to InputParamsEQ.

func InputParamsContains

func InputParamsContains(v string) predicate.ProductService

InputParamsContains applies the Contains predicate on the "inputParams" field.

func InputParamsContainsFold

func InputParamsContainsFold(v string) predicate.ProductService

InputParamsContainsFold applies the ContainsFold predicate on the "inputParams" field.

func InputParamsEQ

func InputParamsEQ(v string) predicate.ProductService

InputParamsEQ applies the EQ predicate on the "inputParams" field.

func InputParamsEqualFold

func InputParamsEqualFold(v string) predicate.ProductService

InputParamsEqualFold applies the EqualFold predicate on the "inputParams" field.

func InputParamsGT

func InputParamsGT(v string) predicate.ProductService

InputParamsGT applies the GT predicate on the "inputParams" field.

func InputParamsGTE

func InputParamsGTE(v string) predicate.ProductService

InputParamsGTE applies the GTE predicate on the "inputParams" field.

func InputParamsHasPrefix

func InputParamsHasPrefix(v string) predicate.ProductService

InputParamsHasPrefix applies the HasPrefix predicate on the "inputParams" field.

func InputParamsHasSuffix

func InputParamsHasSuffix(v string) predicate.ProductService

InputParamsHasSuffix applies the HasSuffix predicate on the "inputParams" field.

func InputParamsIn

func InputParamsIn(vs ...string) predicate.ProductService

InputParamsIn applies the In predicate on the "inputParams" field.

func InputParamsIsNil

func InputParamsIsNil() predicate.ProductService

InputParamsIsNil applies the IsNil predicate on the "inputParams" field.

func InputParamsLT

func InputParamsLT(v string) predicate.ProductService

InputParamsLT applies the LT predicate on the "inputParams" field.

func InputParamsLTE

func InputParamsLTE(v string) predicate.ProductService

InputParamsLTE applies the LTE predicate on the "inputParams" field.

func InputParamsNEQ

func InputParamsNEQ(v string) predicate.ProductService

InputParamsNEQ applies the NEQ predicate on the "inputParams" field.

func InputParamsNotIn

func InputParamsNotIn(vs ...string) predicate.ProductService

InputParamsNotIn applies the NotIn predicate on the "inputParams" field.

func InputParamsNotNil

func InputParamsNotNil() predicate.ProductService

InputParamsNotNil applies the NotNil predicate on the "inputParams" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OutputParams

func OutputParams(v string) predicate.ProductService

OutputParams applies equality check predicate on the "outputParams" field. It's identical to OutputParamsEQ.

func OutputParamsContains

func OutputParamsContains(v string) predicate.ProductService

OutputParamsContains applies the Contains predicate on the "outputParams" field.

func OutputParamsContainsFold

func OutputParamsContainsFold(v string) predicate.ProductService

OutputParamsContainsFold applies the ContainsFold predicate on the "outputParams" field.

func OutputParamsEQ

func OutputParamsEQ(v string) predicate.ProductService

OutputParamsEQ applies the EQ predicate on the "outputParams" field.

func OutputParamsEqualFold

func OutputParamsEqualFold(v string) predicate.ProductService

OutputParamsEqualFold applies the EqualFold predicate on the "outputParams" field.

func OutputParamsGT

func OutputParamsGT(v string) predicate.ProductService

OutputParamsGT applies the GT predicate on the "outputParams" field.

func OutputParamsGTE

func OutputParamsGTE(v string) predicate.ProductService

OutputParamsGTE applies the GTE predicate on the "outputParams" field.

func OutputParamsHasPrefix

func OutputParamsHasPrefix(v string) predicate.ProductService

OutputParamsHasPrefix applies the HasPrefix predicate on the "outputParams" field.

func OutputParamsHasSuffix

func OutputParamsHasSuffix(v string) predicate.ProductService

OutputParamsHasSuffix applies the HasSuffix predicate on the "outputParams" field.

func OutputParamsIn

func OutputParamsIn(vs ...string) predicate.ProductService

OutputParamsIn applies the In predicate on the "outputParams" field.

func OutputParamsIsNil

func OutputParamsIsNil() predicate.ProductService

OutputParamsIsNil applies the IsNil predicate on the "outputParams" field.

func OutputParamsLT

func OutputParamsLT(v string) predicate.ProductService

OutputParamsLT applies the LT predicate on the "outputParams" field.

func OutputParamsLTE

func OutputParamsLTE(v string) predicate.ProductService

OutputParamsLTE applies the LTE predicate on the "outputParams" field.

func OutputParamsNEQ

func OutputParamsNEQ(v string) predicate.ProductService

OutputParamsNEQ applies the NEQ predicate on the "outputParams" field.

func OutputParamsNotIn

func OutputParamsNotIn(vs ...string) predicate.ProductService

OutputParamsNotIn applies the NotIn predicate on the "outputParams" field.

func OutputParamsNotNil

func OutputParamsNotNil() predicate.ProductService

OutputParamsNotNil applies the NotNil predicate on the "outputParams" field.

func ProductKey

func ProductKey(v string) predicate.ProductService

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

func ProductKeyContains

func ProductKeyContains(v string) predicate.ProductService

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

func ProductKeyContainsFold

func ProductKeyContainsFold(v string) predicate.ProductService

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

func ProductKeyEQ

func ProductKeyEQ(v string) predicate.ProductService

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

func ProductKeyEqualFold

func ProductKeyEqualFold(v string) predicate.ProductService

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

func ProductKeyGT

func ProductKeyGT(v string) predicate.ProductService

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

func ProductKeyGTE

func ProductKeyGTE(v string) predicate.ProductService

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

func ProductKeyHasPrefix

func ProductKeyHasPrefix(v string) predicate.ProductService

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

func ProductKeyHasSuffix

func ProductKeyHasSuffix(v string) predicate.ProductService

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

func ProductKeyIn

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

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

func ProductKeyLT

func ProductKeyLT(v string) predicate.ProductService

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

func ProductKeyLTE

func ProductKeyLTE(v string) predicate.ProductService

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

func ProductKeyNEQ

func ProductKeyNEQ(v string) predicate.ProductService

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

func ProductKeyNotIn

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

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

func Required

func Required(v bool) predicate.ProductService

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

func RequiredEQ

func RequiredEQ(v bool) predicate.ProductService

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

func RequiredNEQ

func RequiredNEQ(v bool) predicate.ProductService

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

func ServiceName

func ServiceName(v string) predicate.ProductService

ServiceName applies equality check predicate on the "serviceName" field. It's identical to ServiceNameEQ.

func ServiceNameContains

func ServiceNameContains(v string) predicate.ProductService

ServiceNameContains applies the Contains predicate on the "serviceName" field.

func ServiceNameContainsFold

func ServiceNameContainsFold(v string) predicate.ProductService

ServiceNameContainsFold applies the ContainsFold predicate on the "serviceName" field.

func ServiceNameEQ

func ServiceNameEQ(v string) predicate.ProductService

ServiceNameEQ applies the EQ predicate on the "serviceName" field.

func ServiceNameEqualFold

func ServiceNameEqualFold(v string) predicate.ProductService

ServiceNameEqualFold applies the EqualFold predicate on the "serviceName" field.

func ServiceNameGT

func ServiceNameGT(v string) predicate.ProductService

ServiceNameGT applies the GT predicate on the "serviceName" field.

func ServiceNameGTE

func ServiceNameGTE(v string) predicate.ProductService

ServiceNameGTE applies the GTE predicate on the "serviceName" field.

func ServiceNameHasPrefix

func ServiceNameHasPrefix(v string) predicate.ProductService

ServiceNameHasPrefix applies the HasPrefix predicate on the "serviceName" field.

func ServiceNameHasSuffix

func ServiceNameHasSuffix(v string) predicate.ProductService

ServiceNameHasSuffix applies the HasSuffix predicate on the "serviceName" field.

func ServiceNameIn

func ServiceNameIn(vs ...string) predicate.ProductService

ServiceNameIn applies the In predicate on the "serviceName" field.

func ServiceNameLT

func ServiceNameLT(v string) predicate.ProductService

ServiceNameLT applies the LT predicate on the "serviceName" field.

func ServiceNameLTE

func ServiceNameLTE(v string) predicate.ProductService

ServiceNameLTE applies the LTE predicate on the "serviceName" field.

func ServiceNameNEQ

func ServiceNameNEQ(v string) predicate.ProductService

ServiceNameNEQ applies the NEQ predicate on the "serviceName" field.

func ServiceNameNotIn

func ServiceNameNotIn(vs ...string) predicate.ProductService

ServiceNameNotIn applies the NotIn predicate on the "serviceName" 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.ProductService

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

func SortIn

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

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

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

func SortNEQ

func SortNEQ(v uint32) predicate.ProductService

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

func SortNotIn

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

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

func Status

func Status(v uint8) predicate.ProductService

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

func StatusEQ

func StatusEQ(v uint8) predicate.ProductService

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

func StatusGT

func StatusGT(v uint8) predicate.ProductService

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

func StatusGTE

func StatusGTE(v uint8) predicate.ProductService

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

func StatusIn

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

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

func StatusIsNil

func StatusIsNil() predicate.ProductService

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

func StatusLT

func StatusLT(v uint8) predicate.ProductService

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

func StatusLTE

func StatusLTE(v uint8) predicate.ProductService

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

func StatusNEQ

func StatusNEQ(v uint8) predicate.ProductService

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

func StatusNotIn

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

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

func StatusNotNil

func StatusNotNil() predicate.ProductService

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ProductService

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ProductService

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ProductService

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ProductService

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ProductService

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ProductService

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ProductService

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

func UpdatedAtNotIn

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

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

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

func VersionContains

func VersionContains(v string) predicate.ProductService

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

func VersionContainsFold

func VersionContainsFold(v string) predicate.ProductService

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

func VersionEQ

func VersionEQ(v string) predicate.ProductService

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

func VersionEqualFold

func VersionEqualFold(v string) predicate.ProductService

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

func VersionGT

func VersionGT(v string) predicate.ProductService

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

func VersionGTE

func VersionGTE(v string) predicate.ProductService

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

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.ProductService

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

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.ProductService

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

func VersionIn

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

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

func VersionIsNil

func VersionIsNil() predicate.ProductService

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

func VersionLT

func VersionLT(v string) predicate.ProductService

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

func VersionLTE

func VersionLTE(v string) predicate.ProductService

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

func VersionNEQ

func VersionNEQ(v string) predicate.ProductService

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

func VersionNotIn

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

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

func VersionNotNil

func VersionNotNil() predicate.ProductService

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ProductService queries.

func ByCallType

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

ByCallType orders the results by the callType field.

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 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 ByInputParams

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

ByInputParams orders the results by the inputParams field.

func ByOutputParams

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

ByOutputParams orders the results by the outputParams 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 ByServiceName

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

ByServiceName orders the results by the serviceName 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