orgsubscriptionhistory

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the orgsubscriptionhistory type in the database.
	Label = "org_subscription_history"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldHistoryTime holds the string denoting the history_time field in the database.
	FieldHistoryTime = "history_time"
	// FieldRef holds the string denoting the ref field in the database.
	FieldRef = "ref"
	// FieldOperation holds the string denoting the operation field in the database.
	FieldOperation = "operation"
	// 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"
	// Table holds the table name of the orgsubscriptionhistory in the database.
	Table = "org_subscription_history"
)

Variables

View Source
var (
	// DefaultHistoryTime holds the default value on creation for the "history_time" field.
	DefaultHistoryTime func() time.Time
	// 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
	// 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
)

Columns holds all SQL columns for orgsubscriptionhistory fields.

Functions

func Active

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

func ActiveEQ

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

func ActiveNEQ

ActiveNEQ applies the NEQ predicate on the "active" 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

func CreatedAtGTE(v time.Time) predicate.OrgSubscriptionHistory

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.OrgSubscriptionHistory

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

func CreatedAtLT

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.OrgSubscriptionHistory

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.OrgSubscriptionHistory

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.OrgSubscriptionHistory

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

func CreatedBy

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

func CreatedByContains

func CreatedByContains(v string) predicate.OrgSubscriptionHistory

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.OrgSubscriptionHistory

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

func CreatedByEQ

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.OrgSubscriptionHistory

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

func CreatedByGT

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.OrgSubscriptionHistory

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.OrgSubscriptionHistory

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.OrgSubscriptionHistory

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.OrgSubscriptionHistory

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

func CreatedByLT

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.OrgSubscriptionHistory

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.OrgSubscriptionHistory

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.OrgSubscriptionHistory

CreatedByNotNil applies the NotNil predicate on the "created_by" 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

func DeletedAtGTE(v time.Time) predicate.OrgSubscriptionHistory

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.OrgSubscriptionHistory

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

func DeletedAtLT

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.OrgSubscriptionHistory

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.OrgSubscriptionHistory

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.OrgSubscriptionHistory

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

func DeletedBy

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

func DeletedByContains

func DeletedByContains(v string) predicate.OrgSubscriptionHistory

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.OrgSubscriptionHistory

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

func DeletedByEQ

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.OrgSubscriptionHistory

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

func DeletedByGT

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.OrgSubscriptionHistory

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.OrgSubscriptionHistory

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.OrgSubscriptionHistory

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.OrgSubscriptionHistory

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

func DeletedByLT

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.OrgSubscriptionHistory

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.OrgSubscriptionHistory

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.OrgSubscriptionHistory

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

func ExpiresAt

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

func ExpiresAtEQ

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

func ExpiresAtGT

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

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.OrgSubscriptionHistory

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

func ExpiresAtIn

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

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

func ExpiresAtIsNil

func ExpiresAtIsNil() predicate.OrgSubscriptionHistory

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

func ExpiresAtLT

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

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.OrgSubscriptionHistory

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

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.OrgSubscriptionHistory

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

func ExpiresAtNotIn

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

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

func ExpiresAtNotNil

func ExpiresAtNotNil() predicate.OrgSubscriptionHistory

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

func FeaturesIsNil

func FeaturesIsNil() predicate.OrgSubscriptionHistory

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

func FeaturesNotNil

func FeaturesNotNil() predicate.OrgSubscriptionHistory

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

func HistoryTime

HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.

func HistoryTimeEQ

func HistoryTimeEQ(v time.Time) predicate.OrgSubscriptionHistory

HistoryTimeEQ applies the EQ predicate on the "history_time" field.

func HistoryTimeGT

func HistoryTimeGT(v time.Time) predicate.OrgSubscriptionHistory

HistoryTimeGT applies the GT predicate on the "history_time" field.

func HistoryTimeGTE

func HistoryTimeGTE(v time.Time) predicate.OrgSubscriptionHistory

HistoryTimeGTE applies the GTE predicate on the "history_time" field.

func HistoryTimeIn

func HistoryTimeIn(vs ...time.Time) predicate.OrgSubscriptionHistory

HistoryTimeIn applies the In predicate on the "history_time" field.

func HistoryTimeLT

func HistoryTimeLT(v time.Time) predicate.OrgSubscriptionHistory

HistoryTimeLT applies the LT predicate on the "history_time" field.

func HistoryTimeLTE

func HistoryTimeLTE(v time.Time) predicate.OrgSubscriptionHistory

HistoryTimeLTE applies the LTE predicate on the "history_time" field.

func HistoryTimeNEQ

func HistoryTimeNEQ(v time.Time) predicate.OrgSubscriptionHistory

HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.

func HistoryTimeNotIn

func HistoryTimeNotIn(vs ...time.Time) predicate.OrgSubscriptionHistory

HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.OrgSubscriptionHistory

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

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

func IDNotIn(ids ...string) predicate.OrgSubscriptionHistory

IDNotIn applies the NotIn predicate on the ID field.

func MappingID

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

func MappingIDContains

func MappingIDContains(v string) predicate.OrgSubscriptionHistory

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

func MappingIDContainsFold

func MappingIDContainsFold(v string) predicate.OrgSubscriptionHistory

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

func MappingIDEQ

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

func MappingIDEqualFold

func MappingIDEqualFold(v string) predicate.OrgSubscriptionHistory

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

func MappingIDGT

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

func MappingIDGTE

func MappingIDGTE(v string) predicate.OrgSubscriptionHistory

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

func MappingIDHasPrefix

func MappingIDHasPrefix(v string) predicate.OrgSubscriptionHistory

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

func MappingIDHasSuffix

func MappingIDHasSuffix(v string) predicate.OrgSubscriptionHistory

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

func MappingIDIn

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

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

func MappingIDLT

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

func MappingIDLTE

func MappingIDLTE(v string) predicate.OrgSubscriptionHistory

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

func MappingIDNEQ

func MappingIDNEQ(v string) predicate.OrgSubscriptionHistory

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

func MappingIDNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func OperationEQ

OperationEQ applies the EQ predicate on the "operation" field.

func OperationIn

OperationIn applies the In predicate on the "operation" field.

func OperationNEQ

OperationNEQ applies the NEQ predicate on the "operation" field.

func OperationNotIn

func OperationNotIn(vs ...history.OpType) predicate.OrgSubscriptionHistory

OperationNotIn applies the NotIn predicate on the "operation" field.

func OperationValidator

func OperationValidator(o history.OpType) error

OperationValidator is a validator for the "operation" field enum values. It is called by the builders before save.

func Or

Or groups predicates with the OR operator between them.

func OwnerID

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

func OwnerIDContains

func OwnerIDContains(v string) predicate.OrgSubscriptionHistory

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.OrgSubscriptionHistory

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

func OwnerIDEQ

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.OrgSubscriptionHistory

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

func OwnerIDGT

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

func OwnerIDGTE

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.OrgSubscriptionHistory

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.OrgSubscriptionHistory

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.OrgSubscriptionHistory

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

func OwnerIDLT

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

func OwnerIDLTE

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

func OwnerIDNEQ

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.OrgSubscriptionHistory

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

func ProductTier

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

func ProductTierContains

func ProductTierContains(v string) predicate.OrgSubscriptionHistory

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

func ProductTierContainsFold

func ProductTierContainsFold(v string) predicate.OrgSubscriptionHistory

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

func ProductTierEQ

func ProductTierEQ(v string) predicate.OrgSubscriptionHistory

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

func ProductTierEqualFold

func ProductTierEqualFold(v string) predicate.OrgSubscriptionHistory

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

func ProductTierGT

func ProductTierGT(v string) predicate.OrgSubscriptionHistory

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

func ProductTierGTE

func ProductTierGTE(v string) predicate.OrgSubscriptionHistory

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

func ProductTierHasPrefix

func ProductTierHasPrefix(v string) predicate.OrgSubscriptionHistory

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

func ProductTierHasSuffix

func ProductTierHasSuffix(v string) predicate.OrgSubscriptionHistory

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

func ProductTierIn

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

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

func ProductTierIsNil

func ProductTierIsNil() predicate.OrgSubscriptionHistory

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

func ProductTierLT

func ProductTierLT(v string) predicate.OrgSubscriptionHistory

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

func ProductTierLTE

func ProductTierLTE(v string) predicate.OrgSubscriptionHistory

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

func ProductTierNEQ

func ProductTierNEQ(v string) predicate.OrgSubscriptionHistory

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

func ProductTierNotIn

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

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

func ProductTierNotNil

func ProductTierNotNil() predicate.OrgSubscriptionHistory

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

func Ref

Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.

func RefContains

RefContains applies the Contains predicate on the "ref" field.

func RefContainsFold

func RefContainsFold(v string) predicate.OrgSubscriptionHistory

RefContainsFold applies the ContainsFold predicate on the "ref" field.

func RefEQ

RefEQ applies the EQ predicate on the "ref" field.

func RefEqualFold

func RefEqualFold(v string) predicate.OrgSubscriptionHistory

RefEqualFold applies the EqualFold predicate on the "ref" field.

func RefGT

RefGT applies the GT predicate on the "ref" field.

func RefGTE

RefGTE applies the GTE predicate on the "ref" field.

func RefHasPrefix

func RefHasPrefix(v string) predicate.OrgSubscriptionHistory

RefHasPrefix applies the HasPrefix predicate on the "ref" field.

func RefHasSuffix

func RefHasSuffix(v string) predicate.OrgSubscriptionHistory

RefHasSuffix applies the HasSuffix predicate on the "ref" field.

func RefIn

RefIn applies the In predicate on the "ref" field.

func RefIsNil

RefIsNil applies the IsNil predicate on the "ref" field.

func RefLT

RefLT applies the LT predicate on the "ref" field.

func RefLTE

RefLTE applies the LTE predicate on the "ref" field.

func RefNEQ

RefNEQ applies the NEQ predicate on the "ref" field.

func RefNotIn

func RefNotIn(vs ...string) predicate.OrgSubscriptionHistory

RefNotIn applies the NotIn predicate on the "ref" field.

func RefNotNil

RefNotNil applies the NotNil predicate on the "ref" field.

func StripeCustomerID

func StripeCustomerID(v string) predicate.OrgSubscriptionHistory

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

func StripeCustomerIDContains

func StripeCustomerIDContains(v string) predicate.OrgSubscriptionHistory

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

func StripeCustomerIDContainsFold

func StripeCustomerIDContainsFold(v string) predicate.OrgSubscriptionHistory

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

func StripeCustomerIDEQ

func StripeCustomerIDEQ(v string) predicate.OrgSubscriptionHistory

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

func StripeCustomerIDEqualFold

func StripeCustomerIDEqualFold(v string) predicate.OrgSubscriptionHistory

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

func StripeCustomerIDGT

func StripeCustomerIDGT(v string) predicate.OrgSubscriptionHistory

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

func StripeCustomerIDGTE

func StripeCustomerIDGTE(v string) predicate.OrgSubscriptionHistory

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

func StripeCustomerIDHasPrefix

func StripeCustomerIDHasPrefix(v string) predicate.OrgSubscriptionHistory

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

func StripeCustomerIDHasSuffix

func StripeCustomerIDHasSuffix(v string) predicate.OrgSubscriptionHistory

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

func StripeCustomerIDIn

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

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

func StripeCustomerIDIsNil

func StripeCustomerIDIsNil() predicate.OrgSubscriptionHistory

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

func StripeCustomerIDLT

func StripeCustomerIDLT(v string) predicate.OrgSubscriptionHistory

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

func StripeCustomerIDLTE

func StripeCustomerIDLTE(v string) predicate.OrgSubscriptionHistory

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

func StripeCustomerIDNEQ

func StripeCustomerIDNEQ(v string) predicate.OrgSubscriptionHistory

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

func StripeCustomerIDNotIn

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

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

func StripeCustomerIDNotNil

func StripeCustomerIDNotNil() predicate.OrgSubscriptionHistory

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

func StripeProductTierID

func StripeProductTierID(v string) predicate.OrgSubscriptionHistory

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

func StripeProductTierIDContains

func StripeProductTierIDContains(v string) predicate.OrgSubscriptionHistory

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

func StripeProductTierIDContainsFold

func StripeProductTierIDContainsFold(v string) predicate.OrgSubscriptionHistory

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

func StripeProductTierIDEQ

func StripeProductTierIDEQ(v string) predicate.OrgSubscriptionHistory

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

func StripeProductTierIDEqualFold

func StripeProductTierIDEqualFold(v string) predicate.OrgSubscriptionHistory

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

func StripeProductTierIDGT

func StripeProductTierIDGT(v string) predicate.OrgSubscriptionHistory

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

func StripeProductTierIDGTE

func StripeProductTierIDGTE(v string) predicate.OrgSubscriptionHistory

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

func StripeProductTierIDHasPrefix

func StripeProductTierIDHasPrefix(v string) predicate.OrgSubscriptionHistory

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

func StripeProductTierIDHasSuffix

func StripeProductTierIDHasSuffix(v string) predicate.OrgSubscriptionHistory

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

func StripeProductTierIDIn

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

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

func StripeProductTierIDIsNil

func StripeProductTierIDIsNil() predicate.OrgSubscriptionHistory

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

func StripeProductTierIDLT

func StripeProductTierIDLT(v string) predicate.OrgSubscriptionHistory

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

func StripeProductTierIDLTE

func StripeProductTierIDLTE(v string) predicate.OrgSubscriptionHistory

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

func StripeProductTierIDNEQ

func StripeProductTierIDNEQ(v string) predicate.OrgSubscriptionHistory

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

func StripeProductTierIDNotIn

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

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

func StripeProductTierIDNotNil

func StripeProductTierIDNotNil() predicate.OrgSubscriptionHistory

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

func StripeSubscriptionID

func StripeSubscriptionID(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionIDContains

func StripeSubscriptionIDContains(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionIDContainsFold

func StripeSubscriptionIDContainsFold(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionIDEQ

func StripeSubscriptionIDEQ(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionIDEqualFold

func StripeSubscriptionIDEqualFold(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionIDGT

func StripeSubscriptionIDGT(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionIDGTE

func StripeSubscriptionIDGTE(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionIDHasPrefix

func StripeSubscriptionIDHasPrefix(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionIDHasSuffix

func StripeSubscriptionIDHasSuffix(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionIDIn

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

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

func StripeSubscriptionIDIsNil

func StripeSubscriptionIDIsNil() predicate.OrgSubscriptionHistory

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

func StripeSubscriptionIDLT

func StripeSubscriptionIDLT(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionIDLTE

func StripeSubscriptionIDLTE(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionIDNEQ

func StripeSubscriptionIDNEQ(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionIDNotIn

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

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

func StripeSubscriptionIDNotNil

func StripeSubscriptionIDNotNil() predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatus

func StripeSubscriptionStatus(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatusContains

func StripeSubscriptionStatusContains(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatusContainsFold

func StripeSubscriptionStatusContainsFold(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatusEQ

func StripeSubscriptionStatusEQ(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatusEqualFold

func StripeSubscriptionStatusEqualFold(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatusGT

func StripeSubscriptionStatusGT(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatusGTE

func StripeSubscriptionStatusGTE(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatusHasPrefix

func StripeSubscriptionStatusHasPrefix(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatusHasSuffix

func StripeSubscriptionStatusHasSuffix(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatusIn

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

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

func StripeSubscriptionStatusIsNil

func StripeSubscriptionStatusIsNil() predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatusLT

func StripeSubscriptionStatusLT(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatusLTE

func StripeSubscriptionStatusLTE(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatusNEQ

func StripeSubscriptionStatusNEQ(v string) predicate.OrgSubscriptionHistory

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

func StripeSubscriptionStatusNotIn

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

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

func StripeSubscriptionStatusNotNil

func StripeSubscriptionStatusNotNil() predicate.OrgSubscriptionHistory

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

func TagsIsNil

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

func TagsNotNil

func TagsNotNil() predicate.OrgSubscriptionHistory

TagsNotNil applies the NotNil predicate on the "tags" 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

func UpdatedAtGTE(v time.Time) predicate.OrgSubscriptionHistory

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.OrgSubscriptionHistory

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

func UpdatedAtLT

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.OrgSubscriptionHistory

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.OrgSubscriptionHistory

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.OrgSubscriptionHistory

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

func UpdatedBy

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.OrgSubscriptionHistory

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.OrgSubscriptionHistory

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

func UpdatedByEQ

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.OrgSubscriptionHistory

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

func UpdatedByGT

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.OrgSubscriptionHistory

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.OrgSubscriptionHistory

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.OrgSubscriptionHistory

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.OrgSubscriptionHistory

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

func UpdatedByLT

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.OrgSubscriptionHistory

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.OrgSubscriptionHistory

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.OrgSubscriptionHistory

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 OrgSubscriptionHistory 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 ByHistoryTime

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

ByHistoryTime orders the results by the history_time 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 ByOperation

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

ByOperation orders the results by the operation 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 ByRef

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

ByRef orders the results by the ref 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