| |
|
|
| package appstripecustomer |
|
|
| import ( |
| "time" |
|
|
| "entgo.io/ent/dialect/sql" |
| "entgo.io/ent/dialect/sql/sqlgraph" |
| "github.com/openmeterio/openmeter/openmeter/ent/db/predicate" |
| ) |
|
|
| |
| func ID(id int) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldID, id)) |
| } |
|
|
| |
| func IDEQ(id int) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldID, id)) |
| } |
|
|
| |
| func IDNEQ(id int) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNEQ(FieldID, id)) |
| } |
|
|
| |
| func IDIn(ids ...int) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldIn(FieldID, ids...)) |
| } |
|
|
| |
| func IDNotIn(ids ...int) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNotIn(FieldID, ids...)) |
| } |
|
|
| |
| func IDGT(id int) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGT(FieldID, id)) |
| } |
|
|
| |
| func IDGTE(id int) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGTE(FieldID, id)) |
| } |
|
|
| |
| func IDLT(id int) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLT(FieldID, id)) |
| } |
|
|
| |
| func IDLTE(id int) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLTE(FieldID, id)) |
| } |
|
|
| |
| func Namespace(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldNamespace, v)) |
| } |
|
|
| |
| func CreatedAt(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldCreatedAt, v)) |
| } |
|
|
| |
| func UpdatedAt(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func DeletedAt(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldDeletedAt, v)) |
| } |
|
|
| |
| func AppID(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldAppID, v)) |
| } |
|
|
| |
| func CustomerID(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldCustomerID, v)) |
| } |
|
|
| |
| func StripeCustomerID(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldStripeCustomerID, v)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodID(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldStripeDefaultPaymentMethodID, v)) |
| } |
|
|
| |
| func NamespaceEQ(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceNEQ(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNEQ(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceIn(vs ...string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldIn(FieldNamespace, vs...)) |
| } |
|
|
| |
| func NamespaceNotIn(vs ...string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNotIn(FieldNamespace, vs...)) |
| } |
|
|
| |
| func NamespaceGT(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGT(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceGTE(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGTE(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceLT(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLT(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceLTE(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLTE(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceContains(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldContains(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceHasPrefix(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceHasSuffix(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceEqualFold(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceContainsFold(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldNamespace, v)) |
| } |
|
|
| |
| func CreatedAtEQ(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtNEQ(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNEQ(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtIn(vs ...time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldIn(FieldCreatedAt, vs...)) |
| } |
|
|
| |
| func CreatedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNotIn(FieldCreatedAt, vs...)) |
| } |
|
|
| |
| func CreatedAtGT(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGT(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtGTE(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGTE(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtLT(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLT(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtLTE(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLTE(FieldCreatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtEQ(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtNEQ(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNEQ(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtIn(vs ...time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldIn(FieldUpdatedAt, vs...)) |
| } |
|
|
| |
| func UpdatedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNotIn(FieldUpdatedAt, vs...)) |
| } |
|
|
| |
| func UpdatedAtGT(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGT(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtGTE(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGTE(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtLT(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLT(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtLTE(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLTE(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func DeletedAtEQ(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldDeletedAt, v)) |
| } |
|
|
| |
| func DeletedAtNEQ(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNEQ(FieldDeletedAt, v)) |
| } |
|
|
| |
| func DeletedAtIn(vs ...time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldIn(FieldDeletedAt, vs...)) |
| } |
|
|
| |
| func DeletedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNotIn(FieldDeletedAt, vs...)) |
| } |
|
|
| |
| func DeletedAtGT(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGT(FieldDeletedAt, v)) |
| } |
|
|
| |
| func DeletedAtGTE(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGTE(FieldDeletedAt, v)) |
| } |
|
|
| |
| func DeletedAtLT(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLT(FieldDeletedAt, v)) |
| } |
|
|
| |
| func DeletedAtLTE(v time.Time) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLTE(FieldDeletedAt, v)) |
| } |
|
|
| |
| func DeletedAtIsNil() predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldIsNull(FieldDeletedAt)) |
| } |
|
|
| |
| func DeletedAtNotNil() predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNotNull(FieldDeletedAt)) |
| } |
|
|
| |
| func AppIDEQ(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldAppID, v)) |
| } |
|
|
| |
| func AppIDNEQ(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNEQ(FieldAppID, v)) |
| } |
|
|
| |
| func AppIDIn(vs ...string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldIn(FieldAppID, vs...)) |
| } |
|
|
| |
| func AppIDNotIn(vs ...string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNotIn(FieldAppID, vs...)) |
| } |
|
|
| |
| func AppIDGT(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGT(FieldAppID, v)) |
| } |
|
|
| |
| func AppIDGTE(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGTE(FieldAppID, v)) |
| } |
|
|
| |
| func AppIDLT(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLT(FieldAppID, v)) |
| } |
|
|
| |
| func AppIDLTE(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLTE(FieldAppID, v)) |
| } |
|
|
| |
| func AppIDContains(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldContains(FieldAppID, v)) |
| } |
|
|
| |
| func AppIDHasPrefix(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldAppID, v)) |
| } |
|
|
| |
| func AppIDHasSuffix(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldAppID, v)) |
| } |
|
|
| |
| func AppIDEqualFold(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldAppID, v)) |
| } |
|
|
| |
| func AppIDContainsFold(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldAppID, v)) |
| } |
|
|
| |
| func CustomerIDEQ(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldCustomerID, v)) |
| } |
|
|
| |
| func CustomerIDNEQ(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNEQ(FieldCustomerID, v)) |
| } |
|
|
| |
| func CustomerIDIn(vs ...string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldIn(FieldCustomerID, vs...)) |
| } |
|
|
| |
| func CustomerIDNotIn(vs ...string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNotIn(FieldCustomerID, vs...)) |
| } |
|
|
| |
| func CustomerIDGT(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGT(FieldCustomerID, v)) |
| } |
|
|
| |
| func CustomerIDGTE(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGTE(FieldCustomerID, v)) |
| } |
|
|
| |
| func CustomerIDLT(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLT(FieldCustomerID, v)) |
| } |
|
|
| |
| func CustomerIDLTE(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLTE(FieldCustomerID, v)) |
| } |
|
|
| |
| func CustomerIDContains(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldContains(FieldCustomerID, v)) |
| } |
|
|
| |
| func CustomerIDHasPrefix(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldCustomerID, v)) |
| } |
|
|
| |
| func CustomerIDHasSuffix(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldCustomerID, v)) |
| } |
|
|
| |
| func CustomerIDEqualFold(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldCustomerID, v)) |
| } |
|
|
| |
| func CustomerIDContainsFold(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldCustomerID, v)) |
| } |
|
|
| |
| func StripeCustomerIDEQ(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldStripeCustomerID, v)) |
| } |
|
|
| |
| func StripeCustomerIDNEQ(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNEQ(FieldStripeCustomerID, v)) |
| } |
|
|
| |
| func StripeCustomerIDIn(vs ...string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldIn(FieldStripeCustomerID, vs...)) |
| } |
|
|
| |
| func StripeCustomerIDNotIn(vs ...string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNotIn(FieldStripeCustomerID, vs...)) |
| } |
|
|
| |
| func StripeCustomerIDGT(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGT(FieldStripeCustomerID, v)) |
| } |
|
|
| |
| func StripeCustomerIDGTE(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGTE(FieldStripeCustomerID, v)) |
| } |
|
|
| |
| func StripeCustomerIDLT(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLT(FieldStripeCustomerID, v)) |
| } |
|
|
| |
| func StripeCustomerIDLTE(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLTE(FieldStripeCustomerID, v)) |
| } |
|
|
| |
| func StripeCustomerIDContains(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldContains(FieldStripeCustomerID, v)) |
| } |
|
|
| |
| func StripeCustomerIDHasPrefix(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldStripeCustomerID, v)) |
| } |
|
|
| |
| func StripeCustomerIDHasSuffix(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldStripeCustomerID, v)) |
| } |
|
|
| |
| func StripeCustomerIDEqualFold(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldStripeCustomerID, v)) |
| } |
|
|
| |
| func StripeCustomerIDContainsFold(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldStripeCustomerID, v)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDEQ(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEQ(FieldStripeDefaultPaymentMethodID, v)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDNEQ(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNEQ(FieldStripeDefaultPaymentMethodID, v)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDIn(vs ...string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldIn(FieldStripeDefaultPaymentMethodID, vs...)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDNotIn(vs ...string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNotIn(FieldStripeDefaultPaymentMethodID, vs...)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDGT(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGT(FieldStripeDefaultPaymentMethodID, v)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDGTE(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldGTE(FieldStripeDefaultPaymentMethodID, v)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDLT(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLT(FieldStripeDefaultPaymentMethodID, v)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDLTE(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldLTE(FieldStripeDefaultPaymentMethodID, v)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDContains(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldContains(FieldStripeDefaultPaymentMethodID, v)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDHasPrefix(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldStripeDefaultPaymentMethodID, v)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDHasSuffix(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldStripeDefaultPaymentMethodID, v)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDIsNil() predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldIsNull(FieldStripeDefaultPaymentMethodID)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDNotNil() predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldNotNull(FieldStripeDefaultPaymentMethodID)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDEqualFold(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldStripeDefaultPaymentMethodID, v)) |
| } |
|
|
| |
| func StripeDefaultPaymentMethodIDContainsFold(v string) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldStripeDefaultPaymentMethodID, v)) |
| } |
|
|
| |
| func HasStripeApp() predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(func(s *sql.Selector) { |
| step := sqlgraph.NewStep( |
| sqlgraph.From(Table, FieldID), |
| sqlgraph.Edge(sqlgraph.M2O, true, StripeAppTable, StripeAppColumn), |
| ) |
| sqlgraph.HasNeighbors(s, step) |
| }) |
| } |
|
|
| |
| func HasStripeAppWith(preds ...predicate.AppStripe) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(func(s *sql.Selector) { |
| step := newStripeAppStep() |
| sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { |
| for _, p := range preds { |
| p(s) |
| } |
| }) |
| }) |
| } |
|
|
| |
| func HasCustomer() predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(func(s *sql.Selector) { |
| step := sqlgraph.NewStep( |
| sqlgraph.From(Table, FieldID), |
| sqlgraph.Edge(sqlgraph.M2O, false, CustomerTable, CustomerColumn), |
| ) |
| sqlgraph.HasNeighbors(s, step) |
| }) |
| } |
|
|
| |
| func HasCustomerWith(preds ...predicate.Customer) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(func(s *sql.Selector) { |
| step := newCustomerStep() |
| sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { |
| for _, p := range preds { |
| p(s) |
| } |
| }) |
| }) |
| } |
|
|
| |
| func And(predicates ...predicate.AppStripeCustomer) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.AndPredicates(predicates...)) |
| } |
|
|
| |
| func Or(predicates ...predicate.AppStripeCustomer) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.OrPredicates(predicates...)) |
| } |
|
|
| |
| func Not(p predicate.AppStripeCustomer) predicate.AppStripeCustomer { |
| return predicate.AppStripeCustomer(sql.NotPredicates(p)) |
| } |
|
|