Documentation
¶
Index ¶
- Constants
- Variables
- func ActivePauseID(v string) predicate.Subscription
- func ActivePauseIDContains(v string) predicate.Subscription
- func ActivePauseIDContainsFold(v string) predicate.Subscription
- func ActivePauseIDEQ(v string) predicate.Subscription
- func ActivePauseIDEqualFold(v string) predicate.Subscription
- func ActivePauseIDGT(v string) predicate.Subscription
- func ActivePauseIDGTE(v string) predicate.Subscription
- func ActivePauseIDHasPrefix(v string) predicate.Subscription
- func ActivePauseIDHasSuffix(v string) predicate.Subscription
- func ActivePauseIDIn(vs ...string) predicate.Subscription
- func ActivePauseIDIsNil() predicate.Subscription
- func ActivePauseIDLT(v string) predicate.Subscription
- func ActivePauseIDLTE(v string) predicate.Subscription
- func ActivePauseIDNEQ(v string) predicate.Subscription
- func ActivePauseIDNotIn(vs ...string) predicate.Subscription
- func ActivePauseIDNotNil() predicate.Subscription
- func And(predicates ...predicate.Subscription) predicate.Subscription
- func BillingAnchor(v time.Time) predicate.Subscription
- func BillingAnchorEQ(v time.Time) predicate.Subscription
- func BillingAnchorGT(v time.Time) predicate.Subscription
- func BillingAnchorGTE(v time.Time) predicate.Subscription
- func BillingAnchorIn(vs ...time.Time) predicate.Subscription
- func BillingAnchorLT(v time.Time) predicate.Subscription
- func BillingAnchorLTE(v time.Time) predicate.Subscription
- func BillingAnchorNEQ(v time.Time) predicate.Subscription
- func BillingAnchorNotIn(vs ...time.Time) predicate.Subscription
- func BillingCadence(v string) predicate.Subscription
- func BillingCadenceContains(v string) predicate.Subscription
- func BillingCadenceContainsFold(v string) predicate.Subscription
- func BillingCadenceEQ(v string) predicate.Subscription
- func BillingCadenceEqualFold(v string) predicate.Subscription
- func BillingCadenceGT(v string) predicate.Subscription
- func BillingCadenceGTE(v string) predicate.Subscription
- func BillingCadenceHasPrefix(v string) predicate.Subscription
- func BillingCadenceHasSuffix(v string) predicate.Subscription
- func BillingCadenceIn(vs ...string) predicate.Subscription
- func BillingCadenceLT(v string) predicate.Subscription
- func BillingCadenceLTE(v string) predicate.Subscription
- func BillingCadenceNEQ(v string) predicate.Subscription
- func BillingCadenceNotIn(vs ...string) predicate.Subscription
- func BillingCycle(v string) predicate.Subscription
- func BillingCycleContains(v string) predicate.Subscription
- func BillingCycleContainsFold(v string) predicate.Subscription
- func BillingCycleEQ(v string) predicate.Subscription
- func BillingCycleEqualFold(v string) predicate.Subscription
- func BillingCycleGT(v string) predicate.Subscription
- func BillingCycleGTE(v string) predicate.Subscription
- func BillingCycleHasPrefix(v string) predicate.Subscription
- func BillingCycleHasSuffix(v string) predicate.Subscription
- func BillingCycleIn(vs ...string) predicate.Subscription
- func BillingCycleLT(v string) predicate.Subscription
- func BillingCycleLTE(v string) predicate.Subscription
- func BillingCycleNEQ(v string) predicate.Subscription
- func BillingCycleNotIn(vs ...string) predicate.Subscription
- func BillingPeriod(v string) predicate.Subscription
- func BillingPeriodContains(v string) predicate.Subscription
- func BillingPeriodContainsFold(v string) predicate.Subscription
- func BillingPeriodCount(v int) predicate.Subscription
- func BillingPeriodCountEQ(v int) predicate.Subscription
- func BillingPeriodCountGT(v int) predicate.Subscription
- func BillingPeriodCountGTE(v int) predicate.Subscription
- func BillingPeriodCountIn(vs ...int) predicate.Subscription
- func BillingPeriodCountLT(v int) predicate.Subscription
- func BillingPeriodCountLTE(v int) predicate.Subscription
- func BillingPeriodCountNEQ(v int) predicate.Subscription
- func BillingPeriodCountNotIn(vs ...int) predicate.Subscription
- func BillingPeriodEQ(v string) predicate.Subscription
- func BillingPeriodEqualFold(v string) predicate.Subscription
- func BillingPeriodGT(v string) predicate.Subscription
- func BillingPeriodGTE(v string) predicate.Subscription
- func BillingPeriodHasPrefix(v string) predicate.Subscription
- func BillingPeriodHasSuffix(v string) predicate.Subscription
- func BillingPeriodIn(vs ...string) predicate.Subscription
- func BillingPeriodLT(v string) predicate.Subscription
- func BillingPeriodLTE(v string) predicate.Subscription
- func BillingPeriodNEQ(v string) predicate.Subscription
- func BillingPeriodNotIn(vs ...string) predicate.Subscription
- func CancelAt(v time.Time) predicate.Subscription
- func CancelAtEQ(v time.Time) predicate.Subscription
- func CancelAtGT(v time.Time) predicate.Subscription
- func CancelAtGTE(v time.Time) predicate.Subscription
- func CancelAtIn(vs ...time.Time) predicate.Subscription
- func CancelAtIsNil() predicate.Subscription
- func CancelAtLT(v time.Time) predicate.Subscription
- func CancelAtLTE(v time.Time) predicate.Subscription
- func CancelAtNEQ(v time.Time) predicate.Subscription
- func CancelAtNotIn(vs ...time.Time) predicate.Subscription
- func CancelAtNotNil() predicate.Subscription
- func CancelAtPeriodEnd(v bool) predicate.Subscription
- func CancelAtPeriodEndEQ(v bool) predicate.Subscription
- func CancelAtPeriodEndNEQ(v bool) predicate.Subscription
- func CancelledAt(v time.Time) predicate.Subscription
- func CancelledAtEQ(v time.Time) predicate.Subscription
- func CancelledAtGT(v time.Time) predicate.Subscription
- func CancelledAtGTE(v time.Time) predicate.Subscription
- func CancelledAtIn(vs ...time.Time) predicate.Subscription
- func CancelledAtIsNil() predicate.Subscription
- func CancelledAtLT(v time.Time) predicate.Subscription
- func CancelledAtLTE(v time.Time) predicate.Subscription
- func CancelledAtNEQ(v time.Time) predicate.Subscription
- func CancelledAtNotIn(vs ...time.Time) predicate.Subscription
- func CancelledAtNotNil() predicate.Subscription
- func CreatedAt(v time.Time) predicate.Subscription
- func CreatedAtEQ(v time.Time) predicate.Subscription
- func CreatedAtGT(v time.Time) predicate.Subscription
- func CreatedAtGTE(v time.Time) predicate.Subscription
- func CreatedAtIn(vs ...time.Time) predicate.Subscription
- func CreatedAtLT(v time.Time) predicate.Subscription
- func CreatedAtLTE(v time.Time) predicate.Subscription
- func CreatedAtNEQ(v time.Time) predicate.Subscription
- func CreatedAtNotIn(vs ...time.Time) predicate.Subscription
- func CreatedBy(v string) predicate.Subscription
- func CreatedByContains(v string) predicate.Subscription
- func CreatedByContainsFold(v string) predicate.Subscription
- func CreatedByEQ(v string) predicate.Subscription
- func CreatedByEqualFold(v string) predicate.Subscription
- func CreatedByGT(v string) predicate.Subscription
- func CreatedByGTE(v string) predicate.Subscription
- func CreatedByHasPrefix(v string) predicate.Subscription
- func CreatedByHasSuffix(v string) predicate.Subscription
- func CreatedByIn(vs ...string) predicate.Subscription
- func CreatedByIsNil() predicate.Subscription
- func CreatedByLT(v string) predicate.Subscription
- func CreatedByLTE(v string) predicate.Subscription
- func CreatedByNEQ(v string) predicate.Subscription
- func CreatedByNotIn(vs ...string) predicate.Subscription
- func CreatedByNotNil() predicate.Subscription
- func Currency(v string) predicate.Subscription
- func CurrencyContains(v string) predicate.Subscription
- func CurrencyContainsFold(v string) predicate.Subscription
- func CurrencyEQ(v string) predicate.Subscription
- func CurrencyEqualFold(v string) predicate.Subscription
- func CurrencyGT(v string) predicate.Subscription
- func CurrencyGTE(v string) predicate.Subscription
- func CurrencyHasPrefix(v string) predicate.Subscription
- func CurrencyHasSuffix(v string) predicate.Subscription
- func CurrencyIn(vs ...string) predicate.Subscription
- func CurrencyLT(v string) predicate.Subscription
- func CurrencyLTE(v string) predicate.Subscription
- func CurrencyNEQ(v string) predicate.Subscription
- func CurrencyNotIn(vs ...string) predicate.Subscription
- func CurrentPeriodEnd(v time.Time) predicate.Subscription
- func CurrentPeriodEndEQ(v time.Time) predicate.Subscription
- func CurrentPeriodEndGT(v time.Time) predicate.Subscription
- func CurrentPeriodEndGTE(v time.Time) predicate.Subscription
- func CurrentPeriodEndIn(vs ...time.Time) predicate.Subscription
- func CurrentPeriodEndLT(v time.Time) predicate.Subscription
- func CurrentPeriodEndLTE(v time.Time) predicate.Subscription
- func CurrentPeriodEndNEQ(v time.Time) predicate.Subscription
- func CurrentPeriodEndNotIn(vs ...time.Time) predicate.Subscription
- func CurrentPeriodStart(v time.Time) predicate.Subscription
- func CurrentPeriodStartEQ(v time.Time) predicate.Subscription
- func CurrentPeriodStartGT(v time.Time) predicate.Subscription
- func CurrentPeriodStartGTE(v time.Time) predicate.Subscription
- func CurrentPeriodStartIn(vs ...time.Time) predicate.Subscription
- func CurrentPeriodStartLT(v time.Time) predicate.Subscription
- func CurrentPeriodStartLTE(v time.Time) predicate.Subscription
- func CurrentPeriodStartNEQ(v time.Time) predicate.Subscription
- func CurrentPeriodStartNotIn(vs ...time.Time) predicate.Subscription
- func CustomerID(v string) predicate.Subscription
- func CustomerIDContains(v string) predicate.Subscription
- func CustomerIDContainsFold(v string) predicate.Subscription
- func CustomerIDEQ(v string) predicate.Subscription
- func CustomerIDEqualFold(v string) predicate.Subscription
- func CustomerIDGT(v string) predicate.Subscription
- func CustomerIDGTE(v string) predicate.Subscription
- func CustomerIDHasPrefix(v string) predicate.Subscription
- func CustomerIDHasSuffix(v string) predicate.Subscription
- func CustomerIDIn(vs ...string) predicate.Subscription
- func CustomerIDLT(v string) predicate.Subscription
- func CustomerIDLTE(v string) predicate.Subscription
- func CustomerIDNEQ(v string) predicate.Subscription
- func CustomerIDNotIn(vs ...string) predicate.Subscription
- func EndDate(v time.Time) predicate.Subscription
- func EndDateEQ(v time.Time) predicate.Subscription
- func EndDateGT(v time.Time) predicate.Subscription
- func EndDateGTE(v time.Time) predicate.Subscription
- func EndDateIn(vs ...time.Time) predicate.Subscription
- func EndDateIsNil() predicate.Subscription
- func EndDateLT(v time.Time) predicate.Subscription
- func EndDateLTE(v time.Time) predicate.Subscription
- func EndDateNEQ(v time.Time) predicate.Subscription
- func EndDateNotIn(vs ...time.Time) predicate.Subscription
- func EndDateNotNil() predicate.Subscription
- func EnvironmentID(v string) predicate.Subscription
- func EnvironmentIDContains(v string) predicate.Subscription
- func EnvironmentIDContainsFold(v string) predicate.Subscription
- func EnvironmentIDEQ(v string) predicate.Subscription
- func EnvironmentIDEqualFold(v string) predicate.Subscription
- func EnvironmentIDGT(v string) predicate.Subscription
- func EnvironmentIDGTE(v string) predicate.Subscription
- func EnvironmentIDHasPrefix(v string) predicate.Subscription
- func EnvironmentIDHasSuffix(v string) predicate.Subscription
- func EnvironmentIDIn(vs ...string) predicate.Subscription
- func EnvironmentIDIsNil() predicate.Subscription
- func EnvironmentIDLT(v string) predicate.Subscription
- func EnvironmentIDLTE(v string) predicate.Subscription
- func EnvironmentIDNEQ(v string) predicate.Subscription
- func EnvironmentIDNotIn(vs ...string) predicate.Subscription
- func EnvironmentIDNotNil() predicate.Subscription
- func HasLineItems() predicate.Subscription
- func HasLineItemsWith(preds ...predicate.SubscriptionLineItem) predicate.Subscription
- func HasPauses() predicate.Subscription
- func HasPausesWith(preds ...predicate.SubscriptionPause) predicate.Subscription
- func ID(id string) predicate.Subscription
- func IDContainsFold(id string) predicate.Subscription
- func IDEQ(id string) predicate.Subscription
- func IDEqualFold(id string) predicate.Subscription
- func IDGT(id string) predicate.Subscription
- func IDGTE(id string) predicate.Subscription
- func IDIn(ids ...string) predicate.Subscription
- func IDLT(id string) predicate.Subscription
- func IDLTE(id string) predicate.Subscription
- func IDNEQ(id string) predicate.Subscription
- func IDNotIn(ids ...string) predicate.Subscription
- func LookupKey(v string) predicate.Subscription
- func LookupKeyContains(v string) predicate.Subscription
- func LookupKeyContainsFold(v string) predicate.Subscription
- func LookupKeyEQ(v string) predicate.Subscription
- func LookupKeyEqualFold(v string) predicate.Subscription
- func LookupKeyGT(v string) predicate.Subscription
- func LookupKeyGTE(v string) predicate.Subscription
- func LookupKeyHasPrefix(v string) predicate.Subscription
- func LookupKeyHasSuffix(v string) predicate.Subscription
- func LookupKeyIn(vs ...string) predicate.Subscription
- func LookupKeyIsNil() predicate.Subscription
- func LookupKeyLT(v string) predicate.Subscription
- func LookupKeyLTE(v string) predicate.Subscription
- func LookupKeyNEQ(v string) predicate.Subscription
- func LookupKeyNotIn(vs ...string) predicate.Subscription
- func LookupKeyNotNil() predicate.Subscription
- func MetadataIsNil() predicate.Subscription
- func MetadataNotNil() predicate.Subscription
- func Not(p predicate.Subscription) predicate.Subscription
- func Or(predicates ...predicate.Subscription) predicate.Subscription
- func PauseStatus(v string) predicate.Subscription
- func PauseStatusContains(v string) predicate.Subscription
- func PauseStatusContainsFold(v string) predicate.Subscription
- func PauseStatusEQ(v string) predicate.Subscription
- func PauseStatusEqualFold(v string) predicate.Subscription
- func PauseStatusGT(v string) predicate.Subscription
- func PauseStatusGTE(v string) predicate.Subscription
- func PauseStatusHasPrefix(v string) predicate.Subscription
- func PauseStatusHasSuffix(v string) predicate.Subscription
- func PauseStatusIn(vs ...string) predicate.Subscription
- func PauseStatusLT(v string) predicate.Subscription
- func PauseStatusLTE(v string) predicate.Subscription
- func PauseStatusNEQ(v string) predicate.Subscription
- func PauseStatusNotIn(vs ...string) predicate.Subscription
- func PlanID(v string) predicate.Subscription
- func PlanIDContains(v string) predicate.Subscription
- func PlanIDContainsFold(v string) predicate.Subscription
- func PlanIDEQ(v string) predicate.Subscription
- func PlanIDEqualFold(v string) predicate.Subscription
- func PlanIDGT(v string) predicate.Subscription
- func PlanIDGTE(v string) predicate.Subscription
- func PlanIDHasPrefix(v string) predicate.Subscription
- func PlanIDHasSuffix(v string) predicate.Subscription
- func PlanIDIn(vs ...string) predicate.Subscription
- func PlanIDLT(v string) predicate.Subscription
- func PlanIDLTE(v string) predicate.Subscription
- func PlanIDNEQ(v string) predicate.Subscription
- func PlanIDNotIn(vs ...string) predicate.Subscription
- func StartDate(v time.Time) predicate.Subscription
- func StartDateEQ(v time.Time) predicate.Subscription
- func StartDateGT(v time.Time) predicate.Subscription
- func StartDateGTE(v time.Time) predicate.Subscription
- func StartDateIn(vs ...time.Time) predicate.Subscription
- func StartDateLT(v time.Time) predicate.Subscription
- func StartDateLTE(v time.Time) predicate.Subscription
- func StartDateNEQ(v time.Time) predicate.Subscription
- func StartDateNotIn(vs ...time.Time) predicate.Subscription
- func Status(v string) predicate.Subscription
- func StatusContains(v string) predicate.Subscription
- func StatusContainsFold(v string) predicate.Subscription
- func StatusEQ(v string) predicate.Subscription
- func StatusEqualFold(v string) predicate.Subscription
- func StatusGT(v string) predicate.Subscription
- func StatusGTE(v string) predicate.Subscription
- func StatusHasPrefix(v string) predicate.Subscription
- func StatusHasSuffix(v string) predicate.Subscription
- func StatusIn(vs ...string) predicate.Subscription
- func StatusLT(v string) predicate.Subscription
- func StatusLTE(v string) predicate.Subscription
- func StatusNEQ(v string) predicate.Subscription
- func StatusNotIn(vs ...string) predicate.Subscription
- func SubscriptionStatus(v string) predicate.Subscription
- func SubscriptionStatusContains(v string) predicate.Subscription
- func SubscriptionStatusContainsFold(v string) predicate.Subscription
- func SubscriptionStatusEQ(v string) predicate.Subscription
- func SubscriptionStatusEqualFold(v string) predicate.Subscription
- func SubscriptionStatusGT(v string) predicate.Subscription
- func SubscriptionStatusGTE(v string) predicate.Subscription
- func SubscriptionStatusHasPrefix(v string) predicate.Subscription
- func SubscriptionStatusHasSuffix(v string) predicate.Subscription
- func SubscriptionStatusIn(vs ...string) predicate.Subscription
- func SubscriptionStatusLT(v string) predicate.Subscription
- func SubscriptionStatusLTE(v string) predicate.Subscription
- func SubscriptionStatusNEQ(v string) predicate.Subscription
- func SubscriptionStatusNotIn(vs ...string) predicate.Subscription
- func TenantID(v string) predicate.Subscription
- func TenantIDContains(v string) predicate.Subscription
- func TenantIDContainsFold(v string) predicate.Subscription
- func TenantIDEQ(v string) predicate.Subscription
- func TenantIDEqualFold(v string) predicate.Subscription
- func TenantIDGT(v string) predicate.Subscription
- func TenantIDGTE(v string) predicate.Subscription
- func TenantIDHasPrefix(v string) predicate.Subscription
- func TenantIDHasSuffix(v string) predicate.Subscription
- func TenantIDIn(vs ...string) predicate.Subscription
- func TenantIDLT(v string) predicate.Subscription
- func TenantIDLTE(v string) predicate.Subscription
- func TenantIDNEQ(v string) predicate.Subscription
- func TenantIDNotIn(vs ...string) predicate.Subscription
- func TrialEnd(v time.Time) predicate.Subscription
- func TrialEndEQ(v time.Time) predicate.Subscription
- func TrialEndGT(v time.Time) predicate.Subscription
- func TrialEndGTE(v time.Time) predicate.Subscription
- func TrialEndIn(vs ...time.Time) predicate.Subscription
- func TrialEndIsNil() predicate.Subscription
- func TrialEndLT(v time.Time) predicate.Subscription
- func TrialEndLTE(v time.Time) predicate.Subscription
- func TrialEndNEQ(v time.Time) predicate.Subscription
- func TrialEndNotIn(vs ...time.Time) predicate.Subscription
- func TrialEndNotNil() predicate.Subscription
- func TrialStart(v time.Time) predicate.Subscription
- func TrialStartEQ(v time.Time) predicate.Subscription
- func TrialStartGT(v time.Time) predicate.Subscription
- func TrialStartGTE(v time.Time) predicate.Subscription
- func TrialStartIn(vs ...time.Time) predicate.Subscription
- func TrialStartIsNil() predicate.Subscription
- func TrialStartLT(v time.Time) predicate.Subscription
- func TrialStartLTE(v time.Time) predicate.Subscription
- func TrialStartNEQ(v time.Time) predicate.Subscription
- func TrialStartNotIn(vs ...time.Time) predicate.Subscription
- func TrialStartNotNil() predicate.Subscription
- func UpdatedAt(v time.Time) predicate.Subscription
- func UpdatedAtEQ(v time.Time) predicate.Subscription
- func UpdatedAtGT(v time.Time) predicate.Subscription
- func UpdatedAtGTE(v time.Time) predicate.Subscription
- func UpdatedAtIn(vs ...time.Time) predicate.Subscription
- func UpdatedAtLT(v time.Time) predicate.Subscription
- func UpdatedAtLTE(v time.Time) predicate.Subscription
- func UpdatedAtNEQ(v time.Time) predicate.Subscription
- func UpdatedAtNotIn(vs ...time.Time) predicate.Subscription
- func UpdatedBy(v string) predicate.Subscription
- func UpdatedByContains(v string) predicate.Subscription
- func UpdatedByContainsFold(v string) predicate.Subscription
- func UpdatedByEQ(v string) predicate.Subscription
- func UpdatedByEqualFold(v string) predicate.Subscription
- func UpdatedByGT(v string) predicate.Subscription
- func UpdatedByGTE(v string) predicate.Subscription
- func UpdatedByHasPrefix(v string) predicate.Subscription
- func UpdatedByHasSuffix(v string) predicate.Subscription
- func UpdatedByIn(vs ...string) predicate.Subscription
- func UpdatedByIsNil() predicate.Subscription
- func UpdatedByLT(v string) predicate.Subscription
- func UpdatedByLTE(v string) predicate.Subscription
- func UpdatedByNEQ(v string) predicate.Subscription
- func UpdatedByNotIn(vs ...string) predicate.Subscription
- func UpdatedByNotNil() predicate.Subscription
- func ValidColumn(column string) bool
- func Version(v int) predicate.Subscription
- func VersionEQ(v int) predicate.Subscription
- func VersionGT(v int) predicate.Subscription
- func VersionGTE(v int) predicate.Subscription
- func VersionIn(vs ...int) predicate.Subscription
- func VersionLT(v int) predicate.Subscription
- func VersionLTE(v int) predicate.Subscription
- func VersionNEQ(v int) predicate.Subscription
- func VersionNotIn(vs ...int) predicate.Subscription
- type OrderOption
- func ByActivePauseID(opts ...sql.OrderTermOption) OrderOption
- func ByBillingAnchor(opts ...sql.OrderTermOption) OrderOption
- func ByBillingCadence(opts ...sql.OrderTermOption) OrderOption
- func ByBillingCycle(opts ...sql.OrderTermOption) OrderOption
- func ByBillingPeriod(opts ...sql.OrderTermOption) OrderOption
- func ByBillingPeriodCount(opts ...sql.OrderTermOption) OrderOption
- func ByCancelAt(opts ...sql.OrderTermOption) OrderOption
- func ByCancelAtPeriodEnd(opts ...sql.OrderTermOption) OrderOption
- func ByCancelledAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByCurrency(opts ...sql.OrderTermOption) OrderOption
- func ByCurrentPeriodEnd(opts ...sql.OrderTermOption) OrderOption
- func ByCurrentPeriodStart(opts ...sql.OrderTermOption) OrderOption
- func ByCustomerID(opts ...sql.OrderTermOption) OrderOption
- func ByEndDate(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLineItems(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLineItemsCount(opts ...sql.OrderTermOption) OrderOption
- func ByLookupKey(opts ...sql.OrderTermOption) OrderOption
- func ByPauseStatus(opts ...sql.OrderTermOption) OrderOption
- func ByPauses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPausesCount(opts ...sql.OrderTermOption) OrderOption
- func ByPlanID(opts ...sql.OrderTermOption) OrderOption
- func ByStartDate(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySubscriptionStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByTrialEnd(opts ...sql.OrderTermOption) OrderOption
- func ByTrialStart(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the subscription type in the database. Label = "subscription" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTenantID holds the string denoting the tenant_id field in the database. FieldTenantID = "tenant_id" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // 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" // FieldEnvironmentID holds the string denoting the environment_id field in the database. FieldEnvironmentID = "environment_id" // FieldLookupKey holds the string denoting the lookup_key field in the database. FieldLookupKey = "lookup_key" // FieldCustomerID holds the string denoting the customer_id field in the database. FieldCustomerID = "customer_id" // FieldPlanID holds the string denoting the plan_id field in the database. FieldPlanID = "plan_id" // FieldSubscriptionStatus holds the string denoting the subscription_status field in the database. FieldSubscriptionStatus = "subscription_status" // FieldCurrency holds the string denoting the currency field in the database. FieldCurrency = "currency" // FieldBillingAnchor holds the string denoting the billing_anchor field in the database. FieldBillingAnchor = "billing_anchor" // FieldStartDate holds the string denoting the start_date field in the database. FieldStartDate = "start_date" // FieldEndDate holds the string denoting the end_date field in the database. FieldEndDate = "end_date" // FieldCurrentPeriodStart holds the string denoting the current_period_start field in the database. FieldCurrentPeriodStart = "current_period_start" // FieldCurrentPeriodEnd holds the string denoting the current_period_end field in the database. FieldCurrentPeriodEnd = "current_period_end" // FieldCancelledAt holds the string denoting the cancelled_at field in the database. FieldCancelledAt = "cancelled_at" // FieldCancelAt holds the string denoting the cancel_at field in the database. FieldCancelAt = "cancel_at" // FieldCancelAtPeriodEnd holds the string denoting the cancel_at_period_end field in the database. FieldCancelAtPeriodEnd = "cancel_at_period_end" // FieldTrialStart holds the string denoting the trial_start field in the database. FieldTrialStart = "trial_start" // FieldTrialEnd holds the string denoting the trial_end field in the database. FieldTrialEnd = "trial_end" // FieldBillingCadence holds the string denoting the billing_cadence field in the database. FieldBillingCadence = "billing_cadence" // FieldBillingPeriod holds the string denoting the billing_period field in the database. FieldBillingPeriod = "billing_period" // FieldBillingPeriodCount holds the string denoting the billing_period_count field in the database. FieldBillingPeriodCount = "billing_period_count" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldPauseStatus holds the string denoting the pause_status field in the database. FieldPauseStatus = "pause_status" // FieldActivePauseID holds the string denoting the active_pause_id field in the database. FieldActivePauseID = "active_pause_id" // FieldBillingCycle holds the string denoting the billing_cycle field in the database. FieldBillingCycle = "billing_cycle" // EdgeLineItems holds the string denoting the line_items edge name in mutations. EdgeLineItems = "line_items" // EdgePauses holds the string denoting the pauses edge name in mutations. EdgePauses = "pauses" // Table holds the table name of the subscription in the database. Table = "subscriptions" // LineItemsTable is the table that holds the line_items relation/edge. LineItemsTable = "subscription_line_items" // LineItemsInverseTable is the table name for the SubscriptionLineItem entity. // It exists in this package in order to avoid circular dependency with the "subscriptionlineitem" package. LineItemsInverseTable = "subscription_line_items" // LineItemsColumn is the table column denoting the line_items relation/edge. LineItemsColumn = "subscription_id" // PausesTable is the table that holds the pauses relation/edge. PausesTable = "subscription_pauses" // PausesInverseTable is the table name for the SubscriptionPause entity. // It exists in this package in order to avoid circular dependency with the "subscriptionpause" package. PausesInverseTable = "subscription_pauses" // PausesColumn is the table column denoting the pauses relation/edge. PausesColumn = "subscription_id" )
Variables ¶
var ( // TenantIDValidator is a validator for the "tenant_id" field. It is called by the builders before save. TenantIDValidator func(string) error // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus string // 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 // DefaultEnvironmentID holds the default value on creation for the "environment_id" field. DefaultEnvironmentID string // CustomerIDValidator is a validator for the "customer_id" field. It is called by the builders before save. CustomerIDValidator func(string) error // PlanIDValidator is a validator for the "plan_id" field. It is called by the builders before save. PlanIDValidator func(string) error // DefaultSubscriptionStatus holds the default value on creation for the "subscription_status" field. DefaultSubscriptionStatus string // CurrencyValidator is a validator for the "currency" field. It is called by the builders before save. CurrencyValidator func(string) error // DefaultBillingAnchor holds the default value on creation for the "billing_anchor" field. DefaultBillingAnchor func() time.Time // DefaultStartDate holds the default value on creation for the "start_date" field. DefaultStartDate func() time.Time // DefaultCurrentPeriodStart holds the default value on creation for the "current_period_start" field. DefaultCurrentPeriodStart func() time.Time // DefaultCurrentPeriodEnd holds the default value on creation for the "current_period_end" field. DefaultCurrentPeriodEnd func() time.Time // DefaultCancelAtPeriodEnd holds the default value on creation for the "cancel_at_period_end" field. DefaultCancelAtPeriodEnd bool // BillingCadenceValidator is a validator for the "billing_cadence" field. It is called by the builders before save. BillingCadenceValidator func(string) error // BillingPeriodValidator is a validator for the "billing_period" field. It is called by the builders before save. BillingPeriodValidator func(string) error // DefaultBillingPeriodCount holds the default value on creation for the "billing_period_count" field. DefaultBillingPeriodCount int // DefaultVersion holds the default value on creation for the "version" field. DefaultVersion int // DefaultPauseStatus holds the default value on creation for the "pause_status" field. DefaultPauseStatus string // DefaultBillingCycle holds the default value on creation for the "billing_cycle" field. DefaultBillingCycle string // BillingCycleValidator is a validator for the "billing_cycle" field. It is called by the builders before save. BillingCycleValidator func(string) error )
var Columns = []string{ FieldID, FieldTenantID, FieldStatus, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldEnvironmentID, FieldLookupKey, FieldCustomerID, FieldPlanID, FieldSubscriptionStatus, FieldCurrency, FieldBillingAnchor, FieldStartDate, FieldEndDate, FieldCurrentPeriodStart, FieldCurrentPeriodEnd, FieldCancelledAt, FieldCancelAt, FieldCancelAtPeriodEnd, FieldTrialStart, FieldTrialEnd, FieldBillingCadence, FieldBillingPeriod, FieldBillingPeriodCount, FieldVersion, FieldMetadata, FieldPauseStatus, FieldActivePauseID, FieldBillingCycle, }
Columns holds all SQL columns for subscription fields.
Functions ¶
func ActivePauseID ¶
func ActivePauseID(v string) predicate.Subscription
ActivePauseID applies equality check predicate on the "active_pause_id" field. It's identical to ActivePauseIDEQ.
func ActivePauseIDContains ¶
func ActivePauseIDContains(v string) predicate.Subscription
ActivePauseIDContains applies the Contains predicate on the "active_pause_id" field.
func ActivePauseIDContainsFold ¶
func ActivePauseIDContainsFold(v string) predicate.Subscription
ActivePauseIDContainsFold applies the ContainsFold predicate on the "active_pause_id" field.
func ActivePauseIDEQ ¶
func ActivePauseIDEQ(v string) predicate.Subscription
ActivePauseIDEQ applies the EQ predicate on the "active_pause_id" field.
func ActivePauseIDEqualFold ¶
func ActivePauseIDEqualFold(v string) predicate.Subscription
ActivePauseIDEqualFold applies the EqualFold predicate on the "active_pause_id" field.
func ActivePauseIDGT ¶
func ActivePauseIDGT(v string) predicate.Subscription
ActivePauseIDGT applies the GT predicate on the "active_pause_id" field.
func ActivePauseIDGTE ¶
func ActivePauseIDGTE(v string) predicate.Subscription
ActivePauseIDGTE applies the GTE predicate on the "active_pause_id" field.
func ActivePauseIDHasPrefix ¶
func ActivePauseIDHasPrefix(v string) predicate.Subscription
ActivePauseIDHasPrefix applies the HasPrefix predicate on the "active_pause_id" field.
func ActivePauseIDHasSuffix ¶
func ActivePauseIDHasSuffix(v string) predicate.Subscription
ActivePauseIDHasSuffix applies the HasSuffix predicate on the "active_pause_id" field.
func ActivePauseIDIn ¶
func ActivePauseIDIn(vs ...string) predicate.Subscription
ActivePauseIDIn applies the In predicate on the "active_pause_id" field.
func ActivePauseIDIsNil ¶
func ActivePauseIDIsNil() predicate.Subscription
ActivePauseIDIsNil applies the IsNil predicate on the "active_pause_id" field.
func ActivePauseIDLT ¶
func ActivePauseIDLT(v string) predicate.Subscription
ActivePauseIDLT applies the LT predicate on the "active_pause_id" field.
func ActivePauseIDLTE ¶
func ActivePauseIDLTE(v string) predicate.Subscription
ActivePauseIDLTE applies the LTE predicate on the "active_pause_id" field.
func ActivePauseIDNEQ ¶
func ActivePauseIDNEQ(v string) predicate.Subscription
ActivePauseIDNEQ applies the NEQ predicate on the "active_pause_id" field.
func ActivePauseIDNotIn ¶
func ActivePauseIDNotIn(vs ...string) predicate.Subscription
ActivePauseIDNotIn applies the NotIn predicate on the "active_pause_id" field.
func ActivePauseIDNotNil ¶
func ActivePauseIDNotNil() predicate.Subscription
ActivePauseIDNotNil applies the NotNil predicate on the "active_pause_id" field.
func And ¶
func And(predicates ...predicate.Subscription) predicate.Subscription
And groups predicates with the AND operator between them.
func BillingAnchor ¶
func BillingAnchor(v time.Time) predicate.Subscription
BillingAnchor applies equality check predicate on the "billing_anchor" field. It's identical to BillingAnchorEQ.
func BillingAnchorEQ ¶
func BillingAnchorEQ(v time.Time) predicate.Subscription
BillingAnchorEQ applies the EQ predicate on the "billing_anchor" field.
func BillingAnchorGT ¶
func BillingAnchorGT(v time.Time) predicate.Subscription
BillingAnchorGT applies the GT predicate on the "billing_anchor" field.
func BillingAnchorGTE ¶
func BillingAnchorGTE(v time.Time) predicate.Subscription
BillingAnchorGTE applies the GTE predicate on the "billing_anchor" field.
func BillingAnchorIn ¶
func BillingAnchorIn(vs ...time.Time) predicate.Subscription
BillingAnchorIn applies the In predicate on the "billing_anchor" field.
func BillingAnchorLT ¶
func BillingAnchorLT(v time.Time) predicate.Subscription
BillingAnchorLT applies the LT predicate on the "billing_anchor" field.
func BillingAnchorLTE ¶
func BillingAnchorLTE(v time.Time) predicate.Subscription
BillingAnchorLTE applies the LTE predicate on the "billing_anchor" field.
func BillingAnchorNEQ ¶
func BillingAnchorNEQ(v time.Time) predicate.Subscription
BillingAnchorNEQ applies the NEQ predicate on the "billing_anchor" field.
func BillingAnchorNotIn ¶
func BillingAnchorNotIn(vs ...time.Time) predicate.Subscription
BillingAnchorNotIn applies the NotIn predicate on the "billing_anchor" field.
func BillingCadence ¶
func BillingCadence(v string) predicate.Subscription
BillingCadence applies equality check predicate on the "billing_cadence" field. It's identical to BillingCadenceEQ.
func BillingCadenceContains ¶
func BillingCadenceContains(v string) predicate.Subscription
BillingCadenceContains applies the Contains predicate on the "billing_cadence" field.
func BillingCadenceContainsFold ¶
func BillingCadenceContainsFold(v string) predicate.Subscription
BillingCadenceContainsFold applies the ContainsFold predicate on the "billing_cadence" field.
func BillingCadenceEQ ¶
func BillingCadenceEQ(v string) predicate.Subscription
BillingCadenceEQ applies the EQ predicate on the "billing_cadence" field.
func BillingCadenceEqualFold ¶
func BillingCadenceEqualFold(v string) predicate.Subscription
BillingCadenceEqualFold applies the EqualFold predicate on the "billing_cadence" field.
func BillingCadenceGT ¶
func BillingCadenceGT(v string) predicate.Subscription
BillingCadenceGT applies the GT predicate on the "billing_cadence" field.
func BillingCadenceGTE ¶
func BillingCadenceGTE(v string) predicate.Subscription
BillingCadenceGTE applies the GTE predicate on the "billing_cadence" field.
func BillingCadenceHasPrefix ¶
func BillingCadenceHasPrefix(v string) predicate.Subscription
BillingCadenceHasPrefix applies the HasPrefix predicate on the "billing_cadence" field.
func BillingCadenceHasSuffix ¶
func BillingCadenceHasSuffix(v string) predicate.Subscription
BillingCadenceHasSuffix applies the HasSuffix predicate on the "billing_cadence" field.
func BillingCadenceIn ¶
func BillingCadenceIn(vs ...string) predicate.Subscription
BillingCadenceIn applies the In predicate on the "billing_cadence" field.
func BillingCadenceLT ¶
func BillingCadenceLT(v string) predicate.Subscription
BillingCadenceLT applies the LT predicate on the "billing_cadence" field.
func BillingCadenceLTE ¶
func BillingCadenceLTE(v string) predicate.Subscription
BillingCadenceLTE applies the LTE predicate on the "billing_cadence" field.
func BillingCadenceNEQ ¶
func BillingCadenceNEQ(v string) predicate.Subscription
BillingCadenceNEQ applies the NEQ predicate on the "billing_cadence" field.
func BillingCadenceNotIn ¶
func BillingCadenceNotIn(vs ...string) predicate.Subscription
BillingCadenceNotIn applies the NotIn predicate on the "billing_cadence" field.
func BillingCycle ¶ added in v1.0.17
func BillingCycle(v string) predicate.Subscription
BillingCycle applies equality check predicate on the "billing_cycle" field. It's identical to BillingCycleEQ.
func BillingCycleContains ¶ added in v1.0.17
func BillingCycleContains(v string) predicate.Subscription
BillingCycleContains applies the Contains predicate on the "billing_cycle" field.
func BillingCycleContainsFold ¶ added in v1.0.17
func BillingCycleContainsFold(v string) predicate.Subscription
BillingCycleContainsFold applies the ContainsFold predicate on the "billing_cycle" field.
func BillingCycleEQ ¶ added in v1.0.17
func BillingCycleEQ(v string) predicate.Subscription
BillingCycleEQ applies the EQ predicate on the "billing_cycle" field.
func BillingCycleEqualFold ¶ added in v1.0.17
func BillingCycleEqualFold(v string) predicate.Subscription
BillingCycleEqualFold applies the EqualFold predicate on the "billing_cycle" field.
func BillingCycleGT ¶ added in v1.0.17
func BillingCycleGT(v string) predicate.Subscription
BillingCycleGT applies the GT predicate on the "billing_cycle" field.
func BillingCycleGTE ¶ added in v1.0.17
func BillingCycleGTE(v string) predicate.Subscription
BillingCycleGTE applies the GTE predicate on the "billing_cycle" field.
func BillingCycleHasPrefix ¶ added in v1.0.17
func BillingCycleHasPrefix(v string) predicate.Subscription
BillingCycleHasPrefix applies the HasPrefix predicate on the "billing_cycle" field.
func BillingCycleHasSuffix ¶ added in v1.0.17
func BillingCycleHasSuffix(v string) predicate.Subscription
BillingCycleHasSuffix applies the HasSuffix predicate on the "billing_cycle" field.
func BillingCycleIn ¶ added in v1.0.17
func BillingCycleIn(vs ...string) predicate.Subscription
BillingCycleIn applies the In predicate on the "billing_cycle" field.
func BillingCycleLT ¶ added in v1.0.17
func BillingCycleLT(v string) predicate.Subscription
BillingCycleLT applies the LT predicate on the "billing_cycle" field.
func BillingCycleLTE ¶ added in v1.0.17
func BillingCycleLTE(v string) predicate.Subscription
BillingCycleLTE applies the LTE predicate on the "billing_cycle" field.
func BillingCycleNEQ ¶ added in v1.0.17
func BillingCycleNEQ(v string) predicate.Subscription
BillingCycleNEQ applies the NEQ predicate on the "billing_cycle" field.
func BillingCycleNotIn ¶ added in v1.0.17
func BillingCycleNotIn(vs ...string) predicate.Subscription
BillingCycleNotIn applies the NotIn predicate on the "billing_cycle" field.
func BillingPeriod ¶
func BillingPeriod(v string) predicate.Subscription
BillingPeriod applies equality check predicate on the "billing_period" field. It's identical to BillingPeriodEQ.
func BillingPeriodContains ¶
func BillingPeriodContains(v string) predicate.Subscription
BillingPeriodContains applies the Contains predicate on the "billing_period" field.
func BillingPeriodContainsFold ¶
func BillingPeriodContainsFold(v string) predicate.Subscription
BillingPeriodContainsFold applies the ContainsFold predicate on the "billing_period" field.
func BillingPeriodCount ¶
func BillingPeriodCount(v int) predicate.Subscription
BillingPeriodCount applies equality check predicate on the "billing_period_count" field. It's identical to BillingPeriodCountEQ.
func BillingPeriodCountEQ ¶
func BillingPeriodCountEQ(v int) predicate.Subscription
BillingPeriodCountEQ applies the EQ predicate on the "billing_period_count" field.
func BillingPeriodCountGT ¶
func BillingPeriodCountGT(v int) predicate.Subscription
BillingPeriodCountGT applies the GT predicate on the "billing_period_count" field.
func BillingPeriodCountGTE ¶
func BillingPeriodCountGTE(v int) predicate.Subscription
BillingPeriodCountGTE applies the GTE predicate on the "billing_period_count" field.
func BillingPeriodCountIn ¶
func BillingPeriodCountIn(vs ...int) predicate.Subscription
BillingPeriodCountIn applies the In predicate on the "billing_period_count" field.
func BillingPeriodCountLT ¶
func BillingPeriodCountLT(v int) predicate.Subscription
BillingPeriodCountLT applies the LT predicate on the "billing_period_count" field.
func BillingPeriodCountLTE ¶
func BillingPeriodCountLTE(v int) predicate.Subscription
BillingPeriodCountLTE applies the LTE predicate on the "billing_period_count" field.
func BillingPeriodCountNEQ ¶
func BillingPeriodCountNEQ(v int) predicate.Subscription
BillingPeriodCountNEQ applies the NEQ predicate on the "billing_period_count" field.
func BillingPeriodCountNotIn ¶
func BillingPeriodCountNotIn(vs ...int) predicate.Subscription
BillingPeriodCountNotIn applies the NotIn predicate on the "billing_period_count" field.
func BillingPeriodEQ ¶
func BillingPeriodEQ(v string) predicate.Subscription
BillingPeriodEQ applies the EQ predicate on the "billing_period" field.
func BillingPeriodEqualFold ¶
func BillingPeriodEqualFold(v string) predicate.Subscription
BillingPeriodEqualFold applies the EqualFold predicate on the "billing_period" field.
func BillingPeriodGT ¶
func BillingPeriodGT(v string) predicate.Subscription
BillingPeriodGT applies the GT predicate on the "billing_period" field.
func BillingPeriodGTE ¶
func BillingPeriodGTE(v string) predicate.Subscription
BillingPeriodGTE applies the GTE predicate on the "billing_period" field.
func BillingPeriodHasPrefix ¶
func BillingPeriodHasPrefix(v string) predicate.Subscription
BillingPeriodHasPrefix applies the HasPrefix predicate on the "billing_period" field.
func BillingPeriodHasSuffix ¶
func BillingPeriodHasSuffix(v string) predicate.Subscription
BillingPeriodHasSuffix applies the HasSuffix predicate on the "billing_period" field.
func BillingPeriodIn ¶
func BillingPeriodIn(vs ...string) predicate.Subscription
BillingPeriodIn applies the In predicate on the "billing_period" field.
func BillingPeriodLT ¶
func BillingPeriodLT(v string) predicate.Subscription
BillingPeriodLT applies the LT predicate on the "billing_period" field.
func BillingPeriodLTE ¶
func BillingPeriodLTE(v string) predicate.Subscription
BillingPeriodLTE applies the LTE predicate on the "billing_period" field.
func BillingPeriodNEQ ¶
func BillingPeriodNEQ(v string) predicate.Subscription
BillingPeriodNEQ applies the NEQ predicate on the "billing_period" field.
func BillingPeriodNotIn ¶
func BillingPeriodNotIn(vs ...string) predicate.Subscription
BillingPeriodNotIn applies the NotIn predicate on the "billing_period" field.
func CancelAt ¶
func CancelAt(v time.Time) predicate.Subscription
CancelAt applies equality check predicate on the "cancel_at" field. It's identical to CancelAtEQ.
func CancelAtEQ ¶
func CancelAtEQ(v time.Time) predicate.Subscription
CancelAtEQ applies the EQ predicate on the "cancel_at" field.
func CancelAtGT ¶
func CancelAtGT(v time.Time) predicate.Subscription
CancelAtGT applies the GT predicate on the "cancel_at" field.
func CancelAtGTE ¶
func CancelAtGTE(v time.Time) predicate.Subscription
CancelAtGTE applies the GTE predicate on the "cancel_at" field.
func CancelAtIn ¶
func CancelAtIn(vs ...time.Time) predicate.Subscription
CancelAtIn applies the In predicate on the "cancel_at" field.
func CancelAtIsNil ¶
func CancelAtIsNil() predicate.Subscription
CancelAtIsNil applies the IsNil predicate on the "cancel_at" field.
func CancelAtLT ¶
func CancelAtLT(v time.Time) predicate.Subscription
CancelAtLT applies the LT predicate on the "cancel_at" field.
func CancelAtLTE ¶
func CancelAtLTE(v time.Time) predicate.Subscription
CancelAtLTE applies the LTE predicate on the "cancel_at" field.
func CancelAtNEQ ¶
func CancelAtNEQ(v time.Time) predicate.Subscription
CancelAtNEQ applies the NEQ predicate on the "cancel_at" field.
func CancelAtNotIn ¶
func CancelAtNotIn(vs ...time.Time) predicate.Subscription
CancelAtNotIn applies the NotIn predicate on the "cancel_at" field.
func CancelAtNotNil ¶
func CancelAtNotNil() predicate.Subscription
CancelAtNotNil applies the NotNil predicate on the "cancel_at" field.
func CancelAtPeriodEnd ¶
func CancelAtPeriodEnd(v bool) predicate.Subscription
CancelAtPeriodEnd applies equality check predicate on the "cancel_at_period_end" field. It's identical to CancelAtPeriodEndEQ.
func CancelAtPeriodEndEQ ¶
func CancelAtPeriodEndEQ(v bool) predicate.Subscription
CancelAtPeriodEndEQ applies the EQ predicate on the "cancel_at_period_end" field.
func CancelAtPeriodEndNEQ ¶
func CancelAtPeriodEndNEQ(v bool) predicate.Subscription
CancelAtPeriodEndNEQ applies the NEQ predicate on the "cancel_at_period_end" field.
func CancelledAt ¶
func CancelledAt(v time.Time) predicate.Subscription
CancelledAt applies equality check predicate on the "cancelled_at" field. It's identical to CancelledAtEQ.
func CancelledAtEQ ¶
func CancelledAtEQ(v time.Time) predicate.Subscription
CancelledAtEQ applies the EQ predicate on the "cancelled_at" field.
func CancelledAtGT ¶
func CancelledAtGT(v time.Time) predicate.Subscription
CancelledAtGT applies the GT predicate on the "cancelled_at" field.
func CancelledAtGTE ¶
func CancelledAtGTE(v time.Time) predicate.Subscription
CancelledAtGTE applies the GTE predicate on the "cancelled_at" field.
func CancelledAtIn ¶
func CancelledAtIn(vs ...time.Time) predicate.Subscription
CancelledAtIn applies the In predicate on the "cancelled_at" field.
func CancelledAtIsNil ¶
func CancelledAtIsNil() predicate.Subscription
CancelledAtIsNil applies the IsNil predicate on the "cancelled_at" field.
func CancelledAtLT ¶
func CancelledAtLT(v time.Time) predicate.Subscription
CancelledAtLT applies the LT predicate on the "cancelled_at" field.
func CancelledAtLTE ¶
func CancelledAtLTE(v time.Time) predicate.Subscription
CancelledAtLTE applies the LTE predicate on the "cancelled_at" field.
func CancelledAtNEQ ¶
func CancelledAtNEQ(v time.Time) predicate.Subscription
CancelledAtNEQ applies the NEQ predicate on the "cancelled_at" field.
func CancelledAtNotIn ¶
func CancelledAtNotIn(vs ...time.Time) predicate.Subscription
CancelledAtNotIn applies the NotIn predicate on the "cancelled_at" field.
func CancelledAtNotNil ¶
func CancelledAtNotNil() predicate.Subscription
CancelledAtNotNil applies the NotNil predicate on the "cancelled_at" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Subscription
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Subscription
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Subscription
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Subscription
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Subscription
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Subscription
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Subscription
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Subscription
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Subscription
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.Subscription
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.Subscription
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.Subscription
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.Subscription
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.Subscription
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.Subscription
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.Subscription
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.Subscription
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.Subscription
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.Subscription
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.Subscription
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.Subscription
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.Subscription
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.Subscription
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.Subscription
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.Subscription
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func Currency ¶
func Currency(v string) predicate.Subscription
Currency applies equality check predicate on the "currency" field. It's identical to CurrencyEQ.
func CurrencyContains ¶
func CurrencyContains(v string) predicate.Subscription
CurrencyContains applies the Contains predicate on the "currency" field.
func CurrencyContainsFold ¶
func CurrencyContainsFold(v string) predicate.Subscription
CurrencyContainsFold applies the ContainsFold predicate on the "currency" field.
func CurrencyEQ ¶
func CurrencyEQ(v string) predicate.Subscription
CurrencyEQ applies the EQ predicate on the "currency" field.
func CurrencyEqualFold ¶
func CurrencyEqualFold(v string) predicate.Subscription
CurrencyEqualFold applies the EqualFold predicate on the "currency" field.
func CurrencyGT ¶
func CurrencyGT(v string) predicate.Subscription
CurrencyGT applies the GT predicate on the "currency" field.
func CurrencyGTE ¶
func CurrencyGTE(v string) predicate.Subscription
CurrencyGTE applies the GTE predicate on the "currency" field.
func CurrencyHasPrefix ¶
func CurrencyHasPrefix(v string) predicate.Subscription
CurrencyHasPrefix applies the HasPrefix predicate on the "currency" field.
func CurrencyHasSuffix ¶
func CurrencyHasSuffix(v string) predicate.Subscription
CurrencyHasSuffix applies the HasSuffix predicate on the "currency" field.
func CurrencyIn ¶
func CurrencyIn(vs ...string) predicate.Subscription
CurrencyIn applies the In predicate on the "currency" field.
func CurrencyLT ¶
func CurrencyLT(v string) predicate.Subscription
CurrencyLT applies the LT predicate on the "currency" field.
func CurrencyLTE ¶
func CurrencyLTE(v string) predicate.Subscription
CurrencyLTE applies the LTE predicate on the "currency" field.
func CurrencyNEQ ¶
func CurrencyNEQ(v string) predicate.Subscription
CurrencyNEQ applies the NEQ predicate on the "currency" field.
func CurrencyNotIn ¶
func CurrencyNotIn(vs ...string) predicate.Subscription
CurrencyNotIn applies the NotIn predicate on the "currency" field.
func CurrentPeriodEnd ¶
func CurrentPeriodEnd(v time.Time) predicate.Subscription
CurrentPeriodEnd applies equality check predicate on the "current_period_end" field. It's identical to CurrentPeriodEndEQ.
func CurrentPeriodEndEQ ¶
func CurrentPeriodEndEQ(v time.Time) predicate.Subscription
CurrentPeriodEndEQ applies the EQ predicate on the "current_period_end" field.
func CurrentPeriodEndGT ¶
func CurrentPeriodEndGT(v time.Time) predicate.Subscription
CurrentPeriodEndGT applies the GT predicate on the "current_period_end" field.
func CurrentPeriodEndGTE ¶
func CurrentPeriodEndGTE(v time.Time) predicate.Subscription
CurrentPeriodEndGTE applies the GTE predicate on the "current_period_end" field.
func CurrentPeriodEndIn ¶
func CurrentPeriodEndIn(vs ...time.Time) predicate.Subscription
CurrentPeriodEndIn applies the In predicate on the "current_period_end" field.
func CurrentPeriodEndLT ¶
func CurrentPeriodEndLT(v time.Time) predicate.Subscription
CurrentPeriodEndLT applies the LT predicate on the "current_period_end" field.
func CurrentPeriodEndLTE ¶
func CurrentPeriodEndLTE(v time.Time) predicate.Subscription
CurrentPeriodEndLTE applies the LTE predicate on the "current_period_end" field.
func CurrentPeriodEndNEQ ¶
func CurrentPeriodEndNEQ(v time.Time) predicate.Subscription
CurrentPeriodEndNEQ applies the NEQ predicate on the "current_period_end" field.
func CurrentPeriodEndNotIn ¶
func CurrentPeriodEndNotIn(vs ...time.Time) predicate.Subscription
CurrentPeriodEndNotIn applies the NotIn predicate on the "current_period_end" field.
func CurrentPeriodStart ¶
func CurrentPeriodStart(v time.Time) predicate.Subscription
CurrentPeriodStart applies equality check predicate on the "current_period_start" field. It's identical to CurrentPeriodStartEQ.
func CurrentPeriodStartEQ ¶
func CurrentPeriodStartEQ(v time.Time) predicate.Subscription
CurrentPeriodStartEQ applies the EQ predicate on the "current_period_start" field.
func CurrentPeriodStartGT ¶
func CurrentPeriodStartGT(v time.Time) predicate.Subscription
CurrentPeriodStartGT applies the GT predicate on the "current_period_start" field.
func CurrentPeriodStartGTE ¶
func CurrentPeriodStartGTE(v time.Time) predicate.Subscription
CurrentPeriodStartGTE applies the GTE predicate on the "current_period_start" field.
func CurrentPeriodStartIn ¶
func CurrentPeriodStartIn(vs ...time.Time) predicate.Subscription
CurrentPeriodStartIn applies the In predicate on the "current_period_start" field.
func CurrentPeriodStartLT ¶
func CurrentPeriodStartLT(v time.Time) predicate.Subscription
CurrentPeriodStartLT applies the LT predicate on the "current_period_start" field.
func CurrentPeriodStartLTE ¶
func CurrentPeriodStartLTE(v time.Time) predicate.Subscription
CurrentPeriodStartLTE applies the LTE predicate on the "current_period_start" field.
func CurrentPeriodStartNEQ ¶
func CurrentPeriodStartNEQ(v time.Time) predicate.Subscription
CurrentPeriodStartNEQ applies the NEQ predicate on the "current_period_start" field.
func CurrentPeriodStartNotIn ¶
func CurrentPeriodStartNotIn(vs ...time.Time) predicate.Subscription
CurrentPeriodStartNotIn applies the NotIn predicate on the "current_period_start" field.
func CustomerID ¶
func CustomerID(v string) predicate.Subscription
CustomerID applies equality check predicate on the "customer_id" field. It's identical to CustomerIDEQ.
func CustomerIDContains ¶
func CustomerIDContains(v string) predicate.Subscription
CustomerIDContains applies the Contains predicate on the "customer_id" field.
func CustomerIDContainsFold ¶
func CustomerIDContainsFold(v string) predicate.Subscription
CustomerIDContainsFold applies the ContainsFold predicate on the "customer_id" field.
func CustomerIDEQ ¶
func CustomerIDEQ(v string) predicate.Subscription
CustomerIDEQ applies the EQ predicate on the "customer_id" field.
func CustomerIDEqualFold ¶
func CustomerIDEqualFold(v string) predicate.Subscription
CustomerIDEqualFold applies the EqualFold predicate on the "customer_id" field.
func CustomerIDGT ¶
func CustomerIDGT(v string) predicate.Subscription
CustomerIDGT applies the GT predicate on the "customer_id" field.
func CustomerIDGTE ¶
func CustomerIDGTE(v string) predicate.Subscription
CustomerIDGTE applies the GTE predicate on the "customer_id" field.
func CustomerIDHasPrefix ¶
func CustomerIDHasPrefix(v string) predicate.Subscription
CustomerIDHasPrefix applies the HasPrefix predicate on the "customer_id" field.
func CustomerIDHasSuffix ¶
func CustomerIDHasSuffix(v string) predicate.Subscription
CustomerIDHasSuffix applies the HasSuffix predicate on the "customer_id" field.
func CustomerIDIn ¶
func CustomerIDIn(vs ...string) predicate.Subscription
CustomerIDIn applies the In predicate on the "customer_id" field.
func CustomerIDLT ¶
func CustomerIDLT(v string) predicate.Subscription
CustomerIDLT applies the LT predicate on the "customer_id" field.
func CustomerIDLTE ¶
func CustomerIDLTE(v string) predicate.Subscription
CustomerIDLTE applies the LTE predicate on the "customer_id" field.
func CustomerIDNEQ ¶
func CustomerIDNEQ(v string) predicate.Subscription
CustomerIDNEQ applies the NEQ predicate on the "customer_id" field.
func CustomerIDNotIn ¶
func CustomerIDNotIn(vs ...string) predicate.Subscription
CustomerIDNotIn applies the NotIn predicate on the "customer_id" field.
func EndDate ¶
func EndDate(v time.Time) predicate.Subscription
EndDate applies equality check predicate on the "end_date" field. It's identical to EndDateEQ.
func EndDateEQ ¶
func EndDateEQ(v time.Time) predicate.Subscription
EndDateEQ applies the EQ predicate on the "end_date" field.
func EndDateGT ¶
func EndDateGT(v time.Time) predicate.Subscription
EndDateGT applies the GT predicate on the "end_date" field.
func EndDateGTE ¶
func EndDateGTE(v time.Time) predicate.Subscription
EndDateGTE applies the GTE predicate on the "end_date" field.
func EndDateIn ¶
func EndDateIn(vs ...time.Time) predicate.Subscription
EndDateIn applies the In predicate on the "end_date" field.
func EndDateIsNil ¶
func EndDateIsNil() predicate.Subscription
EndDateIsNil applies the IsNil predicate on the "end_date" field.
func EndDateLT ¶
func EndDateLT(v time.Time) predicate.Subscription
EndDateLT applies the LT predicate on the "end_date" field.
func EndDateLTE ¶
func EndDateLTE(v time.Time) predicate.Subscription
EndDateLTE applies the LTE predicate on the "end_date" field.
func EndDateNEQ ¶
func EndDateNEQ(v time.Time) predicate.Subscription
EndDateNEQ applies the NEQ predicate on the "end_date" field.
func EndDateNotIn ¶
func EndDateNotIn(vs ...time.Time) predicate.Subscription
EndDateNotIn applies the NotIn predicate on the "end_date" field.
func EndDateNotNil ¶
func EndDateNotNil() predicate.Subscription
EndDateNotNil applies the NotNil predicate on the "end_date" field.
func EnvironmentID ¶
func EnvironmentID(v string) predicate.Subscription
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDContains ¶
func EnvironmentIDContains(v string) predicate.Subscription
EnvironmentIDContains applies the Contains predicate on the "environment_id" field.
func EnvironmentIDContainsFold ¶
func EnvironmentIDContainsFold(v string) predicate.Subscription
EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.
func EnvironmentIDEQ ¶
func EnvironmentIDEQ(v string) predicate.Subscription
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDEqualFold ¶
func EnvironmentIDEqualFold(v string) predicate.Subscription
EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.
func EnvironmentIDGT ¶
func EnvironmentIDGT(v string) predicate.Subscription
EnvironmentIDGT applies the GT predicate on the "environment_id" field.
func EnvironmentIDGTE ¶
func EnvironmentIDGTE(v string) predicate.Subscription
EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.
func EnvironmentIDHasPrefix ¶
func EnvironmentIDHasPrefix(v string) predicate.Subscription
EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.
func EnvironmentIDHasSuffix ¶
func EnvironmentIDHasSuffix(v string) predicate.Subscription
EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.
func EnvironmentIDIn ¶
func EnvironmentIDIn(vs ...string) predicate.Subscription
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDIsNil ¶
func EnvironmentIDIsNil() predicate.Subscription
EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.
func EnvironmentIDLT ¶
func EnvironmentIDLT(v string) predicate.Subscription
EnvironmentIDLT applies the LT predicate on the "environment_id" field.
func EnvironmentIDLTE ¶
func EnvironmentIDLTE(v string) predicate.Subscription
EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶
func EnvironmentIDNEQ(v string) predicate.Subscription
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶
func EnvironmentIDNotIn(vs ...string) predicate.Subscription
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func EnvironmentIDNotNil ¶
func EnvironmentIDNotNil() predicate.Subscription
EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.
func HasLineItems ¶
func HasLineItems() predicate.Subscription
HasLineItems applies the HasEdge predicate on the "line_items" edge.
func HasLineItemsWith ¶
func HasLineItemsWith(preds ...predicate.SubscriptionLineItem) predicate.Subscription
HasLineItemsWith applies the HasEdge predicate on the "line_items" edge with a given conditions (other predicates).
func HasPauses ¶
func HasPauses() predicate.Subscription
HasPauses applies the HasEdge predicate on the "pauses" edge.
func HasPausesWith ¶
func HasPausesWith(preds ...predicate.SubscriptionPause) predicate.Subscription
HasPausesWith applies the HasEdge predicate on the "pauses" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.Subscription
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.Subscription
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.Subscription
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.Subscription
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.Subscription
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.Subscription
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.Subscription
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.Subscription
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.Subscription
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.Subscription
IDNotIn applies the NotIn predicate on the ID field.
func LookupKey ¶
func LookupKey(v string) predicate.Subscription
LookupKey applies equality check predicate on the "lookup_key" field. It's identical to LookupKeyEQ.
func LookupKeyContains ¶
func LookupKeyContains(v string) predicate.Subscription
LookupKeyContains applies the Contains predicate on the "lookup_key" field.
func LookupKeyContainsFold ¶
func LookupKeyContainsFold(v string) predicate.Subscription
LookupKeyContainsFold applies the ContainsFold predicate on the "lookup_key" field.
func LookupKeyEQ ¶
func LookupKeyEQ(v string) predicate.Subscription
LookupKeyEQ applies the EQ predicate on the "lookup_key" field.
func LookupKeyEqualFold ¶
func LookupKeyEqualFold(v string) predicate.Subscription
LookupKeyEqualFold applies the EqualFold predicate on the "lookup_key" field.
func LookupKeyGT ¶
func LookupKeyGT(v string) predicate.Subscription
LookupKeyGT applies the GT predicate on the "lookup_key" field.
func LookupKeyGTE ¶
func LookupKeyGTE(v string) predicate.Subscription
LookupKeyGTE applies the GTE predicate on the "lookup_key" field.
func LookupKeyHasPrefix ¶
func LookupKeyHasPrefix(v string) predicate.Subscription
LookupKeyHasPrefix applies the HasPrefix predicate on the "lookup_key" field.
func LookupKeyHasSuffix ¶
func LookupKeyHasSuffix(v string) predicate.Subscription
LookupKeyHasSuffix applies the HasSuffix predicate on the "lookup_key" field.
func LookupKeyIn ¶
func LookupKeyIn(vs ...string) predicate.Subscription
LookupKeyIn applies the In predicate on the "lookup_key" field.
func LookupKeyIsNil ¶
func LookupKeyIsNil() predicate.Subscription
LookupKeyIsNil applies the IsNil predicate on the "lookup_key" field.
func LookupKeyLT ¶
func LookupKeyLT(v string) predicate.Subscription
LookupKeyLT applies the LT predicate on the "lookup_key" field.
func LookupKeyLTE ¶
func LookupKeyLTE(v string) predicate.Subscription
LookupKeyLTE applies the LTE predicate on the "lookup_key" field.
func LookupKeyNEQ ¶
func LookupKeyNEQ(v string) predicate.Subscription
LookupKeyNEQ applies the NEQ predicate on the "lookup_key" field.
func LookupKeyNotIn ¶
func LookupKeyNotIn(vs ...string) predicate.Subscription
LookupKeyNotIn applies the NotIn predicate on the "lookup_key" field.
func LookupKeyNotNil ¶
func LookupKeyNotNil() predicate.Subscription
LookupKeyNotNil applies the NotNil predicate on the "lookup_key" field.
func MetadataIsNil ¶
func MetadataIsNil() predicate.Subscription
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
func MetadataNotNil() predicate.Subscription
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Not ¶
func Not(p predicate.Subscription) predicate.Subscription
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Subscription) predicate.Subscription
Or groups predicates with the OR operator between them.
func PauseStatus ¶
func PauseStatus(v string) predicate.Subscription
PauseStatus applies equality check predicate on the "pause_status" field. It's identical to PauseStatusEQ.
func PauseStatusContains ¶
func PauseStatusContains(v string) predicate.Subscription
PauseStatusContains applies the Contains predicate on the "pause_status" field.
func PauseStatusContainsFold ¶
func PauseStatusContainsFold(v string) predicate.Subscription
PauseStatusContainsFold applies the ContainsFold predicate on the "pause_status" field.
func PauseStatusEQ ¶
func PauseStatusEQ(v string) predicate.Subscription
PauseStatusEQ applies the EQ predicate on the "pause_status" field.
func PauseStatusEqualFold ¶
func PauseStatusEqualFold(v string) predicate.Subscription
PauseStatusEqualFold applies the EqualFold predicate on the "pause_status" field.
func PauseStatusGT ¶
func PauseStatusGT(v string) predicate.Subscription
PauseStatusGT applies the GT predicate on the "pause_status" field.
func PauseStatusGTE ¶
func PauseStatusGTE(v string) predicate.Subscription
PauseStatusGTE applies the GTE predicate on the "pause_status" field.
func PauseStatusHasPrefix ¶
func PauseStatusHasPrefix(v string) predicate.Subscription
PauseStatusHasPrefix applies the HasPrefix predicate on the "pause_status" field.
func PauseStatusHasSuffix ¶
func PauseStatusHasSuffix(v string) predicate.Subscription
PauseStatusHasSuffix applies the HasSuffix predicate on the "pause_status" field.
func PauseStatusIn ¶
func PauseStatusIn(vs ...string) predicate.Subscription
PauseStatusIn applies the In predicate on the "pause_status" field.
func PauseStatusLT ¶
func PauseStatusLT(v string) predicate.Subscription
PauseStatusLT applies the LT predicate on the "pause_status" field.
func PauseStatusLTE ¶
func PauseStatusLTE(v string) predicate.Subscription
PauseStatusLTE applies the LTE predicate on the "pause_status" field.
func PauseStatusNEQ ¶
func PauseStatusNEQ(v string) predicate.Subscription
PauseStatusNEQ applies the NEQ predicate on the "pause_status" field.
func PauseStatusNotIn ¶
func PauseStatusNotIn(vs ...string) predicate.Subscription
PauseStatusNotIn applies the NotIn predicate on the "pause_status" field.
func PlanID ¶
func PlanID(v string) predicate.Subscription
PlanID applies equality check predicate on the "plan_id" field. It's identical to PlanIDEQ.
func PlanIDContains ¶
func PlanIDContains(v string) predicate.Subscription
PlanIDContains applies the Contains predicate on the "plan_id" field.
func PlanIDContainsFold ¶
func PlanIDContainsFold(v string) predicate.Subscription
PlanIDContainsFold applies the ContainsFold predicate on the "plan_id" field.
func PlanIDEQ ¶
func PlanIDEQ(v string) predicate.Subscription
PlanIDEQ applies the EQ predicate on the "plan_id" field.
func PlanIDEqualFold ¶
func PlanIDEqualFold(v string) predicate.Subscription
PlanIDEqualFold applies the EqualFold predicate on the "plan_id" field.
func PlanIDGT ¶
func PlanIDGT(v string) predicate.Subscription
PlanIDGT applies the GT predicate on the "plan_id" field.
func PlanIDGTE ¶
func PlanIDGTE(v string) predicate.Subscription
PlanIDGTE applies the GTE predicate on the "plan_id" field.
func PlanIDHasPrefix ¶
func PlanIDHasPrefix(v string) predicate.Subscription
PlanIDHasPrefix applies the HasPrefix predicate on the "plan_id" field.
func PlanIDHasSuffix ¶
func PlanIDHasSuffix(v string) predicate.Subscription
PlanIDHasSuffix applies the HasSuffix predicate on the "plan_id" field.
func PlanIDIn ¶
func PlanIDIn(vs ...string) predicate.Subscription
PlanIDIn applies the In predicate on the "plan_id" field.
func PlanIDLT ¶
func PlanIDLT(v string) predicate.Subscription
PlanIDLT applies the LT predicate on the "plan_id" field.
func PlanIDLTE ¶
func PlanIDLTE(v string) predicate.Subscription
PlanIDLTE applies the LTE predicate on the "plan_id" field.
func PlanIDNEQ ¶
func PlanIDNEQ(v string) predicate.Subscription
PlanIDNEQ applies the NEQ predicate on the "plan_id" field.
func PlanIDNotIn ¶
func PlanIDNotIn(vs ...string) predicate.Subscription
PlanIDNotIn applies the NotIn predicate on the "plan_id" field.
func StartDate ¶
func StartDate(v time.Time) predicate.Subscription
StartDate applies equality check predicate on the "start_date" field. It's identical to StartDateEQ.
func StartDateEQ ¶
func StartDateEQ(v time.Time) predicate.Subscription
StartDateEQ applies the EQ predicate on the "start_date" field.
func StartDateGT ¶
func StartDateGT(v time.Time) predicate.Subscription
StartDateGT applies the GT predicate on the "start_date" field.
func StartDateGTE ¶
func StartDateGTE(v time.Time) predicate.Subscription
StartDateGTE applies the GTE predicate on the "start_date" field.
func StartDateIn ¶
func StartDateIn(vs ...time.Time) predicate.Subscription
StartDateIn applies the In predicate on the "start_date" field.
func StartDateLT ¶
func StartDateLT(v time.Time) predicate.Subscription
StartDateLT applies the LT predicate on the "start_date" field.
func StartDateLTE ¶
func StartDateLTE(v time.Time) predicate.Subscription
StartDateLTE applies the LTE predicate on the "start_date" field.
func StartDateNEQ ¶
func StartDateNEQ(v time.Time) predicate.Subscription
StartDateNEQ applies the NEQ predicate on the "start_date" field.
func StartDateNotIn ¶
func StartDateNotIn(vs ...time.Time) predicate.Subscription
StartDateNotIn applies the NotIn predicate on the "start_date" field.
func Status ¶
func Status(v string) predicate.Subscription
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
func StatusContains(v string) predicate.Subscription
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
func StatusContainsFold(v string) predicate.Subscription
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEQ ¶
func StatusEQ(v string) predicate.Subscription
StatusEQ applies the EQ predicate on the "status" field.
func StatusEqualFold ¶
func StatusEqualFold(v string) predicate.Subscription
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusGT ¶
func StatusGT(v string) predicate.Subscription
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v string) predicate.Subscription
StatusGTE applies the GTE predicate on the "status" field.
func StatusHasPrefix ¶
func StatusHasPrefix(v string) predicate.Subscription
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
func StatusHasSuffix(v string) predicate.Subscription
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...string) predicate.Subscription
StatusIn applies the In predicate on the "status" field.
func StatusLT ¶
func StatusLT(v string) predicate.Subscription
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v string) predicate.Subscription
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v string) predicate.Subscription
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...string) predicate.Subscription
StatusNotIn applies the NotIn predicate on the "status" field.
func SubscriptionStatus ¶
func SubscriptionStatus(v string) predicate.Subscription
SubscriptionStatus applies equality check predicate on the "subscription_status" field. It's identical to SubscriptionStatusEQ.
func SubscriptionStatusContains ¶
func SubscriptionStatusContains(v string) predicate.Subscription
SubscriptionStatusContains applies the Contains predicate on the "subscription_status" field.
func SubscriptionStatusContainsFold ¶
func SubscriptionStatusContainsFold(v string) predicate.Subscription
SubscriptionStatusContainsFold applies the ContainsFold predicate on the "subscription_status" field.
func SubscriptionStatusEQ ¶
func SubscriptionStatusEQ(v string) predicate.Subscription
SubscriptionStatusEQ applies the EQ predicate on the "subscription_status" field.
func SubscriptionStatusEqualFold ¶
func SubscriptionStatusEqualFold(v string) predicate.Subscription
SubscriptionStatusEqualFold applies the EqualFold predicate on the "subscription_status" field.
func SubscriptionStatusGT ¶
func SubscriptionStatusGT(v string) predicate.Subscription
SubscriptionStatusGT applies the GT predicate on the "subscription_status" field.
func SubscriptionStatusGTE ¶
func SubscriptionStatusGTE(v string) predicate.Subscription
SubscriptionStatusGTE applies the GTE predicate on the "subscription_status" field.
func SubscriptionStatusHasPrefix ¶
func SubscriptionStatusHasPrefix(v string) predicate.Subscription
SubscriptionStatusHasPrefix applies the HasPrefix predicate on the "subscription_status" field.
func SubscriptionStatusHasSuffix ¶
func SubscriptionStatusHasSuffix(v string) predicate.Subscription
SubscriptionStatusHasSuffix applies the HasSuffix predicate on the "subscription_status" field.
func SubscriptionStatusIn ¶
func SubscriptionStatusIn(vs ...string) predicate.Subscription
SubscriptionStatusIn applies the In predicate on the "subscription_status" field.
func SubscriptionStatusLT ¶
func SubscriptionStatusLT(v string) predicate.Subscription
SubscriptionStatusLT applies the LT predicate on the "subscription_status" field.
func SubscriptionStatusLTE ¶
func SubscriptionStatusLTE(v string) predicate.Subscription
SubscriptionStatusLTE applies the LTE predicate on the "subscription_status" field.
func SubscriptionStatusNEQ ¶
func SubscriptionStatusNEQ(v string) predicate.Subscription
SubscriptionStatusNEQ applies the NEQ predicate on the "subscription_status" field.
func SubscriptionStatusNotIn ¶
func SubscriptionStatusNotIn(vs ...string) predicate.Subscription
SubscriptionStatusNotIn applies the NotIn predicate on the "subscription_status" field.
func TenantID ¶
func TenantID(v string) predicate.Subscription
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDContains ¶
func TenantIDContains(v string) predicate.Subscription
TenantIDContains applies the Contains predicate on the "tenant_id" field.
func TenantIDContainsFold ¶
func TenantIDContainsFold(v string) predicate.Subscription
TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.
func TenantIDEQ ¶
func TenantIDEQ(v string) predicate.Subscription
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDEqualFold ¶
func TenantIDEqualFold(v string) predicate.Subscription
TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.
func TenantIDGT ¶
func TenantIDGT(v string) predicate.Subscription
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
func TenantIDGTE(v string) predicate.Subscription
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDHasPrefix ¶
func TenantIDHasPrefix(v string) predicate.Subscription
TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.
func TenantIDHasSuffix ¶
func TenantIDHasSuffix(v string) predicate.Subscription
TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.
func TenantIDIn ¶
func TenantIDIn(vs ...string) predicate.Subscription
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
func TenantIDLT(v string) predicate.Subscription
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
func TenantIDLTE(v string) predicate.Subscription
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
func TenantIDNEQ(v string) predicate.Subscription
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
func TenantIDNotIn(vs ...string) predicate.Subscription
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func TrialEnd ¶
func TrialEnd(v time.Time) predicate.Subscription
TrialEnd applies equality check predicate on the "trial_end" field. It's identical to TrialEndEQ.
func TrialEndEQ ¶
func TrialEndEQ(v time.Time) predicate.Subscription
TrialEndEQ applies the EQ predicate on the "trial_end" field.
func TrialEndGT ¶
func TrialEndGT(v time.Time) predicate.Subscription
TrialEndGT applies the GT predicate on the "trial_end" field.
func TrialEndGTE ¶
func TrialEndGTE(v time.Time) predicate.Subscription
TrialEndGTE applies the GTE predicate on the "trial_end" field.
func TrialEndIn ¶
func TrialEndIn(vs ...time.Time) predicate.Subscription
TrialEndIn applies the In predicate on the "trial_end" field.
func TrialEndIsNil ¶
func TrialEndIsNil() predicate.Subscription
TrialEndIsNil applies the IsNil predicate on the "trial_end" field.
func TrialEndLT ¶
func TrialEndLT(v time.Time) predicate.Subscription
TrialEndLT applies the LT predicate on the "trial_end" field.
func TrialEndLTE ¶
func TrialEndLTE(v time.Time) predicate.Subscription
TrialEndLTE applies the LTE predicate on the "trial_end" field.
func TrialEndNEQ ¶
func TrialEndNEQ(v time.Time) predicate.Subscription
TrialEndNEQ applies the NEQ predicate on the "trial_end" field.
func TrialEndNotIn ¶
func TrialEndNotIn(vs ...time.Time) predicate.Subscription
TrialEndNotIn applies the NotIn predicate on the "trial_end" field.
func TrialEndNotNil ¶
func TrialEndNotNil() predicate.Subscription
TrialEndNotNil applies the NotNil predicate on the "trial_end" field.
func TrialStart ¶
func TrialStart(v time.Time) predicate.Subscription
TrialStart applies equality check predicate on the "trial_start" field. It's identical to TrialStartEQ.
func TrialStartEQ ¶
func TrialStartEQ(v time.Time) predicate.Subscription
TrialStartEQ applies the EQ predicate on the "trial_start" field.
func TrialStartGT ¶
func TrialStartGT(v time.Time) predicate.Subscription
TrialStartGT applies the GT predicate on the "trial_start" field.
func TrialStartGTE ¶
func TrialStartGTE(v time.Time) predicate.Subscription
TrialStartGTE applies the GTE predicate on the "trial_start" field.
func TrialStartIn ¶
func TrialStartIn(vs ...time.Time) predicate.Subscription
TrialStartIn applies the In predicate on the "trial_start" field.
func TrialStartIsNil ¶
func TrialStartIsNil() predicate.Subscription
TrialStartIsNil applies the IsNil predicate on the "trial_start" field.
func TrialStartLT ¶
func TrialStartLT(v time.Time) predicate.Subscription
TrialStartLT applies the LT predicate on the "trial_start" field.
func TrialStartLTE ¶
func TrialStartLTE(v time.Time) predicate.Subscription
TrialStartLTE applies the LTE predicate on the "trial_start" field.
func TrialStartNEQ ¶
func TrialStartNEQ(v time.Time) predicate.Subscription
TrialStartNEQ applies the NEQ predicate on the "trial_start" field.
func TrialStartNotIn ¶
func TrialStartNotIn(vs ...time.Time) predicate.Subscription
TrialStartNotIn applies the NotIn predicate on the "trial_start" field.
func TrialStartNotNil ¶
func TrialStartNotNil() predicate.Subscription
TrialStartNotNil applies the NotNil predicate on the "trial_start" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.Subscription
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.Subscription
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.Subscription
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.Subscription
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.Subscription
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.Subscription
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.Subscription
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.Subscription
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.Subscription
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.Subscription
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.Subscription
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.Subscription
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.Subscription
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.Subscription
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.Subscription
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.Subscription
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.Subscription
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.Subscription
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.Subscription
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.Subscription
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.Subscription
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.Subscription
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.Subscription
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.Subscription
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.Subscription
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
func Version(v int) predicate.Subscription
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionEQ ¶
func VersionEQ(v int) predicate.Subscription
VersionEQ applies the EQ predicate on the "version" field.
func VersionGT ¶
func VersionGT(v int) predicate.Subscription
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v int) predicate.Subscription
VersionGTE applies the GTE predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...int) predicate.Subscription
VersionIn applies the In predicate on the "version" field.
func VersionLT ¶
func VersionLT(v int) predicate.Subscription
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v int) predicate.Subscription
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v int) predicate.Subscription
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...int) predicate.Subscription
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Subscription queries.
func ByActivePauseID ¶
func ByActivePauseID(opts ...sql.OrderTermOption) OrderOption
ByActivePauseID orders the results by the active_pause_id field.
func ByBillingAnchor ¶
func ByBillingAnchor(opts ...sql.OrderTermOption) OrderOption
ByBillingAnchor orders the results by the billing_anchor field.
func ByBillingCadence ¶
func ByBillingCadence(opts ...sql.OrderTermOption) OrderOption
ByBillingCadence orders the results by the billing_cadence field.
func ByBillingCycle ¶ added in v1.0.17
func ByBillingCycle(opts ...sql.OrderTermOption) OrderOption
ByBillingCycle orders the results by the billing_cycle field.
func ByBillingPeriod ¶
func ByBillingPeriod(opts ...sql.OrderTermOption) OrderOption
ByBillingPeriod orders the results by the billing_period field.
func ByBillingPeriodCount ¶
func ByBillingPeriodCount(opts ...sql.OrderTermOption) OrderOption
ByBillingPeriodCount orders the results by the billing_period_count field.
func ByCancelAt ¶
func ByCancelAt(opts ...sql.OrderTermOption) OrderOption
ByCancelAt orders the results by the cancel_at field.
func ByCancelAtPeriodEnd ¶
func ByCancelAtPeriodEnd(opts ...sql.OrderTermOption) OrderOption
ByCancelAtPeriodEnd orders the results by the cancel_at_period_end field.
func ByCancelledAt ¶
func ByCancelledAt(opts ...sql.OrderTermOption) OrderOption
ByCancelledAt orders the results by the cancelled_at 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 ByCurrency ¶
func ByCurrency(opts ...sql.OrderTermOption) OrderOption
ByCurrency orders the results by the currency field.
func ByCurrentPeriodEnd ¶
func ByCurrentPeriodEnd(opts ...sql.OrderTermOption) OrderOption
ByCurrentPeriodEnd orders the results by the current_period_end field.
func ByCurrentPeriodStart ¶
func ByCurrentPeriodStart(opts ...sql.OrderTermOption) OrderOption
ByCurrentPeriodStart orders the results by the current_period_start field.
func ByCustomerID ¶
func ByCustomerID(opts ...sql.OrderTermOption) OrderOption
ByCustomerID orders the results by the customer_id field.
func ByEndDate ¶
func ByEndDate(opts ...sql.OrderTermOption) OrderOption
ByEndDate orders the results by the end_date field.
func ByEnvironmentID ¶
func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
ByEnvironmentID orders the results by the environment_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLineItems ¶
func ByLineItems(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByLineItems orders the results by line_items terms.
func ByLineItemsCount ¶
func ByLineItemsCount(opts ...sql.OrderTermOption) OrderOption
ByLineItemsCount orders the results by line_items count.
func ByLookupKey ¶
func ByLookupKey(opts ...sql.OrderTermOption) OrderOption
ByLookupKey orders the results by the lookup_key field.
func ByPauseStatus ¶
func ByPauseStatus(opts ...sql.OrderTermOption) OrderOption
ByPauseStatus orders the results by the pause_status field.
func ByPauses ¶
func ByPauses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPauses orders the results by pauses terms.
func ByPausesCount ¶
func ByPausesCount(opts ...sql.OrderTermOption) OrderOption
ByPausesCount orders the results by pauses count.
func ByPlanID ¶
func ByPlanID(opts ...sql.OrderTermOption) OrderOption
ByPlanID orders the results by the plan_id field.
func ByStartDate ¶
func ByStartDate(opts ...sql.OrderTermOption) OrderOption
ByStartDate orders the results by the start_date field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySubscriptionStatus ¶
func BySubscriptionStatus(opts ...sql.OrderTermOption) OrderOption
BySubscriptionStatus orders the results by the subscription_status field.
func ByTenantID ¶
func ByTenantID(opts ...sql.OrderTermOption) OrderOption
ByTenantID orders the results by the tenant_id field.
func ByTrialEnd ¶
func ByTrialEnd(opts ...sql.OrderTermOption) OrderOption
ByTrialEnd orders the results by the trial_end field.
func ByTrialStart ¶
func ByTrialStart(opts ...sql.OrderTermOption) OrderOption
ByTrialStart orders the results by the trial_start 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.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.