Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AppStripeCustomer) predicate.AppStripeCustomer
- func AppID(v string) predicate.AppStripeCustomer
- func AppIDContains(v string) predicate.AppStripeCustomer
- func AppIDContainsFold(v string) predicate.AppStripeCustomer
- func AppIDEQ(v string) predicate.AppStripeCustomer
- func AppIDEqualFold(v string) predicate.AppStripeCustomer
- func AppIDGT(v string) predicate.AppStripeCustomer
- func AppIDGTE(v string) predicate.AppStripeCustomer
- func AppIDHasPrefix(v string) predicate.AppStripeCustomer
- func AppIDHasSuffix(v string) predicate.AppStripeCustomer
- func AppIDIn(vs ...string) predicate.AppStripeCustomer
- func AppIDLT(v string) predicate.AppStripeCustomer
- func AppIDLTE(v string) predicate.AppStripeCustomer
- func AppIDNEQ(v string) predicate.AppStripeCustomer
- func AppIDNotIn(vs ...string) predicate.AppStripeCustomer
- func CreatedAt(v time.Time) predicate.AppStripeCustomer
- func CreatedAtEQ(v time.Time) predicate.AppStripeCustomer
- func CreatedAtGT(v time.Time) predicate.AppStripeCustomer
- func CreatedAtGTE(v time.Time) predicate.AppStripeCustomer
- func CreatedAtIn(vs ...time.Time) predicate.AppStripeCustomer
- func CreatedAtLT(v time.Time) predicate.AppStripeCustomer
- func CreatedAtLTE(v time.Time) predicate.AppStripeCustomer
- func CreatedAtNEQ(v time.Time) predicate.AppStripeCustomer
- func CreatedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer
- func CustomerID(v string) predicate.AppStripeCustomer
- func CustomerIDContains(v string) predicate.AppStripeCustomer
- func CustomerIDContainsFold(v string) predicate.AppStripeCustomer
- func CustomerIDEQ(v string) predicate.AppStripeCustomer
- func CustomerIDEqualFold(v string) predicate.AppStripeCustomer
- func CustomerIDGT(v string) predicate.AppStripeCustomer
- func CustomerIDGTE(v string) predicate.AppStripeCustomer
- func CustomerIDHasPrefix(v string) predicate.AppStripeCustomer
- func CustomerIDHasSuffix(v string) predicate.AppStripeCustomer
- func CustomerIDIn(vs ...string) predicate.AppStripeCustomer
- func CustomerIDLT(v string) predicate.AppStripeCustomer
- func CustomerIDLTE(v string) predicate.AppStripeCustomer
- func CustomerIDNEQ(v string) predicate.AppStripeCustomer
- func CustomerIDNotIn(vs ...string) predicate.AppStripeCustomer
- func DeletedAt(v time.Time) predicate.AppStripeCustomer
- func DeletedAtEQ(v time.Time) predicate.AppStripeCustomer
- func DeletedAtGT(v time.Time) predicate.AppStripeCustomer
- func DeletedAtGTE(v time.Time) predicate.AppStripeCustomer
- func DeletedAtIn(vs ...time.Time) predicate.AppStripeCustomer
- func DeletedAtIsNil() predicate.AppStripeCustomer
- func DeletedAtLT(v time.Time) predicate.AppStripeCustomer
- func DeletedAtLTE(v time.Time) predicate.AppStripeCustomer
- func DeletedAtNEQ(v time.Time) predicate.AppStripeCustomer
- func DeletedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer
- func DeletedAtNotNil() predicate.AppStripeCustomer
- func HasCustomer() predicate.AppStripeCustomer
- func HasCustomerWith(preds ...predicate.Customer) predicate.AppStripeCustomer
- func HasStripeApp() predicate.AppStripeCustomer
- func HasStripeAppWith(preds ...predicate.AppStripe) predicate.AppStripeCustomer
- func ID(id int) predicate.AppStripeCustomer
- func IDEQ(id int) predicate.AppStripeCustomer
- func IDGT(id int) predicate.AppStripeCustomer
- func IDGTE(id int) predicate.AppStripeCustomer
- func IDIn(ids ...int) predicate.AppStripeCustomer
- func IDLT(id int) predicate.AppStripeCustomer
- func IDLTE(id int) predicate.AppStripeCustomer
- func IDNEQ(id int) predicate.AppStripeCustomer
- func IDNotIn(ids ...int) predicate.AppStripeCustomer
- func Namespace(v string) predicate.AppStripeCustomer
- func NamespaceContains(v string) predicate.AppStripeCustomer
- func NamespaceContainsFold(v string) predicate.AppStripeCustomer
- func NamespaceEQ(v string) predicate.AppStripeCustomer
- func NamespaceEqualFold(v string) predicate.AppStripeCustomer
- func NamespaceGT(v string) predicate.AppStripeCustomer
- func NamespaceGTE(v string) predicate.AppStripeCustomer
- func NamespaceHasPrefix(v string) predicate.AppStripeCustomer
- func NamespaceHasSuffix(v string) predicate.AppStripeCustomer
- func NamespaceIn(vs ...string) predicate.AppStripeCustomer
- func NamespaceLT(v string) predicate.AppStripeCustomer
- func NamespaceLTE(v string) predicate.AppStripeCustomer
- func NamespaceNEQ(v string) predicate.AppStripeCustomer
- func NamespaceNotIn(vs ...string) predicate.AppStripeCustomer
- func Not(p predicate.AppStripeCustomer) predicate.AppStripeCustomer
- func Or(predicates ...predicate.AppStripeCustomer) predicate.AppStripeCustomer
- func StripeCustomerID(v string) predicate.AppStripeCustomer
- func StripeCustomerIDContains(v string) predicate.AppStripeCustomer
- func StripeCustomerIDContainsFold(v string) predicate.AppStripeCustomer
- func StripeCustomerIDEQ(v string) predicate.AppStripeCustomer
- func StripeCustomerIDEqualFold(v string) predicate.AppStripeCustomer
- func StripeCustomerIDGT(v string) predicate.AppStripeCustomer
- func StripeCustomerIDGTE(v string) predicate.AppStripeCustomer
- func StripeCustomerIDHasPrefix(v string) predicate.AppStripeCustomer
- func StripeCustomerIDHasSuffix(v string) predicate.AppStripeCustomer
- func StripeCustomerIDIn(vs ...string) predicate.AppStripeCustomer
- func StripeCustomerIDLT(v string) predicate.AppStripeCustomer
- func StripeCustomerIDLTE(v string) predicate.AppStripeCustomer
- func StripeCustomerIDNEQ(v string) predicate.AppStripeCustomer
- func StripeCustomerIDNotIn(vs ...string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodID(v string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDContains(v string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDContainsFold(v string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDEQ(v string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDEqualFold(v string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDGT(v string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDGTE(v string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDHasPrefix(v string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDHasSuffix(v string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDIn(vs ...string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDIsNil() predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDLT(v string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDLTE(v string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDNEQ(v string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDNotIn(vs ...string) predicate.AppStripeCustomer
- func StripeDefaultPaymentMethodIDNotNil() predicate.AppStripeCustomer
- func UpdatedAt(v time.Time) predicate.AppStripeCustomer
- func UpdatedAtEQ(v time.Time) predicate.AppStripeCustomer
- func UpdatedAtGT(v time.Time) predicate.AppStripeCustomer
- func UpdatedAtGTE(v time.Time) predicate.AppStripeCustomer
- func UpdatedAtIn(vs ...time.Time) predicate.AppStripeCustomer
- func UpdatedAtLT(v time.Time) predicate.AppStripeCustomer
- func UpdatedAtLTE(v time.Time) predicate.AppStripeCustomer
- func UpdatedAtNEQ(v time.Time) predicate.AppStripeCustomer
- func UpdatedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer
- func ValidColumn(column string) bool
- type OrderOption
- func ByAppID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCustomerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCustomerID(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByStripeAppField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByStripeCustomerID(opts ...sql.OrderTermOption) OrderOption
- func ByStripeDefaultPaymentMethodID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the appstripecustomer type in the database. Label = "app_stripe_customer" // 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" // FieldAppID holds the string denoting the app_id field in the database. FieldAppID = "app_id" // FieldCustomerID holds the string denoting the customer_id field in the database. FieldCustomerID = "customer_id" // FieldStripeCustomerID holds the string denoting the stripe_customer_id field in the database. FieldStripeCustomerID = "stripe_customer_id" // FieldStripeDefaultPaymentMethodID holds the string denoting the stripe_default_payment_method_id field in the database. FieldStripeDefaultPaymentMethodID = "stripe_default_payment_method_id" // EdgeStripeApp holds the string denoting the stripe_app edge name in mutations. EdgeStripeApp = "stripe_app" // EdgeCustomer holds the string denoting the customer edge name in mutations. EdgeCustomer = "customer" // Table holds the table name of the appstripecustomer in the database. Table = "app_stripe_customers" // StripeAppTable is the table that holds the stripe_app relation/edge. StripeAppTable = "app_stripe_customers" // StripeAppInverseTable is the table name for the AppStripe entity. // It exists in this package in order to avoid circular dependency with the "appstripe" package. StripeAppInverseTable = "app_stripes" // StripeAppColumn is the table column denoting the stripe_app relation/edge. StripeAppColumn = "app_id" // CustomerTable is the table that holds the customer relation/edge. CustomerTable = "app_stripe_customers" // CustomerInverseTable is the table name for the Customer entity. // It exists in this package in order to avoid circular dependency with the "customer" package. CustomerInverseTable = "customers" // CustomerColumn is the table column denoting the customer relation/edge. CustomerColumn = "customer_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 // AppIDValidator is a validator for the "app_id" field. It is called by the builders before save. AppIDValidator func(string) error // CustomerIDValidator is a validator for the "customer_id" field. It is called by the builders before save. CustomerIDValidator func(string) error // StripeCustomerIDValidator is a validator for the "stripe_customer_id" field. It is called by the builders before save. StripeCustomerIDValidator func(string) error )
var Columns = []string{ FieldID, FieldNamespace, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldAppID, FieldCustomerID, FieldStripeCustomerID, FieldStripeDefaultPaymentMethodID, }
Columns holds all SQL columns for appstripecustomer fields.
Functions ¶
func And ¶
func And(predicates ...predicate.AppStripeCustomer) predicate.AppStripeCustomer
And groups predicates with the AND operator between them.
func AppID ¶
func AppID(v string) predicate.AppStripeCustomer
AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
func AppIDContains ¶
func AppIDContains(v string) predicate.AppStripeCustomer
AppIDContains applies the Contains predicate on the "app_id" field.
func AppIDContainsFold ¶
func AppIDContainsFold(v string) predicate.AppStripeCustomer
AppIDContainsFold applies the ContainsFold predicate on the "app_id" field.
func AppIDEQ ¶
func AppIDEQ(v string) predicate.AppStripeCustomer
AppIDEQ applies the EQ predicate on the "app_id" field.
func AppIDEqualFold ¶
func AppIDEqualFold(v string) predicate.AppStripeCustomer
AppIDEqualFold applies the EqualFold predicate on the "app_id" field.
func AppIDGT ¶
func AppIDGT(v string) predicate.AppStripeCustomer
AppIDGT applies the GT predicate on the "app_id" field.
func AppIDGTE ¶
func AppIDGTE(v string) predicate.AppStripeCustomer
AppIDGTE applies the GTE predicate on the "app_id" field.
func AppIDHasPrefix ¶
func AppIDHasPrefix(v string) predicate.AppStripeCustomer
AppIDHasPrefix applies the HasPrefix predicate on the "app_id" field.
func AppIDHasSuffix ¶
func AppIDHasSuffix(v string) predicate.AppStripeCustomer
AppIDHasSuffix applies the HasSuffix predicate on the "app_id" field.
func AppIDIn ¶
func AppIDIn(vs ...string) predicate.AppStripeCustomer
AppIDIn applies the In predicate on the "app_id" field.
func AppIDLT ¶
func AppIDLT(v string) predicate.AppStripeCustomer
AppIDLT applies the LT predicate on the "app_id" field.
func AppIDLTE ¶
func AppIDLTE(v string) predicate.AppStripeCustomer
AppIDLTE applies the LTE predicate on the "app_id" field.
func AppIDNEQ ¶
func AppIDNEQ(v string) predicate.AppStripeCustomer
AppIDNEQ applies the NEQ predicate on the "app_id" field.
func AppIDNotIn ¶
func AppIDNotIn(vs ...string) predicate.AppStripeCustomer
AppIDNotIn applies the NotIn predicate on the "app_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.AppStripeCustomer
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.AppStripeCustomer
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.AppStripeCustomer
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.AppStripeCustomer
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.AppStripeCustomer
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.AppStripeCustomer
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.AppStripeCustomer
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.AppStripeCustomer
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CustomerID ¶
func CustomerID(v string) predicate.AppStripeCustomer
CustomerID applies equality check predicate on the "customer_id" field. It's identical to CustomerIDEQ.
func CustomerIDContains ¶
func CustomerIDContains(v string) predicate.AppStripeCustomer
CustomerIDContains applies the Contains predicate on the "customer_id" field.
func CustomerIDContainsFold ¶
func CustomerIDContainsFold(v string) predicate.AppStripeCustomer
CustomerIDContainsFold applies the ContainsFold predicate on the "customer_id" field.
func CustomerIDEQ ¶
func CustomerIDEQ(v string) predicate.AppStripeCustomer
CustomerIDEQ applies the EQ predicate on the "customer_id" field.
func CustomerIDEqualFold ¶
func CustomerIDEqualFold(v string) predicate.AppStripeCustomer
CustomerIDEqualFold applies the EqualFold predicate on the "customer_id" field.
func CustomerIDGT ¶
func CustomerIDGT(v string) predicate.AppStripeCustomer
CustomerIDGT applies the GT predicate on the "customer_id" field.
func CustomerIDGTE ¶
func CustomerIDGTE(v string) predicate.AppStripeCustomer
CustomerIDGTE applies the GTE predicate on the "customer_id" field.
func CustomerIDHasPrefix ¶
func CustomerIDHasPrefix(v string) predicate.AppStripeCustomer
CustomerIDHasPrefix applies the HasPrefix predicate on the "customer_id" field.
func CustomerIDHasSuffix ¶
func CustomerIDHasSuffix(v string) predicate.AppStripeCustomer
CustomerIDHasSuffix applies the HasSuffix predicate on the "customer_id" field.
func CustomerIDIn ¶
func CustomerIDIn(vs ...string) predicate.AppStripeCustomer
CustomerIDIn applies the In predicate on the "customer_id" field.
func CustomerIDLT ¶
func CustomerIDLT(v string) predicate.AppStripeCustomer
CustomerIDLT applies the LT predicate on the "customer_id" field.
func CustomerIDLTE ¶
func CustomerIDLTE(v string) predicate.AppStripeCustomer
CustomerIDLTE applies the LTE predicate on the "customer_id" field.
func CustomerIDNEQ ¶
func CustomerIDNEQ(v string) predicate.AppStripeCustomer
CustomerIDNEQ applies the NEQ predicate on the "customer_id" field.
func CustomerIDNotIn ¶
func CustomerIDNotIn(vs ...string) predicate.AppStripeCustomer
CustomerIDNotIn applies the NotIn predicate on the "customer_id" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.AppStripeCustomer
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.AppStripeCustomer
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.AppStripeCustomer
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.AppStripeCustomer
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.AppStripeCustomer
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.AppStripeCustomer
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.AppStripeCustomer
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.AppStripeCustomer
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.AppStripeCustomer
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.AppStripeCustomer
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func HasCustomer ¶
func HasCustomer() predicate.AppStripeCustomer
HasCustomer applies the HasEdge predicate on the "customer" edge.
func HasCustomerWith ¶
func HasCustomerWith(preds ...predicate.Customer) predicate.AppStripeCustomer
HasCustomerWith applies the HasEdge predicate on the "customer" edge with a given conditions (other predicates).
func HasStripeApp ¶
func HasStripeApp() predicate.AppStripeCustomer
HasStripeApp applies the HasEdge predicate on the "stripe_app" edge.
func HasStripeAppWith ¶
func HasStripeAppWith(preds ...predicate.AppStripe) predicate.AppStripeCustomer
HasStripeAppWith applies the HasEdge predicate on the "stripe_app" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.AppStripeCustomer
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.AppStripeCustomer
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.AppStripeCustomer
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.AppStripeCustomer
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.AppStripeCustomer
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.AppStripeCustomer
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.AppStripeCustomer
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.AppStripeCustomer
IDNotIn applies the NotIn predicate on the ID field.
func Namespace ¶
func Namespace(v string) predicate.AppStripeCustomer
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.AppStripeCustomer
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.AppStripeCustomer
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.AppStripeCustomer
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.AppStripeCustomer
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.AppStripeCustomer
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.AppStripeCustomer
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.AppStripeCustomer
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.AppStripeCustomer
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.AppStripeCustomer
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.AppStripeCustomer
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.AppStripeCustomer
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.AppStripeCustomer
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.AppStripeCustomer
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Not ¶
func Not(p predicate.AppStripeCustomer) predicate.AppStripeCustomer
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AppStripeCustomer) predicate.AppStripeCustomer
Or groups predicates with the OR operator between them.
func StripeCustomerID ¶
func StripeCustomerID(v string) predicate.AppStripeCustomer
StripeCustomerID applies equality check predicate on the "stripe_customer_id" field. It's identical to StripeCustomerIDEQ.
func StripeCustomerIDContains ¶
func StripeCustomerIDContains(v string) predicate.AppStripeCustomer
StripeCustomerIDContains applies the Contains predicate on the "stripe_customer_id" field.
func StripeCustomerIDContainsFold ¶
func StripeCustomerIDContainsFold(v string) predicate.AppStripeCustomer
StripeCustomerIDContainsFold applies the ContainsFold predicate on the "stripe_customer_id" field.
func StripeCustomerIDEQ ¶
func StripeCustomerIDEQ(v string) predicate.AppStripeCustomer
StripeCustomerIDEQ applies the EQ predicate on the "stripe_customer_id" field.
func StripeCustomerIDEqualFold ¶
func StripeCustomerIDEqualFold(v string) predicate.AppStripeCustomer
StripeCustomerIDEqualFold applies the EqualFold predicate on the "stripe_customer_id" field.
func StripeCustomerIDGT ¶
func StripeCustomerIDGT(v string) predicate.AppStripeCustomer
StripeCustomerIDGT applies the GT predicate on the "stripe_customer_id" field.
func StripeCustomerIDGTE ¶
func StripeCustomerIDGTE(v string) predicate.AppStripeCustomer
StripeCustomerIDGTE applies the GTE predicate on the "stripe_customer_id" field.
func StripeCustomerIDHasPrefix ¶
func StripeCustomerIDHasPrefix(v string) predicate.AppStripeCustomer
StripeCustomerIDHasPrefix applies the HasPrefix predicate on the "stripe_customer_id" field.
func StripeCustomerIDHasSuffix ¶
func StripeCustomerIDHasSuffix(v string) predicate.AppStripeCustomer
StripeCustomerIDHasSuffix applies the HasSuffix predicate on the "stripe_customer_id" field.
func StripeCustomerIDIn ¶
func StripeCustomerIDIn(vs ...string) predicate.AppStripeCustomer
StripeCustomerIDIn applies the In predicate on the "stripe_customer_id" field.
func StripeCustomerIDLT ¶
func StripeCustomerIDLT(v string) predicate.AppStripeCustomer
StripeCustomerIDLT applies the LT predicate on the "stripe_customer_id" field.
func StripeCustomerIDLTE ¶
func StripeCustomerIDLTE(v string) predicate.AppStripeCustomer
StripeCustomerIDLTE applies the LTE predicate on the "stripe_customer_id" field.
func StripeCustomerIDNEQ ¶
func StripeCustomerIDNEQ(v string) predicate.AppStripeCustomer
StripeCustomerIDNEQ applies the NEQ predicate on the "stripe_customer_id" field.
func StripeCustomerIDNotIn ¶
func StripeCustomerIDNotIn(vs ...string) predicate.AppStripeCustomer
StripeCustomerIDNotIn applies the NotIn predicate on the "stripe_customer_id" field.
func StripeDefaultPaymentMethodID ¶
func StripeDefaultPaymentMethodID(v string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodID applies equality check predicate on the "stripe_default_payment_method_id" field. It's identical to StripeDefaultPaymentMethodIDEQ.
func StripeDefaultPaymentMethodIDContains ¶
func StripeDefaultPaymentMethodIDContains(v string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDContains applies the Contains predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDContainsFold ¶
func StripeDefaultPaymentMethodIDContainsFold(v string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDContainsFold applies the ContainsFold predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDEQ ¶
func StripeDefaultPaymentMethodIDEQ(v string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDEQ applies the EQ predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDEqualFold ¶
func StripeDefaultPaymentMethodIDEqualFold(v string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDEqualFold applies the EqualFold predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDGT ¶
func StripeDefaultPaymentMethodIDGT(v string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDGT applies the GT predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDGTE ¶
func StripeDefaultPaymentMethodIDGTE(v string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDGTE applies the GTE predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDHasPrefix ¶
func StripeDefaultPaymentMethodIDHasPrefix(v string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDHasPrefix applies the HasPrefix predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDHasSuffix ¶
func StripeDefaultPaymentMethodIDHasSuffix(v string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDHasSuffix applies the HasSuffix predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDIn ¶
func StripeDefaultPaymentMethodIDIn(vs ...string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDIn applies the In predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDIsNil ¶
func StripeDefaultPaymentMethodIDIsNil() predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDIsNil applies the IsNil predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDLT ¶
func StripeDefaultPaymentMethodIDLT(v string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDLT applies the LT predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDLTE ¶
func StripeDefaultPaymentMethodIDLTE(v string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDLTE applies the LTE predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDNEQ ¶
func StripeDefaultPaymentMethodIDNEQ(v string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDNEQ applies the NEQ predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDNotIn ¶
func StripeDefaultPaymentMethodIDNotIn(vs ...string) predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDNotIn applies the NotIn predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDNotNil ¶
func StripeDefaultPaymentMethodIDNotNil() predicate.AppStripeCustomer
StripeDefaultPaymentMethodIDNotNil applies the NotNil predicate on the "stripe_default_payment_method_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.AppStripeCustomer
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.AppStripeCustomer
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.AppStripeCustomer
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.AppStripeCustomer
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.AppStripeCustomer
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.AppStripeCustomer
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.AppStripeCustomer
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.AppStripeCustomer
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer
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 AppStripeCustomer queries.
func ByAppID ¶
func ByAppID(opts ...sql.OrderTermOption) OrderOption
ByAppID orders the results by the app_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCustomerField ¶
func ByCustomerField(field string, opts ...sql.OrderTermOption) OrderOption
ByCustomerField orders the results by customer field.
func ByCustomerID ¶
func ByCustomerID(opts ...sql.OrderTermOption) OrderOption
ByCustomerID orders the results by the customer_id field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByNamespace ¶
func ByNamespace(opts ...sql.OrderTermOption) OrderOption
ByNamespace orders the results by the namespace field.
func ByStripeAppField ¶
func ByStripeAppField(field string, opts ...sql.OrderTermOption) OrderOption
ByStripeAppField orders the results by stripe_app field.
func ByStripeCustomerID ¶
func ByStripeCustomerID(opts ...sql.OrderTermOption) OrderOption
ByStripeCustomerID orders the results by the stripe_customer_id field.
func ByStripeDefaultPaymentMethodID ¶
func ByStripeDefaultPaymentMethodID(opts ...sql.OrderTermOption) OrderOption
ByStripeDefaultPaymentMethodID orders the results by the stripe_default_payment_method_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.