Documentation
¶
Index ¶
- Constants
- Variables
- func ActiveFrom(v time.Time) predicate.SubscriptionPhase
- func ActiveFromEQ(v time.Time) predicate.SubscriptionPhase
- func ActiveFromGT(v time.Time) predicate.SubscriptionPhase
- func ActiveFromGTE(v time.Time) predicate.SubscriptionPhase
- func ActiveFromIn(vs ...time.Time) predicate.SubscriptionPhase
- func ActiveFromLT(v time.Time) predicate.SubscriptionPhase
- func ActiveFromLTE(v time.Time) predicate.SubscriptionPhase
- func ActiveFromNEQ(v time.Time) predicate.SubscriptionPhase
- func ActiveFromNotIn(vs ...time.Time) predicate.SubscriptionPhase
- func And(predicates ...predicate.SubscriptionPhase) predicate.SubscriptionPhase
- func CreatedAt(v time.Time) predicate.SubscriptionPhase
- func CreatedAtEQ(v time.Time) predicate.SubscriptionPhase
- func CreatedAtGT(v time.Time) predicate.SubscriptionPhase
- func CreatedAtGTE(v time.Time) predicate.SubscriptionPhase
- func CreatedAtIn(vs ...time.Time) predicate.SubscriptionPhase
- func CreatedAtLT(v time.Time) predicate.SubscriptionPhase
- func CreatedAtLTE(v time.Time) predicate.SubscriptionPhase
- func CreatedAtNEQ(v time.Time) predicate.SubscriptionPhase
- func CreatedAtNotIn(vs ...time.Time) predicate.SubscriptionPhase
- func DeletedAt(v time.Time) predicate.SubscriptionPhase
- func DeletedAtEQ(v time.Time) predicate.SubscriptionPhase
- func DeletedAtGT(v time.Time) predicate.SubscriptionPhase
- func DeletedAtGTE(v time.Time) predicate.SubscriptionPhase
- func DeletedAtIn(vs ...time.Time) predicate.SubscriptionPhase
- func DeletedAtIsNil() predicate.SubscriptionPhase
- func DeletedAtLT(v time.Time) predicate.SubscriptionPhase
- func DeletedAtLTE(v time.Time) predicate.SubscriptionPhase
- func DeletedAtNEQ(v time.Time) predicate.SubscriptionPhase
- func DeletedAtNotIn(vs ...time.Time) predicate.SubscriptionPhase
- func DeletedAtNotNil() predicate.SubscriptionPhase
- func Description(v string) predicate.SubscriptionPhase
- func DescriptionContains(v string) predicate.SubscriptionPhase
- func DescriptionContainsFold(v string) predicate.SubscriptionPhase
- func DescriptionEQ(v string) predicate.SubscriptionPhase
- func DescriptionEqualFold(v string) predicate.SubscriptionPhase
- func DescriptionGT(v string) predicate.SubscriptionPhase
- func DescriptionGTE(v string) predicate.SubscriptionPhase
- func DescriptionHasPrefix(v string) predicate.SubscriptionPhase
- func DescriptionHasSuffix(v string) predicate.SubscriptionPhase
- func DescriptionIn(vs ...string) predicate.SubscriptionPhase
- func DescriptionIsNil() predicate.SubscriptionPhase
- func DescriptionLT(v string) predicate.SubscriptionPhase
- func DescriptionLTE(v string) predicate.SubscriptionPhase
- func DescriptionNEQ(v string) predicate.SubscriptionPhase
- func DescriptionNotIn(vs ...string) predicate.SubscriptionPhase
- func DescriptionNotNil() predicate.SubscriptionPhase
- func HasBillingLines() predicate.SubscriptionPhase
- func HasBillingLinesWith(preds ...predicate.BillingInvoiceLine) predicate.SubscriptionPhase
- func HasBillingSplitLineGroups() predicate.SubscriptionPhase
- func HasBillingSplitLineGroupsWith(preds ...predicate.BillingInvoiceSplitLineGroup) predicate.SubscriptionPhase
- func HasChargesCreditPurchase() predicate.SubscriptionPhase
- func HasChargesCreditPurchaseWith(preds ...predicate.ChargeCreditPurchase) predicate.SubscriptionPhase
- func HasChargesFlatFee() predicate.SubscriptionPhase
- func HasChargesFlatFeeWith(preds ...predicate.ChargeFlatFee) predicate.SubscriptionPhase
- func HasChargesUsageBased() predicate.SubscriptionPhase
- func HasChargesUsageBasedWith(preds ...predicate.ChargeUsageBased) predicate.SubscriptionPhase
- func HasItems() predicate.SubscriptionPhase
- func HasItemsWith(preds ...predicate.SubscriptionItem) predicate.SubscriptionPhase
- func HasSubscription() predicate.SubscriptionPhase
- func HasSubscriptionWith(preds ...predicate.Subscription) predicate.SubscriptionPhase
- func ID(id string) predicate.SubscriptionPhase
- func IDContainsFold(id string) predicate.SubscriptionPhase
- func IDEQ(id string) predicate.SubscriptionPhase
- func IDEqualFold(id string) predicate.SubscriptionPhase
- func IDGT(id string) predicate.SubscriptionPhase
- func IDGTE(id string) predicate.SubscriptionPhase
- func IDIn(ids ...string) predicate.SubscriptionPhase
- func IDLT(id string) predicate.SubscriptionPhase
- func IDLTE(id string) predicate.SubscriptionPhase
- func IDNEQ(id string) predicate.SubscriptionPhase
- func IDNotIn(ids ...string) predicate.SubscriptionPhase
- func Key(v string) predicate.SubscriptionPhase
- func KeyContains(v string) predicate.SubscriptionPhase
- func KeyContainsFold(v string) predicate.SubscriptionPhase
- func KeyEQ(v string) predicate.SubscriptionPhase
- func KeyEqualFold(v string) predicate.SubscriptionPhase
- func KeyGT(v string) predicate.SubscriptionPhase
- func KeyGTE(v string) predicate.SubscriptionPhase
- func KeyHasPrefix(v string) predicate.SubscriptionPhase
- func KeyHasSuffix(v string) predicate.SubscriptionPhase
- func KeyIn(vs ...string) predicate.SubscriptionPhase
- func KeyLT(v string) predicate.SubscriptionPhase
- func KeyLTE(v string) predicate.SubscriptionPhase
- func KeyNEQ(v string) predicate.SubscriptionPhase
- func KeyNotIn(vs ...string) predicate.SubscriptionPhase
- func MetadataIsNil() predicate.SubscriptionPhase
- func MetadataNotNil() predicate.SubscriptionPhase
- func Name(v string) predicate.SubscriptionPhase
- func NameContains(v string) predicate.SubscriptionPhase
- func NameContainsFold(v string) predicate.SubscriptionPhase
- func NameEQ(v string) predicate.SubscriptionPhase
- func NameEqualFold(v string) predicate.SubscriptionPhase
- func NameGT(v string) predicate.SubscriptionPhase
- func NameGTE(v string) predicate.SubscriptionPhase
- func NameHasPrefix(v string) predicate.SubscriptionPhase
- func NameHasSuffix(v string) predicate.SubscriptionPhase
- func NameIn(vs ...string) predicate.SubscriptionPhase
- func NameLT(v string) predicate.SubscriptionPhase
- func NameLTE(v string) predicate.SubscriptionPhase
- func NameNEQ(v string) predicate.SubscriptionPhase
- func NameNotIn(vs ...string) predicate.SubscriptionPhase
- func Namespace(v string) predicate.SubscriptionPhase
- func NamespaceContains(v string) predicate.SubscriptionPhase
- func NamespaceContainsFold(v string) predicate.SubscriptionPhase
- func NamespaceEQ(v string) predicate.SubscriptionPhase
- func NamespaceEqualFold(v string) predicate.SubscriptionPhase
- func NamespaceGT(v string) predicate.SubscriptionPhase
- func NamespaceGTE(v string) predicate.SubscriptionPhase
- func NamespaceHasPrefix(v string) predicate.SubscriptionPhase
- func NamespaceHasSuffix(v string) predicate.SubscriptionPhase
- func NamespaceIn(vs ...string) predicate.SubscriptionPhase
- func NamespaceLT(v string) predicate.SubscriptionPhase
- func NamespaceLTE(v string) predicate.SubscriptionPhase
- func NamespaceNEQ(v string) predicate.SubscriptionPhase
- func NamespaceNotIn(vs ...string) predicate.SubscriptionPhase
- func Not(p predicate.SubscriptionPhase) predicate.SubscriptionPhase
- func Or(predicates ...predicate.SubscriptionPhase) predicate.SubscriptionPhase
- func SortHint(v uint8) predicate.SubscriptionPhase
- func SortHintEQ(v uint8) predicate.SubscriptionPhase
- func SortHintGT(v uint8) predicate.SubscriptionPhase
- func SortHintGTE(v uint8) predicate.SubscriptionPhase
- func SortHintIn(vs ...uint8) predicate.SubscriptionPhase
- func SortHintIsNil() predicate.SubscriptionPhase
- func SortHintLT(v uint8) predicate.SubscriptionPhase
- func SortHintLTE(v uint8) predicate.SubscriptionPhase
- func SortHintNEQ(v uint8) predicate.SubscriptionPhase
- func SortHintNotIn(vs ...uint8) predicate.SubscriptionPhase
- func SortHintNotNil() predicate.SubscriptionPhase
- func SubscriptionID(v string) predicate.SubscriptionPhase
- func SubscriptionIDContains(v string) predicate.SubscriptionPhase
- func SubscriptionIDContainsFold(v string) predicate.SubscriptionPhase
- func SubscriptionIDEQ(v string) predicate.SubscriptionPhase
- func SubscriptionIDEqualFold(v string) predicate.SubscriptionPhase
- func SubscriptionIDGT(v string) predicate.SubscriptionPhase
- func SubscriptionIDGTE(v string) predicate.SubscriptionPhase
- func SubscriptionIDHasPrefix(v string) predicate.SubscriptionPhase
- func SubscriptionIDHasSuffix(v string) predicate.SubscriptionPhase
- func SubscriptionIDIn(vs ...string) predicate.SubscriptionPhase
- func SubscriptionIDLT(v string) predicate.SubscriptionPhase
- func SubscriptionIDLTE(v string) predicate.SubscriptionPhase
- func SubscriptionIDNEQ(v string) predicate.SubscriptionPhase
- func SubscriptionIDNotIn(vs ...string) predicate.SubscriptionPhase
- func UpdatedAt(v time.Time) predicate.SubscriptionPhase
- func UpdatedAtEQ(v time.Time) predicate.SubscriptionPhase
- func UpdatedAtGT(v time.Time) predicate.SubscriptionPhase
- func UpdatedAtGTE(v time.Time) predicate.SubscriptionPhase
- func UpdatedAtIn(vs ...time.Time) predicate.SubscriptionPhase
- func UpdatedAtLT(v time.Time) predicate.SubscriptionPhase
- func UpdatedAtLTE(v time.Time) predicate.SubscriptionPhase
- func UpdatedAtNEQ(v time.Time) predicate.SubscriptionPhase
- func UpdatedAtNotIn(vs ...time.Time) predicate.SubscriptionPhase
- func ValidColumn(column string) bool
- type OrderOption
- func ByActiveFrom(opts ...sql.OrderTermOption) OrderOption
- func ByBillingLines(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBillingLinesCount(opts ...sql.OrderTermOption) OrderOption
- func ByBillingSplitLineGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBillingSplitLineGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByChargesCreditPurchase(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByChargesCreditPurchaseCount(opts ...sql.OrderTermOption) OrderOption
- func ByChargesFlatFee(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByChargesFlatFeeCount(opts ...sql.OrderTermOption) OrderOption
- func ByChargesUsageBased(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByChargesUsageBasedCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByItems(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByItemsCount(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func BySortHint(opts ...sql.OrderTermOption) OrderOption
- func BySubscriptionField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySubscriptionID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the subscriptionphase type in the database. Label = "subscription_phase" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNamespace holds the string denoting the namespace field in the database. FieldNamespace = "namespace" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldSubscriptionID holds the string denoting the subscription_id field in the database. FieldSubscriptionID = "subscription_id" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldActiveFrom holds the string denoting the active_from field in the database. FieldActiveFrom = "active_from" // FieldSortHint holds the string denoting the sort_hint field in the database. FieldSortHint = "sort_hint" // EdgeSubscription holds the string denoting the subscription edge name in mutations. EdgeSubscription = "subscription" // EdgeItems holds the string denoting the items edge name in mutations. EdgeItems = "items" // EdgeBillingLines holds the string denoting the billing_lines edge name in mutations. EdgeBillingLines = "billing_lines" // EdgeBillingSplitLineGroups holds the string denoting the billing_split_line_groups edge name in mutations. EdgeBillingSplitLineGroups = "billing_split_line_groups" // EdgeChargesUsageBased holds the string denoting the charges_usage_based edge name in mutations. EdgeChargesUsageBased = "charges_usage_based" // EdgeChargesCreditPurchase holds the string denoting the charges_credit_purchase edge name in mutations. EdgeChargesCreditPurchase = "charges_credit_purchase" // EdgeChargesFlatFee holds the string denoting the charges_flat_fee edge name in mutations. EdgeChargesFlatFee = "charges_flat_fee" // Table holds the table name of the subscriptionphase in the database. Table = "subscription_phases" // SubscriptionTable is the table that holds the subscription relation/edge. SubscriptionTable = "subscription_phases" // SubscriptionInverseTable is the table name for the Subscription entity. // It exists in this package in order to avoid circular dependency with the "subscription" package. SubscriptionInverseTable = "subscriptions" // SubscriptionColumn is the table column denoting the subscription relation/edge. SubscriptionColumn = "subscription_id" // ItemsTable is the table that holds the items relation/edge. ItemsTable = "subscription_items" // ItemsInverseTable is the table name for the SubscriptionItem entity. // It exists in this package in order to avoid circular dependency with the "subscriptionitem" package. ItemsInverseTable = "subscription_items" // ItemsColumn is the table column denoting the items relation/edge. ItemsColumn = "phase_id" // BillingLinesTable is the table that holds the billing_lines relation/edge. BillingLinesTable = "billing_invoice_lines" // BillingLinesInverseTable is the table name for the BillingInvoiceLine entity. // It exists in this package in order to avoid circular dependency with the "billinginvoiceline" package. BillingLinesInverseTable = "billing_invoice_lines" // BillingLinesColumn is the table column denoting the billing_lines relation/edge. BillingLinesColumn = "subscription_phase_id" // BillingSplitLineGroupsTable is the table that holds the billing_split_line_groups relation/edge. BillingSplitLineGroupsTable = "billing_invoice_split_line_groups" // BillingSplitLineGroupsInverseTable is the table name for the BillingInvoiceSplitLineGroup entity. // It exists in this package in order to avoid circular dependency with the "billinginvoicesplitlinegroup" package. BillingSplitLineGroupsInverseTable = "billing_invoice_split_line_groups" // BillingSplitLineGroupsColumn is the table column denoting the billing_split_line_groups relation/edge. BillingSplitLineGroupsColumn = "subscription_phase_id" // ChargesUsageBasedTable is the table that holds the charges_usage_based relation/edge. ChargesUsageBasedTable = "charge_usage_based" // ChargesUsageBasedInverseTable is the table name for the ChargeUsageBased entity. // It exists in this package in order to avoid circular dependency with the "chargeusagebased" package. ChargesUsageBasedInverseTable = "charge_usage_based" // ChargesUsageBasedColumn is the table column denoting the charges_usage_based relation/edge. ChargesUsageBasedColumn = "subscription_phase_id" // ChargesCreditPurchaseTable is the table that holds the charges_credit_purchase relation/edge. ChargesCreditPurchaseTable = "charge_credit_purchases" // ChargesCreditPurchaseInverseTable is the table name for the ChargeCreditPurchase entity. // It exists in this package in order to avoid circular dependency with the "chargecreditpurchase" package. ChargesCreditPurchaseInverseTable = "charge_credit_purchases" // ChargesCreditPurchaseColumn is the table column denoting the charges_credit_purchase relation/edge. ChargesCreditPurchaseColumn = "subscription_phase_id" // ChargesFlatFeeTable is the table that holds the charges_flat_fee relation/edge. ChargesFlatFeeTable = "charge_flat_fees" // ChargesFlatFeeInverseTable is the table name for the ChargeFlatFee entity. // It exists in this package in order to avoid circular dependency with the "chargeflatfee" package. ChargesFlatFeeInverseTable = "charge_flat_fees" // ChargesFlatFeeColumn is the table column denoting the charges_flat_fee relation/edge. ChargesFlatFeeColumn = "subscription_phase_id" )
Variables ¶
var ( // NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save. NamespaceValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // SubscriptionIDValidator is a validator for the "subscription_id" field. It is called by the builders before save. SubscriptionIDValidator func(string) error // KeyValidator is a validator for the "key" field. It is called by the builders before save. KeyValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldNamespace, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldMetadata, FieldSubscriptionID, FieldKey, FieldName, FieldDescription, FieldActiveFrom, FieldSortHint, }
Columns holds all SQL columns for subscriptionphase fields.
Functions ¶
func ActiveFrom ¶
func ActiveFrom(v time.Time) predicate.SubscriptionPhase
ActiveFrom applies equality check predicate on the "active_from" field. It's identical to ActiveFromEQ.
func ActiveFromEQ ¶
func ActiveFromEQ(v time.Time) predicate.SubscriptionPhase
ActiveFromEQ applies the EQ predicate on the "active_from" field.
func ActiveFromGT ¶
func ActiveFromGT(v time.Time) predicate.SubscriptionPhase
ActiveFromGT applies the GT predicate on the "active_from" field.
func ActiveFromGTE ¶
func ActiveFromGTE(v time.Time) predicate.SubscriptionPhase
ActiveFromGTE applies the GTE predicate on the "active_from" field.
func ActiveFromIn ¶
func ActiveFromIn(vs ...time.Time) predicate.SubscriptionPhase
ActiveFromIn applies the In predicate on the "active_from" field.
func ActiveFromLT ¶
func ActiveFromLT(v time.Time) predicate.SubscriptionPhase
ActiveFromLT applies the LT predicate on the "active_from" field.
func ActiveFromLTE ¶
func ActiveFromLTE(v time.Time) predicate.SubscriptionPhase
ActiveFromLTE applies the LTE predicate on the "active_from" field.
func ActiveFromNEQ ¶
func ActiveFromNEQ(v time.Time) predicate.SubscriptionPhase
ActiveFromNEQ applies the NEQ predicate on the "active_from" field.
func ActiveFromNotIn ¶
func ActiveFromNotIn(vs ...time.Time) predicate.SubscriptionPhase
ActiveFromNotIn applies the NotIn predicate on the "active_from" field.
func And ¶
func And(predicates ...predicate.SubscriptionPhase) predicate.SubscriptionPhase
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.SubscriptionPhase
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.SubscriptionPhase
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.SubscriptionPhase
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.SubscriptionPhase
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.SubscriptionPhase
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.SubscriptionPhase
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.SubscriptionPhase
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.SubscriptionPhase
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.SubscriptionPhase
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.SubscriptionPhase
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.SubscriptionPhase
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.SubscriptionPhase
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.SubscriptionPhase
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.SubscriptionPhase
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.SubscriptionPhase
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.SubscriptionPhase
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.SubscriptionPhase
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.SubscriptionPhase
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.SubscriptionPhase
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.SubscriptionPhase
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Description ¶
func Description(v string) predicate.SubscriptionPhase
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.SubscriptionPhase
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.SubscriptionPhase
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.SubscriptionPhase
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.SubscriptionPhase
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.SubscriptionPhase
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.SubscriptionPhase
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.SubscriptionPhase
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.SubscriptionPhase
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.SubscriptionPhase
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.SubscriptionPhase
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.SubscriptionPhase
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.SubscriptionPhase
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.SubscriptionPhase
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.SubscriptionPhase
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.SubscriptionPhase
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasBillingLines ¶
func HasBillingLines() predicate.SubscriptionPhase
HasBillingLines applies the HasEdge predicate on the "billing_lines" edge.
func HasBillingLinesWith ¶
func HasBillingLinesWith(preds ...predicate.BillingInvoiceLine) predicate.SubscriptionPhase
HasBillingLinesWith applies the HasEdge predicate on the "billing_lines" edge with a given conditions (other predicates).
func HasBillingSplitLineGroups ¶
func HasBillingSplitLineGroups() predicate.SubscriptionPhase
HasBillingSplitLineGroups applies the HasEdge predicate on the "billing_split_line_groups" edge.
func HasBillingSplitLineGroupsWith ¶
func HasBillingSplitLineGroupsWith(preds ...predicate.BillingInvoiceSplitLineGroup) predicate.SubscriptionPhase
HasBillingSplitLineGroupsWith applies the HasEdge predicate on the "billing_split_line_groups" edge with a given conditions (other predicates).
func HasChargesCreditPurchase ¶
func HasChargesCreditPurchase() predicate.SubscriptionPhase
HasChargesCreditPurchase applies the HasEdge predicate on the "charges_credit_purchase" edge.
func HasChargesCreditPurchaseWith ¶
func HasChargesCreditPurchaseWith(preds ...predicate.ChargeCreditPurchase) predicate.SubscriptionPhase
HasChargesCreditPurchaseWith applies the HasEdge predicate on the "charges_credit_purchase" edge with a given conditions (other predicates).
func HasChargesFlatFee ¶
func HasChargesFlatFee() predicate.SubscriptionPhase
HasChargesFlatFee applies the HasEdge predicate on the "charges_flat_fee" edge.
func HasChargesFlatFeeWith ¶
func HasChargesFlatFeeWith(preds ...predicate.ChargeFlatFee) predicate.SubscriptionPhase
HasChargesFlatFeeWith applies the HasEdge predicate on the "charges_flat_fee" edge with a given conditions (other predicates).
func HasChargesUsageBased ¶
func HasChargesUsageBased() predicate.SubscriptionPhase
HasChargesUsageBased applies the HasEdge predicate on the "charges_usage_based" edge.
func HasChargesUsageBasedWith ¶
func HasChargesUsageBasedWith(preds ...predicate.ChargeUsageBased) predicate.SubscriptionPhase
HasChargesUsageBasedWith applies the HasEdge predicate on the "charges_usage_based" edge with a given conditions (other predicates).
func HasItems ¶
func HasItems() predicate.SubscriptionPhase
HasItems applies the HasEdge predicate on the "items" edge.
func HasItemsWith ¶
func HasItemsWith(preds ...predicate.SubscriptionItem) predicate.SubscriptionPhase
HasItemsWith applies the HasEdge predicate on the "items" edge with a given conditions (other predicates).
func HasSubscription ¶
func HasSubscription() predicate.SubscriptionPhase
HasSubscription applies the HasEdge predicate on the "subscription" edge.
func HasSubscriptionWith ¶
func HasSubscriptionWith(preds ...predicate.Subscription) predicate.SubscriptionPhase
HasSubscriptionWith applies the HasEdge predicate on the "subscription" edge with a given conditions (other predicates).
func ID ¶
func ID(id string) predicate.SubscriptionPhase
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.SubscriptionPhase
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.SubscriptionPhase
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.SubscriptionPhase
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.SubscriptionPhase
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.SubscriptionPhase
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.SubscriptionPhase
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.SubscriptionPhase
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.SubscriptionPhase
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.SubscriptionPhase
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.SubscriptionPhase
IDNotIn applies the NotIn predicate on the ID field.
func Key ¶
func Key(v string) predicate.SubscriptionPhase
Key applies equality check predicate on the "key" field. It's identical to KeyEQ.
func KeyContains ¶
func KeyContains(v string) predicate.SubscriptionPhase
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
func KeyContainsFold(v string) predicate.SubscriptionPhase
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEQ ¶
func KeyEQ(v string) predicate.SubscriptionPhase
KeyEQ applies the EQ predicate on the "key" field.
func KeyEqualFold ¶
func KeyEqualFold(v string) predicate.SubscriptionPhase
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyGT ¶
func KeyGT(v string) predicate.SubscriptionPhase
KeyGT applies the GT predicate on the "key" field.
func KeyGTE ¶
func KeyGTE(v string) predicate.SubscriptionPhase
KeyGTE applies the GTE predicate on the "key" field.
func KeyHasPrefix ¶
func KeyHasPrefix(v string) predicate.SubscriptionPhase
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
func KeyHasSuffix(v string) predicate.SubscriptionPhase
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func KeyIn ¶
func KeyIn(vs ...string) predicate.SubscriptionPhase
KeyIn applies the In predicate on the "key" field.
func KeyLT ¶
func KeyLT(v string) predicate.SubscriptionPhase
KeyLT applies the LT predicate on the "key" field.
func KeyLTE ¶
func KeyLTE(v string) predicate.SubscriptionPhase
KeyLTE applies the LTE predicate on the "key" field.
func KeyNEQ ¶
func KeyNEQ(v string) predicate.SubscriptionPhase
KeyNEQ applies the NEQ predicate on the "key" field.
func KeyNotIn ¶
func KeyNotIn(vs ...string) predicate.SubscriptionPhase
KeyNotIn applies the NotIn predicate on the "key" field.
func MetadataIsNil ¶
func MetadataIsNil() predicate.SubscriptionPhase
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
func MetadataNotNil() predicate.SubscriptionPhase
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Name ¶
func Name(v string) predicate.SubscriptionPhase
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.SubscriptionPhase
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.SubscriptionPhase
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.SubscriptionPhase
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.SubscriptionPhase
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.SubscriptionPhase
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.SubscriptionPhase
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.SubscriptionPhase
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.SubscriptionPhase
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.SubscriptionPhase
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.SubscriptionPhase
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.SubscriptionPhase
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.SubscriptionPhase
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.SubscriptionPhase
NameNotIn applies the NotIn predicate on the "name" field.
func Namespace ¶
func Namespace(v string) predicate.SubscriptionPhase
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.SubscriptionPhase
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.SubscriptionPhase
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.SubscriptionPhase
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.SubscriptionPhase
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.SubscriptionPhase
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.SubscriptionPhase
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.SubscriptionPhase
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.SubscriptionPhase
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.SubscriptionPhase
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.SubscriptionPhase
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.SubscriptionPhase
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.SubscriptionPhase
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.SubscriptionPhase
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Not ¶
func Not(p predicate.SubscriptionPhase) predicate.SubscriptionPhase
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SubscriptionPhase) predicate.SubscriptionPhase
Or groups predicates with the OR operator between them.
func SortHint ¶
func SortHint(v uint8) predicate.SubscriptionPhase
SortHint applies equality check predicate on the "sort_hint" field. It's identical to SortHintEQ.
func SortHintEQ ¶
func SortHintEQ(v uint8) predicate.SubscriptionPhase
SortHintEQ applies the EQ predicate on the "sort_hint" field.
func SortHintGT ¶
func SortHintGT(v uint8) predicate.SubscriptionPhase
SortHintGT applies the GT predicate on the "sort_hint" field.
func SortHintGTE ¶
func SortHintGTE(v uint8) predicate.SubscriptionPhase
SortHintGTE applies the GTE predicate on the "sort_hint" field.
func SortHintIn ¶
func SortHintIn(vs ...uint8) predicate.SubscriptionPhase
SortHintIn applies the In predicate on the "sort_hint" field.
func SortHintIsNil ¶
func SortHintIsNil() predicate.SubscriptionPhase
SortHintIsNil applies the IsNil predicate on the "sort_hint" field.
func SortHintLT ¶
func SortHintLT(v uint8) predicate.SubscriptionPhase
SortHintLT applies the LT predicate on the "sort_hint" field.
func SortHintLTE ¶
func SortHintLTE(v uint8) predicate.SubscriptionPhase
SortHintLTE applies the LTE predicate on the "sort_hint" field.
func SortHintNEQ ¶
func SortHintNEQ(v uint8) predicate.SubscriptionPhase
SortHintNEQ applies the NEQ predicate on the "sort_hint" field.
func SortHintNotIn ¶
func SortHintNotIn(vs ...uint8) predicate.SubscriptionPhase
SortHintNotIn applies the NotIn predicate on the "sort_hint" field.
func SortHintNotNil ¶
func SortHintNotNil() predicate.SubscriptionPhase
SortHintNotNil applies the NotNil predicate on the "sort_hint" field.
func SubscriptionID ¶
func SubscriptionID(v string) predicate.SubscriptionPhase
SubscriptionID applies equality check predicate on the "subscription_id" field. It's identical to SubscriptionIDEQ.
func SubscriptionIDContains ¶
func SubscriptionIDContains(v string) predicate.SubscriptionPhase
SubscriptionIDContains applies the Contains predicate on the "subscription_id" field.
func SubscriptionIDContainsFold ¶
func SubscriptionIDContainsFold(v string) predicate.SubscriptionPhase
SubscriptionIDContainsFold applies the ContainsFold predicate on the "subscription_id" field.
func SubscriptionIDEQ ¶
func SubscriptionIDEQ(v string) predicate.SubscriptionPhase
SubscriptionIDEQ applies the EQ predicate on the "subscription_id" field.
func SubscriptionIDEqualFold ¶
func SubscriptionIDEqualFold(v string) predicate.SubscriptionPhase
SubscriptionIDEqualFold applies the EqualFold predicate on the "subscription_id" field.
func SubscriptionIDGT ¶
func SubscriptionIDGT(v string) predicate.SubscriptionPhase
SubscriptionIDGT applies the GT predicate on the "subscription_id" field.
func SubscriptionIDGTE ¶
func SubscriptionIDGTE(v string) predicate.SubscriptionPhase
SubscriptionIDGTE applies the GTE predicate on the "subscription_id" field.
func SubscriptionIDHasPrefix ¶
func SubscriptionIDHasPrefix(v string) predicate.SubscriptionPhase
SubscriptionIDHasPrefix applies the HasPrefix predicate on the "subscription_id" field.
func SubscriptionIDHasSuffix ¶
func SubscriptionIDHasSuffix(v string) predicate.SubscriptionPhase
SubscriptionIDHasSuffix applies the HasSuffix predicate on the "subscription_id" field.
func SubscriptionIDIn ¶
func SubscriptionIDIn(vs ...string) predicate.SubscriptionPhase
SubscriptionIDIn applies the In predicate on the "subscription_id" field.
func SubscriptionIDLT ¶
func SubscriptionIDLT(v string) predicate.SubscriptionPhase
SubscriptionIDLT applies the LT predicate on the "subscription_id" field.
func SubscriptionIDLTE ¶
func SubscriptionIDLTE(v string) predicate.SubscriptionPhase
SubscriptionIDLTE applies the LTE predicate on the "subscription_id" field.
func SubscriptionIDNEQ ¶
func SubscriptionIDNEQ(v string) predicate.SubscriptionPhase
SubscriptionIDNEQ applies the NEQ predicate on the "subscription_id" field.
func SubscriptionIDNotIn ¶
func SubscriptionIDNotIn(vs ...string) predicate.SubscriptionPhase
SubscriptionIDNotIn applies the NotIn predicate on the "subscription_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.SubscriptionPhase
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.SubscriptionPhase
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.SubscriptionPhase
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.SubscriptionPhase
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.SubscriptionPhase
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.SubscriptionPhase
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.SubscriptionPhase
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.SubscriptionPhase
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.SubscriptionPhase
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the SubscriptionPhase queries.
func ByActiveFrom ¶
func ByActiveFrom(opts ...sql.OrderTermOption) OrderOption
ByActiveFrom orders the results by the active_from field.
func ByBillingLines ¶
func ByBillingLines(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBillingLines orders the results by billing_lines terms.
func ByBillingLinesCount ¶
func ByBillingLinesCount(opts ...sql.OrderTermOption) OrderOption
ByBillingLinesCount orders the results by billing_lines count.
func ByBillingSplitLineGroups ¶
func ByBillingSplitLineGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBillingSplitLineGroups orders the results by billing_split_line_groups terms.
func ByBillingSplitLineGroupsCount ¶
func ByBillingSplitLineGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByBillingSplitLineGroupsCount orders the results by billing_split_line_groups count.
func ByChargesCreditPurchase ¶
func ByChargesCreditPurchase(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByChargesCreditPurchase orders the results by charges_credit_purchase terms.
func ByChargesCreditPurchaseCount ¶
func ByChargesCreditPurchaseCount(opts ...sql.OrderTermOption) OrderOption
ByChargesCreditPurchaseCount orders the results by charges_credit_purchase count.
func ByChargesFlatFee ¶
func ByChargesFlatFee(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByChargesFlatFee orders the results by charges_flat_fee terms.
func ByChargesFlatFeeCount ¶
func ByChargesFlatFeeCount(opts ...sql.OrderTermOption) OrderOption
ByChargesFlatFeeCount orders the results by charges_flat_fee count.
func ByChargesUsageBased ¶
func ByChargesUsageBased(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByChargesUsageBased orders the results by charges_usage_based terms.
func ByChargesUsageBasedCount ¶
func ByChargesUsageBasedCount(opts ...sql.OrderTermOption) OrderOption
ByChargesUsageBasedCount orders the results by charges_usage_based count.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByItems ¶
func ByItems(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByItems orders the results by items terms.
func ByItemsCount ¶
func ByItemsCount(opts ...sql.OrderTermOption) OrderOption
ByItemsCount orders the results by items count.
func ByKey ¶
func ByKey(opts ...sql.OrderTermOption) OrderOption
ByKey orders the results by the key field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByNamespace ¶
func ByNamespace(opts ...sql.OrderTermOption) OrderOption
ByNamespace orders the results by the namespace field.
func BySortHint ¶
func BySortHint(opts ...sql.OrderTermOption) OrderOption
BySortHint orders the results by the sort_hint field.
func BySubscriptionField ¶
func BySubscriptionField(field string, opts ...sql.OrderTermOption) OrderOption
BySubscriptionField orders the results by subscription field.
func BySubscriptionID ¶
func BySubscriptionID(opts ...sql.OrderTermOption) OrderOption
BySubscriptionID orders the results by the subscription_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.