Documentation
¶
Index ¶
- Constants
- Variables
- func AddonID(v string) predicate.SubscriptionAddon
- func AddonIDContains(v string) predicate.SubscriptionAddon
- func AddonIDContainsFold(v string) predicate.SubscriptionAddon
- func AddonIDEQ(v string) predicate.SubscriptionAddon
- func AddonIDEqualFold(v string) predicate.SubscriptionAddon
- func AddonIDGT(v string) predicate.SubscriptionAddon
- func AddonIDGTE(v string) predicate.SubscriptionAddon
- func AddonIDHasPrefix(v string) predicate.SubscriptionAddon
- func AddonIDHasSuffix(v string) predicate.SubscriptionAddon
- func AddonIDIn(vs ...string) predicate.SubscriptionAddon
- func AddonIDLT(v string) predicate.SubscriptionAddon
- func AddonIDLTE(v string) predicate.SubscriptionAddon
- func AddonIDNEQ(v string) predicate.SubscriptionAddon
- func AddonIDNotIn(vs ...string) predicate.SubscriptionAddon
- func And(predicates ...predicate.SubscriptionAddon) predicate.SubscriptionAddon
- func CreatedAt(v time.Time) predicate.SubscriptionAddon
- func CreatedAtEQ(v time.Time) predicate.SubscriptionAddon
- func CreatedAtGT(v time.Time) predicate.SubscriptionAddon
- func CreatedAtGTE(v time.Time) predicate.SubscriptionAddon
- func CreatedAtIn(vs ...time.Time) predicate.SubscriptionAddon
- func CreatedAtLT(v time.Time) predicate.SubscriptionAddon
- func CreatedAtLTE(v time.Time) predicate.SubscriptionAddon
- func CreatedAtNEQ(v time.Time) predicate.SubscriptionAddon
- func CreatedAtNotIn(vs ...time.Time) predicate.SubscriptionAddon
- func DeletedAt(v time.Time) predicate.SubscriptionAddon
- func DeletedAtEQ(v time.Time) predicate.SubscriptionAddon
- func DeletedAtGT(v time.Time) predicate.SubscriptionAddon
- func DeletedAtGTE(v time.Time) predicate.SubscriptionAddon
- func DeletedAtIn(vs ...time.Time) predicate.SubscriptionAddon
- func DeletedAtIsNil() predicate.SubscriptionAddon
- func DeletedAtLT(v time.Time) predicate.SubscriptionAddon
- func DeletedAtLTE(v time.Time) predicate.SubscriptionAddon
- func DeletedAtNEQ(v time.Time) predicate.SubscriptionAddon
- func DeletedAtNotIn(vs ...time.Time) predicate.SubscriptionAddon
- func DeletedAtNotNil() predicate.SubscriptionAddon
- func HasAddon() predicate.SubscriptionAddon
- func HasAddonWith(preds ...predicate.Addon) predicate.SubscriptionAddon
- func HasQuantities() predicate.SubscriptionAddon
- func HasQuantitiesWith(preds ...predicate.SubscriptionAddonQuantity) predicate.SubscriptionAddon
- func HasSubscription() predicate.SubscriptionAddon
- func HasSubscriptionWith(preds ...predicate.Subscription) predicate.SubscriptionAddon
- func ID(id string) predicate.SubscriptionAddon
- func IDContainsFold(id string) predicate.SubscriptionAddon
- func IDEQ(id string) predicate.SubscriptionAddon
- func IDEqualFold(id string) predicate.SubscriptionAddon
- func IDGT(id string) predicate.SubscriptionAddon
- func IDGTE(id string) predicate.SubscriptionAddon
- func IDIn(ids ...string) predicate.SubscriptionAddon
- func IDLT(id string) predicate.SubscriptionAddon
- func IDLTE(id string) predicate.SubscriptionAddon
- func IDNEQ(id string) predicate.SubscriptionAddon
- func IDNotIn(ids ...string) predicate.SubscriptionAddon
- func MetadataIsNil() predicate.SubscriptionAddon
- func MetadataNotNil() predicate.SubscriptionAddon
- func Namespace(v string) predicate.SubscriptionAddon
- func NamespaceContains(v string) predicate.SubscriptionAddon
- func NamespaceContainsFold(v string) predicate.SubscriptionAddon
- func NamespaceEQ(v string) predicate.SubscriptionAddon
- func NamespaceEqualFold(v string) predicate.SubscriptionAddon
- func NamespaceGT(v string) predicate.SubscriptionAddon
- func NamespaceGTE(v string) predicate.SubscriptionAddon
- func NamespaceHasPrefix(v string) predicate.SubscriptionAddon
- func NamespaceHasSuffix(v string) predicate.SubscriptionAddon
- func NamespaceIn(vs ...string) predicate.SubscriptionAddon
- func NamespaceLT(v string) predicate.SubscriptionAddon
- func NamespaceLTE(v string) predicate.SubscriptionAddon
- func NamespaceNEQ(v string) predicate.SubscriptionAddon
- func NamespaceNotIn(vs ...string) predicate.SubscriptionAddon
- func Not(p predicate.SubscriptionAddon) predicate.SubscriptionAddon
- func Or(predicates ...predicate.SubscriptionAddon) predicate.SubscriptionAddon
- func SubscriptionID(v string) predicate.SubscriptionAddon
- func SubscriptionIDContains(v string) predicate.SubscriptionAddon
- func SubscriptionIDContainsFold(v string) predicate.SubscriptionAddon
- func SubscriptionIDEQ(v string) predicate.SubscriptionAddon
- func SubscriptionIDEqualFold(v string) predicate.SubscriptionAddon
- func SubscriptionIDGT(v string) predicate.SubscriptionAddon
- func SubscriptionIDGTE(v string) predicate.SubscriptionAddon
- func SubscriptionIDHasPrefix(v string) predicate.SubscriptionAddon
- func SubscriptionIDHasSuffix(v string) predicate.SubscriptionAddon
- func SubscriptionIDIn(vs ...string) predicate.SubscriptionAddon
- func SubscriptionIDLT(v string) predicate.SubscriptionAddon
- func SubscriptionIDLTE(v string) predicate.SubscriptionAddon
- func SubscriptionIDNEQ(v string) predicate.SubscriptionAddon
- func SubscriptionIDNotIn(vs ...string) predicate.SubscriptionAddon
- func UpdatedAt(v time.Time) predicate.SubscriptionAddon
- func UpdatedAtEQ(v time.Time) predicate.SubscriptionAddon
- func UpdatedAtGT(v time.Time) predicate.SubscriptionAddon
- func UpdatedAtGTE(v time.Time) predicate.SubscriptionAddon
- func UpdatedAtIn(vs ...time.Time) predicate.SubscriptionAddon
- func UpdatedAtLT(v time.Time) predicate.SubscriptionAddon
- func UpdatedAtLTE(v time.Time) predicate.SubscriptionAddon
- func UpdatedAtNEQ(v time.Time) predicate.SubscriptionAddon
- func UpdatedAtNotIn(vs ...time.Time) predicate.SubscriptionAddon
- func ValidColumn(column string) bool
- type OrderOption
- func ByAddonField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByAddonID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByQuantities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByQuantitiesCount(opts ...sql.OrderTermOption) OrderOption
- func BySubscriptionField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySubscriptionID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the subscriptionaddon type in the database. Label = "subscription_addon" // 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" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // 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" // FieldAddonID holds the string denoting the addon_id field in the database. FieldAddonID = "addon_id" // FieldSubscriptionID holds the string denoting the subscription_id field in the database. FieldSubscriptionID = "subscription_id" // EdgeSubscription holds the string denoting the subscription edge name in mutations. EdgeSubscription = "subscription" // EdgeQuantities holds the string denoting the quantities edge name in mutations. EdgeQuantities = "quantities" // EdgeAddon holds the string denoting the addon edge name in mutations. EdgeAddon = "addon" // Table holds the table name of the subscriptionaddon in the database. Table = "subscription_addons" // SubscriptionTable is the table that holds the subscription relation/edge. SubscriptionTable = "subscription_addons" // SubscriptionInverseTable is the table name for the Subscription entity. // It exists in this package in order to avoid circular dependency with the "subscription" package. SubscriptionInverseTable = "subscriptions" // SubscriptionColumn is the table column denoting the subscription relation/edge. SubscriptionColumn = "subscription_id" // QuantitiesTable is the table that holds the quantities relation/edge. QuantitiesTable = "subscription_addon_quantities" // QuantitiesInverseTable is the table name for the SubscriptionAddonQuantity entity. // It exists in this package in order to avoid circular dependency with the "subscriptionaddonquantity" package. QuantitiesInverseTable = "subscription_addon_quantities" // QuantitiesColumn is the table column denoting the quantities relation/edge. QuantitiesColumn = "subscription_addon_id" // AddonTable is the table that holds the addon relation/edge. AddonTable = "subscription_addons" // AddonInverseTable is the table name for the Addon entity. // It exists in this package in order to avoid circular dependency with the "addon" package. AddonInverseTable = "addons" // AddonColumn is the table column denoting the addon relation/edge. AddonColumn = "addon_id" )
Variables ¶
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 // AddonIDValidator is a validator for the "addon_id" field. It is called by the builders before save. AddonIDValidator func(string) error // SubscriptionIDValidator is a validator for the "subscription_id" field. It is called by the builders before save. SubscriptionIDValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldNamespace, FieldMetadata, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldAddonID, FieldSubscriptionID, }
Columns holds all SQL columns for subscriptionaddon fields.
Functions ¶
func AddonID ¶
func AddonID(v string) predicate.SubscriptionAddon
AddonID applies equality check predicate on the "addon_id" field. It's identical to AddonIDEQ.
func AddonIDContains ¶
func AddonIDContains(v string) predicate.SubscriptionAddon
AddonIDContains applies the Contains predicate on the "addon_id" field.
func AddonIDContainsFold ¶
func AddonIDContainsFold(v string) predicate.SubscriptionAddon
AddonIDContainsFold applies the ContainsFold predicate on the "addon_id" field.
func AddonIDEQ ¶
func AddonIDEQ(v string) predicate.SubscriptionAddon
AddonIDEQ applies the EQ predicate on the "addon_id" field.
func AddonIDEqualFold ¶
func AddonIDEqualFold(v string) predicate.SubscriptionAddon
AddonIDEqualFold applies the EqualFold predicate on the "addon_id" field.
func AddonIDGT ¶
func AddonIDGT(v string) predicate.SubscriptionAddon
AddonIDGT applies the GT predicate on the "addon_id" field.
func AddonIDGTE ¶
func AddonIDGTE(v string) predicate.SubscriptionAddon
AddonIDGTE applies the GTE predicate on the "addon_id" field.
func AddonIDHasPrefix ¶
func AddonIDHasPrefix(v string) predicate.SubscriptionAddon
AddonIDHasPrefix applies the HasPrefix predicate on the "addon_id" field.
func AddonIDHasSuffix ¶
func AddonIDHasSuffix(v string) predicate.SubscriptionAddon
AddonIDHasSuffix applies the HasSuffix predicate on the "addon_id" field.
func AddonIDIn ¶
func AddonIDIn(vs ...string) predicate.SubscriptionAddon
AddonIDIn applies the In predicate on the "addon_id" field.
func AddonIDLT ¶
func AddonIDLT(v string) predicate.SubscriptionAddon
AddonIDLT applies the LT predicate on the "addon_id" field.
func AddonIDLTE ¶
func AddonIDLTE(v string) predicate.SubscriptionAddon
AddonIDLTE applies the LTE predicate on the "addon_id" field.
func AddonIDNEQ ¶
func AddonIDNEQ(v string) predicate.SubscriptionAddon
AddonIDNEQ applies the NEQ predicate on the "addon_id" field.
func AddonIDNotIn ¶
func AddonIDNotIn(vs ...string) predicate.SubscriptionAddon
AddonIDNotIn applies the NotIn predicate on the "addon_id" field.
func And ¶
func And(predicates ...predicate.SubscriptionAddon) predicate.SubscriptionAddon
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.SubscriptionAddon
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.SubscriptionAddon
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.SubscriptionAddon
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.SubscriptionAddon
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.SubscriptionAddon
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.SubscriptionAddon
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.SubscriptionAddon
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.SubscriptionAddon
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.SubscriptionAddon
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.SubscriptionAddon
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.SubscriptionAddon
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.SubscriptionAddon
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.SubscriptionAddon
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.SubscriptionAddon
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.SubscriptionAddon
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.SubscriptionAddon
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.SubscriptionAddon
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.SubscriptionAddon
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.SubscriptionAddon
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.SubscriptionAddon
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func HasAddon ¶
func HasAddon() predicate.SubscriptionAddon
HasAddon applies the HasEdge predicate on the "addon" edge.
func HasAddonWith ¶
func HasAddonWith(preds ...predicate.Addon) predicate.SubscriptionAddon
HasAddonWith applies the HasEdge predicate on the "addon" edge with a given conditions (other predicates).
func HasQuantities ¶
func HasQuantities() predicate.SubscriptionAddon
HasQuantities applies the HasEdge predicate on the "quantities" edge.
func HasQuantitiesWith ¶
func HasQuantitiesWith(preds ...predicate.SubscriptionAddonQuantity) predicate.SubscriptionAddon
HasQuantitiesWith applies the HasEdge predicate on the "quantities" edge with a given conditions (other predicates).
func HasSubscription ¶
func HasSubscription() predicate.SubscriptionAddon
HasSubscription applies the HasEdge predicate on the "subscription" edge.
func HasSubscriptionWith ¶
func HasSubscriptionWith(preds ...predicate.Subscription) predicate.SubscriptionAddon
HasSubscriptionWith applies the HasEdge predicate on the "subscription" edge with a given conditions (other predicates).
func ID ¶
func ID(id string) predicate.SubscriptionAddon
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.SubscriptionAddon
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.SubscriptionAddon
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.SubscriptionAddon
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.SubscriptionAddon
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.SubscriptionAddon
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.SubscriptionAddon
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.SubscriptionAddon
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.SubscriptionAddon
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.SubscriptionAddon
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.SubscriptionAddon
IDNotIn applies the NotIn predicate on the ID field.
func MetadataIsNil ¶
func MetadataIsNil() predicate.SubscriptionAddon
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
func MetadataNotNil() predicate.SubscriptionAddon
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Namespace ¶
func Namespace(v string) predicate.SubscriptionAddon
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.SubscriptionAddon
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.SubscriptionAddon
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.SubscriptionAddon
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.SubscriptionAddon
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.SubscriptionAddon
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.SubscriptionAddon
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.SubscriptionAddon
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.SubscriptionAddon
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.SubscriptionAddon
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.SubscriptionAddon
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.SubscriptionAddon
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.SubscriptionAddon
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.SubscriptionAddon
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Not ¶
func Not(p predicate.SubscriptionAddon) predicate.SubscriptionAddon
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SubscriptionAddon) predicate.SubscriptionAddon
Or groups predicates with the OR operator between them.
func SubscriptionID ¶
func SubscriptionID(v string) predicate.SubscriptionAddon
SubscriptionID applies equality check predicate on the "subscription_id" field. It's identical to SubscriptionIDEQ.
func SubscriptionIDContains ¶
func SubscriptionIDContains(v string) predicate.SubscriptionAddon
SubscriptionIDContains applies the Contains predicate on the "subscription_id" field.
func SubscriptionIDContainsFold ¶
func SubscriptionIDContainsFold(v string) predicate.SubscriptionAddon
SubscriptionIDContainsFold applies the ContainsFold predicate on the "subscription_id" field.
func SubscriptionIDEQ ¶
func SubscriptionIDEQ(v string) predicate.SubscriptionAddon
SubscriptionIDEQ applies the EQ predicate on the "subscription_id" field.
func SubscriptionIDEqualFold ¶
func SubscriptionIDEqualFold(v string) predicate.SubscriptionAddon
SubscriptionIDEqualFold applies the EqualFold predicate on the "subscription_id" field.
func SubscriptionIDGT ¶
func SubscriptionIDGT(v string) predicate.SubscriptionAddon
SubscriptionIDGT applies the GT predicate on the "subscription_id" field.
func SubscriptionIDGTE ¶
func SubscriptionIDGTE(v string) predicate.SubscriptionAddon
SubscriptionIDGTE applies the GTE predicate on the "subscription_id" field.
func SubscriptionIDHasPrefix ¶
func SubscriptionIDHasPrefix(v string) predicate.SubscriptionAddon
SubscriptionIDHasPrefix applies the HasPrefix predicate on the "subscription_id" field.
func SubscriptionIDHasSuffix ¶
func SubscriptionIDHasSuffix(v string) predicate.SubscriptionAddon
SubscriptionIDHasSuffix applies the HasSuffix predicate on the "subscription_id" field.
func SubscriptionIDIn ¶
func SubscriptionIDIn(vs ...string) predicate.SubscriptionAddon
SubscriptionIDIn applies the In predicate on the "subscription_id" field.
func SubscriptionIDLT ¶
func SubscriptionIDLT(v string) predicate.SubscriptionAddon
SubscriptionIDLT applies the LT predicate on the "subscription_id" field.
func SubscriptionIDLTE ¶
func SubscriptionIDLTE(v string) predicate.SubscriptionAddon
SubscriptionIDLTE applies the LTE predicate on the "subscription_id" field.
func SubscriptionIDNEQ ¶
func SubscriptionIDNEQ(v string) predicate.SubscriptionAddon
SubscriptionIDNEQ applies the NEQ predicate on the "subscription_id" field.
func SubscriptionIDNotIn ¶
func SubscriptionIDNotIn(vs ...string) predicate.SubscriptionAddon
SubscriptionIDNotIn applies the NotIn predicate on the "subscription_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.SubscriptionAddon
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.SubscriptionAddon
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.SubscriptionAddon
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.SubscriptionAddon
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.SubscriptionAddon
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.SubscriptionAddon
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.SubscriptionAddon
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.SubscriptionAddon
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.SubscriptionAddon
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the SubscriptionAddon queries.
func ByAddonField ¶
func ByAddonField(field string, opts ...sql.OrderTermOption) OrderOption
ByAddonField orders the results by addon field.
func ByAddonID ¶
func ByAddonID(opts ...sql.OrderTermOption) OrderOption
ByAddonID orders the results by the addon_id 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 ByQuantities ¶
func ByQuantities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByQuantities orders the results by quantities terms.
func ByQuantitiesCount ¶
func ByQuantitiesCount(opts ...sql.OrderTermOption) OrderOption
ByQuantitiesCount orders the results by quantities count.
func BySubscriptionField ¶
func BySubscriptionField(field string, opts ...sql.OrderTermOption) OrderOption
BySubscriptionField orders the results by subscription field.
func BySubscriptionID ¶
func BySubscriptionID(opts ...sql.OrderTermOption) OrderOption
BySubscriptionID orders the results by the subscription_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.