subscriptionaddonquantity

package
v1.0.0-beta.227 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the subscriptionaddonquantity type in the database.
	Label = "subscription_addon_quantity"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNamespace holds the string denoting the namespace field in the database.
	FieldNamespace = "namespace"
	// 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"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldActiveFrom holds the string denoting the active_from field in the database.
	FieldActiveFrom = "active_from"
	// FieldQuantity holds the string denoting the quantity field in the database.
	FieldQuantity = "quantity"
	// FieldSubscriptionAddonID holds the string denoting the subscription_addon_id field in the database.
	FieldSubscriptionAddonID = "subscription_addon_id"
	// EdgeSubscriptionAddon holds the string denoting the subscription_addon edge name in mutations.
	EdgeSubscriptionAddon = "subscription_addon"
	// Table holds the table name of the subscriptionaddonquantity in the database.
	Table = "subscription_addon_quantities"
	// SubscriptionAddonTable is the table that holds the subscription_addon relation/edge.
	SubscriptionAddonTable = "subscription_addon_quantities"
	// SubscriptionAddonInverseTable is the table name for the SubscriptionAddon entity.
	// It exists in this package in order to avoid circular dependency with the "subscriptionaddon" package.
	SubscriptionAddonInverseTable = "subscription_addons"
	// SubscriptionAddonColumn is the table column denoting the subscription_addon relation/edge.
	SubscriptionAddonColumn = "subscription_addon_id"
)

Variables

View Source
var (
	// NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save.
	NamespaceValidator func(string) error
	// 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
	// DefaultActiveFrom holds the default value on creation for the "active_from" field.
	DefaultActiveFrom func() time.Time
	// DefaultQuantity holds the default value on creation for the "quantity" field.
	DefaultQuantity int
	// QuantityValidator is a validator for the "quantity" field. It is called by the builders before save.
	QuantityValidator func(int) error
	// SubscriptionAddonIDValidator is a validator for the "subscription_addon_id" field. It is called by the builders before save.
	SubscriptionAddonIDValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Columns holds all SQL columns for subscriptionaddonquantity fields.

Functions

func ActiveFrom

ActiveFrom applies equality check predicate on the "active_from" field. It's identical to ActiveFromEQ.

func ActiveFromEQ

ActiveFromEQ applies the EQ predicate on the "active_from" field.

func ActiveFromGT

ActiveFromGT applies the GT predicate on the "active_from" field.

func ActiveFromGTE

ActiveFromGTE applies the GTE predicate on the "active_from" field.

func ActiveFromIn

func ActiveFromIn(vs ...time.Time) predicate.SubscriptionAddonQuantity

ActiveFromIn applies the In predicate on the "active_from" field.

func ActiveFromLT

ActiveFromLT applies the LT predicate on the "active_from" field.

func ActiveFromLTE

ActiveFromLTE applies the LTE predicate on the "active_from" field.

func ActiveFromNEQ

ActiveFromNEQ applies the NEQ predicate on the "active_from" field.

func ActiveFromNotIn

func ActiveFromNotIn(vs ...time.Time) predicate.SubscriptionAddonQuantity

ActiveFromNotIn applies the NotIn predicate on the "active_from" field.

func And

And groups predicates with the AND operator between them.

func CreatedAt

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

func CreatedAtEQ

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

func CreatedAtGT

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

func CreatedAtGTE

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

func CreatedAtIn

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

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

func CreatedAtLT

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

func CreatedAtLTE

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

func CreatedAtNEQ

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

func CreatedAtNotIn

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

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

func DeletedAt

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.SubscriptionAddonQuantity

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.SubscriptionAddonQuantity

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.SubscriptionAddonQuantity

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.SubscriptionAddonQuantity

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func HasSubscriptionAddon

func HasSubscriptionAddon() predicate.SubscriptionAddonQuantity

HasSubscriptionAddon applies the HasEdge predicate on the "subscription_addon" edge.

func HasSubscriptionAddonWith

func HasSubscriptionAddonWith(preds ...predicate.SubscriptionAddon) predicate.SubscriptionAddonQuantity

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.SubscriptionAddonQuantity

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

IDNotIn applies the NotIn predicate on the ID field.

func Namespace

Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.

func NamespaceContains

func NamespaceContains(v string) predicate.SubscriptionAddonQuantity

NamespaceContains applies the Contains predicate on the "namespace" field.

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.SubscriptionAddonQuantity

NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.

func NamespaceEQ

NamespaceEQ applies the EQ predicate on the "namespace" field.

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.SubscriptionAddonQuantity

NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.

func NamespaceGT

NamespaceGT applies the GT predicate on the "namespace" field.

func NamespaceGTE

NamespaceGTE applies the GTE predicate on the "namespace" field.

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.SubscriptionAddonQuantity

NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.SubscriptionAddonQuantity

NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.

func NamespaceIn

func NamespaceIn(vs ...string) predicate.SubscriptionAddonQuantity

NamespaceIn applies the In predicate on the "namespace" field.

func NamespaceLT

NamespaceLT applies the LT predicate on the "namespace" field.

func NamespaceLTE

NamespaceLTE applies the LTE predicate on the "namespace" field.

func NamespaceNEQ

NamespaceNEQ applies the NEQ predicate on the "namespace" field.

func NamespaceNotIn

func NamespaceNotIn(vs ...string) predicate.SubscriptionAddonQuantity

NamespaceNotIn applies the NotIn predicate on the "namespace" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Quantity

Quantity applies equality check predicate on the "quantity" field. It's identical to QuantityEQ.

func QuantityEQ

QuantityEQ applies the EQ predicate on the "quantity" field.

func QuantityGT

QuantityGT applies the GT predicate on the "quantity" field.

func QuantityGTE

QuantityGTE applies the GTE predicate on the "quantity" field.

func QuantityIn

func QuantityIn(vs ...int) predicate.SubscriptionAddonQuantity

QuantityIn applies the In predicate on the "quantity" field.

func QuantityLT

QuantityLT applies the LT predicate on the "quantity" field.

func QuantityLTE

QuantityLTE applies the LTE predicate on the "quantity" field.

func QuantityNEQ

QuantityNEQ applies the NEQ predicate on the "quantity" field.

func QuantityNotIn

func QuantityNotIn(vs ...int) predicate.SubscriptionAddonQuantity

QuantityNotIn applies the NotIn predicate on the "quantity" field.

func SubscriptionAddonID

func SubscriptionAddonID(v string) predicate.SubscriptionAddonQuantity

SubscriptionAddonID applies equality check predicate on the "subscription_addon_id" field. It's identical to SubscriptionAddonIDEQ.

func SubscriptionAddonIDContains

func SubscriptionAddonIDContains(v string) predicate.SubscriptionAddonQuantity

SubscriptionAddonIDContains applies the Contains predicate on the "subscription_addon_id" field.

func SubscriptionAddonIDContainsFold

func SubscriptionAddonIDContainsFold(v string) predicate.SubscriptionAddonQuantity

SubscriptionAddonIDContainsFold applies the ContainsFold predicate on the "subscription_addon_id" field.

func SubscriptionAddonIDEQ

func SubscriptionAddonIDEQ(v string) predicate.SubscriptionAddonQuantity

SubscriptionAddonIDEQ applies the EQ predicate on the "subscription_addon_id" field.

func SubscriptionAddonIDEqualFold

func SubscriptionAddonIDEqualFold(v string) predicate.SubscriptionAddonQuantity

SubscriptionAddonIDEqualFold applies the EqualFold predicate on the "subscription_addon_id" field.

func SubscriptionAddonIDGT

func SubscriptionAddonIDGT(v string) predicate.SubscriptionAddonQuantity

SubscriptionAddonIDGT applies the GT predicate on the "subscription_addon_id" field.

func SubscriptionAddonIDGTE

func SubscriptionAddonIDGTE(v string) predicate.SubscriptionAddonQuantity

SubscriptionAddonIDGTE applies the GTE predicate on the "subscription_addon_id" field.

func SubscriptionAddonIDHasPrefix

func SubscriptionAddonIDHasPrefix(v string) predicate.SubscriptionAddonQuantity

SubscriptionAddonIDHasPrefix applies the HasPrefix predicate on the "subscription_addon_id" field.

func SubscriptionAddonIDHasSuffix

func SubscriptionAddonIDHasSuffix(v string) predicate.SubscriptionAddonQuantity

SubscriptionAddonIDHasSuffix applies the HasSuffix predicate on the "subscription_addon_id" field.

func SubscriptionAddonIDIn

func SubscriptionAddonIDIn(vs ...string) predicate.SubscriptionAddonQuantity

SubscriptionAddonIDIn applies the In predicate on the "subscription_addon_id" field.

func SubscriptionAddonIDLT

func SubscriptionAddonIDLT(v string) predicate.SubscriptionAddonQuantity

SubscriptionAddonIDLT applies the LT predicate on the "subscription_addon_id" field.

func SubscriptionAddonIDLTE

func SubscriptionAddonIDLTE(v string) predicate.SubscriptionAddonQuantity

SubscriptionAddonIDLTE applies the LTE predicate on the "subscription_addon_id" field.

func SubscriptionAddonIDNEQ

func SubscriptionAddonIDNEQ(v string) predicate.SubscriptionAddonQuantity

SubscriptionAddonIDNEQ applies the NEQ predicate on the "subscription_addon_id" field.

func SubscriptionAddonIDNotIn

func SubscriptionAddonIDNotIn(vs ...string) predicate.SubscriptionAddonQuantity

SubscriptionAddonIDNotIn applies the NotIn predicate on the "subscription_addon_id" field.

func UpdatedAt

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

func UpdatedAtEQ

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

func UpdatedAtGT

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

func UpdatedAtGTE

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

func UpdatedAtIn

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

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

func UpdatedAtLT

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

func UpdatedAtLTE

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

func UpdatedAtNEQ

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the SubscriptionAddonQuantity queries.

func ByActiveFrom

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

ByActiveFrom orders the results by the active_from field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByID

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

ByID orders the results by the id field.

func ByNamespace

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

ByNamespace orders the results by the namespace field.

func ByQuantity

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

ByQuantity orders the results by the quantity field.

func BySubscriptionAddonField

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

BySubscriptionAddonField orders the results by subscription_addon field.

func BySubscriptionAddonID

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

BySubscriptionAddonID orders the results by the subscription_addon_id field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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