orgsubscription

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the orgsubscription type in the database.
	Label = "org_subscription"
	// 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"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldMappingID holds the string denoting the mapping_id field in the database.
	FieldMappingID = "mapping_id"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldStripeSubscriptionID holds the string denoting the stripe_subscription_id field in the database.
	FieldStripeSubscriptionID = "stripe_subscription_id"
	// FieldProductTier holds the string denoting the product_tier field in the database.
	FieldProductTier = "product_tier"
	// FieldStripeProductTierID holds the string denoting the stripe_product_tier_id field in the database.
	FieldStripeProductTierID = "stripe_product_tier_id"
	// FieldStripeSubscriptionStatus holds the string denoting the stripe_subscription_status field in the database.
	FieldStripeSubscriptionStatus = "stripe_subscription_status"
	// FieldActive holds the string denoting the active field in the database.
	FieldActive = "active"
	// FieldStripeCustomerID holds the string denoting the stripe_customer_id field in the database.
	FieldStripeCustomerID = "stripe_customer_id"
	// FieldExpiresAt holds the string denoting the expires_at field in the database.
	FieldExpiresAt = "expires_at"
	// FieldFeatures holds the string denoting the features field in the database.
	FieldFeatures = "features"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// Table holds the table name of the orgsubscription in the database.
	Table = "org_subscriptions"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "org_subscriptions"
	// OwnerInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OwnerInverseTable = "organizations"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
)

Variables

View Source
var (
	Hooks        [3]ent.Hook
	Interceptors [2]ent.Interceptor
	// 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
	// DefaultMappingID holds the default value on creation for the "mapping_id" field.
	DefaultMappingID func() string
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save.
	OwnerIDValidator func(string) error
	// DefaultActive holds the default value on creation for the "active" field.
	DefaultActive bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/theopenlane/core/internal/ent/generated/runtime"

Columns holds all SQL columns for orgsubscription fields.

Functions

func Active

func Active(v bool) predicate.OrgSubscription

Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.

func ActiveEQ

func ActiveEQ(v bool) predicate.OrgSubscription

ActiveEQ applies the EQ predicate on the "active" field.

func ActiveNEQ

func ActiveNEQ(v bool) predicate.OrgSubscription

ActiveNEQ applies the NEQ predicate on the "active" field.

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.OrgSubscription

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.OrgSubscription

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.OrgSubscription

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.OrgSubscription

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.OrgSubscription

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.OrgSubscription

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.OrgSubscription

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.OrgSubscription

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.OrgSubscription

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.OrgSubscription

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.OrgSubscription

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.OrgSubscription

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.OrgSubscription

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.OrgSubscription

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.OrgSubscription

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.OrgSubscription

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.OrgSubscription

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.OrgSubscription

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.OrgSubscription

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.OrgSubscription

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.OrgSubscription

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.OrgSubscription

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.OrgSubscription

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.OrgSubscription

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.OrgSubscription

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.OrgSubscription

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.OrgSubscription

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.OrgSubscription

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.OrgSubscription

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.OrgSubscription

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.OrgSubscription

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.OrgSubscription

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.OrgSubscription

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.OrgSubscription

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

func DeletedBy

func DeletedBy(v string) predicate.OrgSubscription

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.OrgSubscription

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.OrgSubscription

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.OrgSubscription

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.OrgSubscription

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.OrgSubscription

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.OrgSubscription

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.OrgSubscription

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.OrgSubscription

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.OrgSubscription

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.OrgSubscription

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.OrgSubscription

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.OrgSubscription

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.OrgSubscription

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.OrgSubscription

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.OrgSubscription

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func ExpiresAt

func ExpiresAt(v time.Time) predicate.OrgSubscription

ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.

func ExpiresAtEQ

func ExpiresAtEQ(v time.Time) predicate.OrgSubscription

ExpiresAtEQ applies the EQ predicate on the "expires_at" field.

func ExpiresAtGT

func ExpiresAtGT(v time.Time) predicate.OrgSubscription

ExpiresAtGT applies the GT predicate on the "expires_at" field.

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.OrgSubscription

ExpiresAtGTE applies the GTE predicate on the "expires_at" field.

func ExpiresAtIn

func ExpiresAtIn(vs ...time.Time) predicate.OrgSubscription

ExpiresAtIn applies the In predicate on the "expires_at" field.

func ExpiresAtIsNil

func ExpiresAtIsNil() predicate.OrgSubscription

ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.

func ExpiresAtLT

func ExpiresAtLT(v time.Time) predicate.OrgSubscription

ExpiresAtLT applies the LT predicate on the "expires_at" field.

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.OrgSubscription

ExpiresAtLTE applies the LTE predicate on the "expires_at" field.

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.OrgSubscription

ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.

func ExpiresAtNotIn

func ExpiresAtNotIn(vs ...time.Time) predicate.OrgSubscription

ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.

func ExpiresAtNotNil

func ExpiresAtNotNil() predicate.OrgSubscription

ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.

func FeaturesIsNil

func FeaturesIsNil() predicate.OrgSubscription

FeaturesIsNil applies the IsNil predicate on the "features" field.

func FeaturesNotNil

func FeaturesNotNil() predicate.OrgSubscription

FeaturesNotNil applies the NotNil predicate on the "features" field.

func HasOwner

func HasOwner() predicate.OrgSubscription

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Organization) predicate.OrgSubscription

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.OrgSubscription

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.OrgSubscription

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

func IDIn(ids ...string) predicate.OrgSubscription

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 ...string) predicate.OrgSubscription

IDNotIn applies the NotIn predicate on the ID field.

func MappingID

func MappingID(v string) predicate.OrgSubscription

MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.

func MappingIDContains

func MappingIDContains(v string) predicate.OrgSubscription

MappingIDContains applies the Contains predicate on the "mapping_id" field.

func MappingIDContainsFold

func MappingIDContainsFold(v string) predicate.OrgSubscription

MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.

func MappingIDEQ

func MappingIDEQ(v string) predicate.OrgSubscription

MappingIDEQ applies the EQ predicate on the "mapping_id" field.

func MappingIDEqualFold

func MappingIDEqualFold(v string) predicate.OrgSubscription

MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.

func MappingIDGT

func MappingIDGT(v string) predicate.OrgSubscription

MappingIDGT applies the GT predicate on the "mapping_id" field.

func MappingIDGTE

func MappingIDGTE(v string) predicate.OrgSubscription

MappingIDGTE applies the GTE predicate on the "mapping_id" field.

func MappingIDHasPrefix

func MappingIDHasPrefix(v string) predicate.OrgSubscription

MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.

func MappingIDHasSuffix

func MappingIDHasSuffix(v string) predicate.OrgSubscription

MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.

func MappingIDIn

func MappingIDIn(vs ...string) predicate.OrgSubscription

MappingIDIn applies the In predicate on the "mapping_id" field.

func MappingIDLT

func MappingIDLT(v string) predicate.OrgSubscription

MappingIDLT applies the LT predicate on the "mapping_id" field.

func MappingIDLTE

func MappingIDLTE(v string) predicate.OrgSubscription

MappingIDLTE applies the LTE predicate on the "mapping_id" field.

func MappingIDNEQ

func MappingIDNEQ(v string) predicate.OrgSubscription

MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.

func MappingIDNotIn

func MappingIDNotIn(vs ...string) predicate.OrgSubscription

MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.OrgSubscription

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains

func OwnerIDContains(v string) predicate.OrgSubscription

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.OrgSubscription

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.OrgSubscription

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.OrgSubscription

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT

func OwnerIDGT(v string) predicate.OrgSubscription

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.OrgSubscription

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.OrgSubscription

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.OrgSubscription

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn

func OwnerIDIn(vs ...string) predicate.OrgSubscription

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil

func OwnerIDIsNil() predicate.OrgSubscription

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT

func OwnerIDLT(v string) predicate.OrgSubscription

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.OrgSubscription

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.OrgSubscription

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn

func OwnerIDNotIn(vs ...string) predicate.OrgSubscription

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil

func OwnerIDNotNil() predicate.OrgSubscription

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func ProductTier

func ProductTier(v string) predicate.OrgSubscription

ProductTier applies equality check predicate on the "product_tier" field. It's identical to ProductTierEQ.

func ProductTierContains

func ProductTierContains(v string) predicate.OrgSubscription

ProductTierContains applies the Contains predicate on the "product_tier" field.

func ProductTierContainsFold

func ProductTierContainsFold(v string) predicate.OrgSubscription

ProductTierContainsFold applies the ContainsFold predicate on the "product_tier" field.

func ProductTierEQ

func ProductTierEQ(v string) predicate.OrgSubscription

ProductTierEQ applies the EQ predicate on the "product_tier" field.

func ProductTierEqualFold

func ProductTierEqualFold(v string) predicate.OrgSubscription

ProductTierEqualFold applies the EqualFold predicate on the "product_tier" field.

func ProductTierGT

func ProductTierGT(v string) predicate.OrgSubscription

ProductTierGT applies the GT predicate on the "product_tier" field.

func ProductTierGTE

func ProductTierGTE(v string) predicate.OrgSubscription

ProductTierGTE applies the GTE predicate on the "product_tier" field.

func ProductTierHasPrefix

func ProductTierHasPrefix(v string) predicate.OrgSubscription

ProductTierHasPrefix applies the HasPrefix predicate on the "product_tier" field.

func ProductTierHasSuffix

func ProductTierHasSuffix(v string) predicate.OrgSubscription

ProductTierHasSuffix applies the HasSuffix predicate on the "product_tier" field.

func ProductTierIn

func ProductTierIn(vs ...string) predicate.OrgSubscription

ProductTierIn applies the In predicate on the "product_tier" field.

func ProductTierIsNil

func ProductTierIsNil() predicate.OrgSubscription

ProductTierIsNil applies the IsNil predicate on the "product_tier" field.

func ProductTierLT

func ProductTierLT(v string) predicate.OrgSubscription

ProductTierLT applies the LT predicate on the "product_tier" field.

func ProductTierLTE

func ProductTierLTE(v string) predicate.OrgSubscription

ProductTierLTE applies the LTE predicate on the "product_tier" field.

func ProductTierNEQ

func ProductTierNEQ(v string) predicate.OrgSubscription

ProductTierNEQ applies the NEQ predicate on the "product_tier" field.

func ProductTierNotIn

func ProductTierNotIn(vs ...string) predicate.OrgSubscription

ProductTierNotIn applies the NotIn predicate on the "product_tier" field.

func ProductTierNotNil

func ProductTierNotNil() predicate.OrgSubscription

ProductTierNotNil applies the NotNil predicate on the "product_tier" field.

func StripeCustomerID

func StripeCustomerID(v string) predicate.OrgSubscription

StripeCustomerID applies equality check predicate on the "stripe_customer_id" field. It's identical to StripeCustomerIDEQ.

func StripeCustomerIDContains

func StripeCustomerIDContains(v string) predicate.OrgSubscription

StripeCustomerIDContains applies the Contains predicate on the "stripe_customer_id" field.

func StripeCustomerIDContainsFold

func StripeCustomerIDContainsFold(v string) predicate.OrgSubscription

StripeCustomerIDContainsFold applies the ContainsFold predicate on the "stripe_customer_id" field.

func StripeCustomerIDEQ

func StripeCustomerIDEQ(v string) predicate.OrgSubscription

StripeCustomerIDEQ applies the EQ predicate on the "stripe_customer_id" field.

func StripeCustomerIDEqualFold

func StripeCustomerIDEqualFold(v string) predicate.OrgSubscription

StripeCustomerIDEqualFold applies the EqualFold predicate on the "stripe_customer_id" field.

func StripeCustomerIDGT

func StripeCustomerIDGT(v string) predicate.OrgSubscription

StripeCustomerIDGT applies the GT predicate on the "stripe_customer_id" field.

func StripeCustomerIDGTE

func StripeCustomerIDGTE(v string) predicate.OrgSubscription

StripeCustomerIDGTE applies the GTE predicate on the "stripe_customer_id" field.

func StripeCustomerIDHasPrefix

func StripeCustomerIDHasPrefix(v string) predicate.OrgSubscription

StripeCustomerIDHasPrefix applies the HasPrefix predicate on the "stripe_customer_id" field.

func StripeCustomerIDHasSuffix

func StripeCustomerIDHasSuffix(v string) predicate.OrgSubscription

StripeCustomerIDHasSuffix applies the HasSuffix predicate on the "stripe_customer_id" field.

func StripeCustomerIDIn

func StripeCustomerIDIn(vs ...string) predicate.OrgSubscription

StripeCustomerIDIn applies the In predicate on the "stripe_customer_id" field.

func StripeCustomerIDIsNil

func StripeCustomerIDIsNil() predicate.OrgSubscription

StripeCustomerIDIsNil applies the IsNil predicate on the "stripe_customer_id" field.

func StripeCustomerIDLT

func StripeCustomerIDLT(v string) predicate.OrgSubscription

StripeCustomerIDLT applies the LT predicate on the "stripe_customer_id" field.

func StripeCustomerIDLTE

func StripeCustomerIDLTE(v string) predicate.OrgSubscription

StripeCustomerIDLTE applies the LTE predicate on the "stripe_customer_id" field.

func StripeCustomerIDNEQ

func StripeCustomerIDNEQ(v string) predicate.OrgSubscription

StripeCustomerIDNEQ applies the NEQ predicate on the "stripe_customer_id" field.

func StripeCustomerIDNotIn

func StripeCustomerIDNotIn(vs ...string) predicate.OrgSubscription

StripeCustomerIDNotIn applies the NotIn predicate on the "stripe_customer_id" field.

func StripeCustomerIDNotNil

func StripeCustomerIDNotNil() predicate.OrgSubscription

StripeCustomerIDNotNil applies the NotNil predicate on the "stripe_customer_id" field.

func StripeProductTierID

func StripeProductTierID(v string) predicate.OrgSubscription

StripeProductTierID applies equality check predicate on the "stripe_product_tier_id" field. It's identical to StripeProductTierIDEQ.

func StripeProductTierIDContains

func StripeProductTierIDContains(v string) predicate.OrgSubscription

StripeProductTierIDContains applies the Contains predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDContainsFold

func StripeProductTierIDContainsFold(v string) predicate.OrgSubscription

StripeProductTierIDContainsFold applies the ContainsFold predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDEQ

func StripeProductTierIDEQ(v string) predicate.OrgSubscription

StripeProductTierIDEQ applies the EQ predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDEqualFold

func StripeProductTierIDEqualFold(v string) predicate.OrgSubscription

StripeProductTierIDEqualFold applies the EqualFold predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDGT

func StripeProductTierIDGT(v string) predicate.OrgSubscription

StripeProductTierIDGT applies the GT predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDGTE

func StripeProductTierIDGTE(v string) predicate.OrgSubscription

StripeProductTierIDGTE applies the GTE predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDHasPrefix

func StripeProductTierIDHasPrefix(v string) predicate.OrgSubscription

StripeProductTierIDHasPrefix applies the HasPrefix predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDHasSuffix

func StripeProductTierIDHasSuffix(v string) predicate.OrgSubscription

StripeProductTierIDHasSuffix applies the HasSuffix predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDIn

func StripeProductTierIDIn(vs ...string) predicate.OrgSubscription

StripeProductTierIDIn applies the In predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDIsNil

func StripeProductTierIDIsNil() predicate.OrgSubscription

StripeProductTierIDIsNil applies the IsNil predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDLT

func StripeProductTierIDLT(v string) predicate.OrgSubscription

StripeProductTierIDLT applies the LT predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDLTE

func StripeProductTierIDLTE(v string) predicate.OrgSubscription

StripeProductTierIDLTE applies the LTE predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDNEQ

func StripeProductTierIDNEQ(v string) predicate.OrgSubscription

StripeProductTierIDNEQ applies the NEQ predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDNotIn

func StripeProductTierIDNotIn(vs ...string) predicate.OrgSubscription

StripeProductTierIDNotIn applies the NotIn predicate on the "stripe_product_tier_id" field.

func StripeProductTierIDNotNil

func StripeProductTierIDNotNil() predicate.OrgSubscription

StripeProductTierIDNotNil applies the NotNil predicate on the "stripe_product_tier_id" field.

func StripeSubscriptionID

func StripeSubscriptionID(v string) predicate.OrgSubscription

StripeSubscriptionID applies equality check predicate on the "stripe_subscription_id" field. It's identical to StripeSubscriptionIDEQ.

func StripeSubscriptionIDContains

func StripeSubscriptionIDContains(v string) predicate.OrgSubscription

StripeSubscriptionIDContains applies the Contains predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDContainsFold

func StripeSubscriptionIDContainsFold(v string) predicate.OrgSubscription

StripeSubscriptionIDContainsFold applies the ContainsFold predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDEQ

func StripeSubscriptionIDEQ(v string) predicate.OrgSubscription

StripeSubscriptionIDEQ applies the EQ predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDEqualFold

func StripeSubscriptionIDEqualFold(v string) predicate.OrgSubscription

StripeSubscriptionIDEqualFold applies the EqualFold predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDGT

func StripeSubscriptionIDGT(v string) predicate.OrgSubscription

StripeSubscriptionIDGT applies the GT predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDGTE

func StripeSubscriptionIDGTE(v string) predicate.OrgSubscription

StripeSubscriptionIDGTE applies the GTE predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDHasPrefix

func StripeSubscriptionIDHasPrefix(v string) predicate.OrgSubscription

StripeSubscriptionIDHasPrefix applies the HasPrefix predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDHasSuffix

func StripeSubscriptionIDHasSuffix(v string) predicate.OrgSubscription

StripeSubscriptionIDHasSuffix applies the HasSuffix predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDIn

func StripeSubscriptionIDIn(vs ...string) predicate.OrgSubscription

StripeSubscriptionIDIn applies the In predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDIsNil

func StripeSubscriptionIDIsNil() predicate.OrgSubscription

StripeSubscriptionIDIsNil applies the IsNil predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDLT

func StripeSubscriptionIDLT(v string) predicate.OrgSubscription

StripeSubscriptionIDLT applies the LT predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDLTE

func StripeSubscriptionIDLTE(v string) predicate.OrgSubscription

StripeSubscriptionIDLTE applies the LTE predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDNEQ

func StripeSubscriptionIDNEQ(v string) predicate.OrgSubscription

StripeSubscriptionIDNEQ applies the NEQ predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDNotIn

func StripeSubscriptionIDNotIn(vs ...string) predicate.OrgSubscription

StripeSubscriptionIDNotIn applies the NotIn predicate on the "stripe_subscription_id" field.

func StripeSubscriptionIDNotNil

func StripeSubscriptionIDNotNil() predicate.OrgSubscription

StripeSubscriptionIDNotNil applies the NotNil predicate on the "stripe_subscription_id" field.

func StripeSubscriptionStatus

func StripeSubscriptionStatus(v string) predicate.OrgSubscription

StripeSubscriptionStatus applies equality check predicate on the "stripe_subscription_status" field. It's identical to StripeSubscriptionStatusEQ.

func StripeSubscriptionStatusContains

func StripeSubscriptionStatusContains(v string) predicate.OrgSubscription

StripeSubscriptionStatusContains applies the Contains predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusContainsFold

func StripeSubscriptionStatusContainsFold(v string) predicate.OrgSubscription

StripeSubscriptionStatusContainsFold applies the ContainsFold predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusEQ

func StripeSubscriptionStatusEQ(v string) predicate.OrgSubscription

StripeSubscriptionStatusEQ applies the EQ predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusEqualFold

func StripeSubscriptionStatusEqualFold(v string) predicate.OrgSubscription

StripeSubscriptionStatusEqualFold applies the EqualFold predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusGT

func StripeSubscriptionStatusGT(v string) predicate.OrgSubscription

StripeSubscriptionStatusGT applies the GT predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusGTE

func StripeSubscriptionStatusGTE(v string) predicate.OrgSubscription

StripeSubscriptionStatusGTE applies the GTE predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusHasPrefix

func StripeSubscriptionStatusHasPrefix(v string) predicate.OrgSubscription

StripeSubscriptionStatusHasPrefix applies the HasPrefix predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusHasSuffix

func StripeSubscriptionStatusHasSuffix(v string) predicate.OrgSubscription

StripeSubscriptionStatusHasSuffix applies the HasSuffix predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusIn

func StripeSubscriptionStatusIn(vs ...string) predicate.OrgSubscription

StripeSubscriptionStatusIn applies the In predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusIsNil

func StripeSubscriptionStatusIsNil() predicate.OrgSubscription

StripeSubscriptionStatusIsNil applies the IsNil predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusLT

func StripeSubscriptionStatusLT(v string) predicate.OrgSubscription

StripeSubscriptionStatusLT applies the LT predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusLTE

func StripeSubscriptionStatusLTE(v string) predicate.OrgSubscription

StripeSubscriptionStatusLTE applies the LTE predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusNEQ

func StripeSubscriptionStatusNEQ(v string) predicate.OrgSubscription

StripeSubscriptionStatusNEQ applies the NEQ predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusNotIn

func StripeSubscriptionStatusNotIn(vs ...string) predicate.OrgSubscription

StripeSubscriptionStatusNotIn applies the NotIn predicate on the "stripe_subscription_status" field.

func StripeSubscriptionStatusNotNil

func StripeSubscriptionStatusNotNil() predicate.OrgSubscription

StripeSubscriptionStatusNotNil applies the NotNil predicate on the "stripe_subscription_status" field.

func TagsIsNil

func TagsIsNil() predicate.OrgSubscription

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.OrgSubscription

TagsNotNil applies the NotNil predicate on the "tags" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.OrgSubscription

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.OrgSubscription

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.OrgSubscription

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.OrgSubscription

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.OrgSubscription

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.OrgSubscription

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.OrgSubscription

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.OrgSubscription

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.OrgSubscription

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.OrgSubscription

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.OrgSubscription

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.OrgSubscription

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.OrgSubscription

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.OrgSubscription

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.OrgSubscription

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.OrgSubscription

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.OrgSubscription

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.OrgSubscription

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.OrgSubscription

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.OrgSubscription

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.OrgSubscription

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.OrgSubscription

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.OrgSubscription

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.OrgSubscription

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.OrgSubscription

UpdatedByNotNil applies the NotNil predicate on the "updated_by" 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 OrgSubscription queries.

func ByActive

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

ByActive orders the results by the active field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

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

ByDeletedBy orders the results by the deleted_by field.

func ByExpiresAt

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

ByExpiresAt orders the results by the expires_at field.

func ByID

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

ByID orders the results by the id field.

func ByMappingID

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

ByMappingID orders the results by the mapping_id field.

func ByOwnerField

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

ByOwnerField orders the results by owner field.

func ByOwnerID

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

ByOwnerID orders the results by the owner_id field.

func ByProductTier

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

ByProductTier orders the results by the product_tier field.

func ByStripeCustomerID

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

ByStripeCustomerID orders the results by the stripe_customer_id field.

func ByStripeProductTierID

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

ByStripeProductTierID orders the results by the stripe_product_tier_id field.

func ByStripeSubscriptionID

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

ByStripeSubscriptionID orders the results by the stripe_subscription_id field.

func ByStripeSubscriptionStatus

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

ByStripeSubscriptionStatus orders the results by the stripe_subscription_status field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

Jump to

Keyboard shortcuts

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