Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxySubscribeRebateConfig) predicate.ProxySubscribeRebateConfig
- func CreatedAt(v time.Time) predicate.ProxySubscribeRebateConfig
- func CreatedAtEQ(v time.Time) predicate.ProxySubscribeRebateConfig
- func CreatedAtGT(v time.Time) predicate.ProxySubscribeRebateConfig
- func CreatedAtGTE(v time.Time) predicate.ProxySubscribeRebateConfig
- func CreatedAtIn(vs ...time.Time) predicate.ProxySubscribeRebateConfig
- func CreatedAtLT(v time.Time) predicate.ProxySubscribeRebateConfig
- func CreatedAtLTE(v time.Time) predicate.ProxySubscribeRebateConfig
- func CreatedAtNEQ(v time.Time) predicate.ProxySubscribeRebateConfig
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxySubscribeRebateConfig
- func Enabled(v bool) predicate.ProxySubscribeRebateConfig
- func EnabledEQ(v bool) predicate.ProxySubscribeRebateConfig
- func EnabledNEQ(v bool) predicate.ProxySubscribeRebateConfig
- func ID(id int64) predicate.ProxySubscribeRebateConfig
- func IDEQ(id int64) predicate.ProxySubscribeRebateConfig
- func IDGT(id int64) predicate.ProxySubscribeRebateConfig
- func IDGTE(id int64) predicate.ProxySubscribeRebateConfig
- func IDIn(ids ...int64) predicate.ProxySubscribeRebateConfig
- func IDLT(id int64) predicate.ProxySubscribeRebateConfig
- func IDLTE(id int64) predicate.ProxySubscribeRebateConfig
- func IDNEQ(id int64) predicate.ProxySubscribeRebateConfig
- func IDNotIn(ids ...int64) predicate.ProxySubscribeRebateConfig
- func Not(p predicate.ProxySubscribeRebateConfig) predicate.ProxySubscribeRebateConfig
- func Or(predicates ...predicate.ProxySubscribeRebateConfig) predicate.ProxySubscribeRebateConfig
- func PriceOptionID(v int64) predicate.ProxySubscribeRebateConfig
- func PriceOptionIDEQ(v int64) predicate.ProxySubscribeRebateConfig
- func PriceOptionIDGT(v int64) predicate.ProxySubscribeRebateConfig
- func PriceOptionIDGTE(v int64) predicate.ProxySubscribeRebateConfig
- func PriceOptionIDIn(vs ...int64) predicate.ProxySubscribeRebateConfig
- func PriceOptionIDLT(v int64) predicate.ProxySubscribeRebateConfig
- func PriceOptionIDLTE(v int64) predicate.ProxySubscribeRebateConfig
- func PriceOptionIDNEQ(v int64) predicate.ProxySubscribeRebateConfig
- func PriceOptionIDNotIn(vs ...int64) predicate.ProxySubscribeRebateConfig
- func ReferralPercentage(v int8) predicate.ProxySubscribeRebateConfig
- func ReferralPercentageEQ(v int8) predicate.ProxySubscribeRebateConfig
- func ReferralPercentageGT(v int8) predicate.ProxySubscribeRebateConfig
- func ReferralPercentageGTE(v int8) predicate.ProxySubscribeRebateConfig
- func ReferralPercentageIn(vs ...int8) predicate.ProxySubscribeRebateConfig
- func ReferralPercentageLT(v int8) predicate.ProxySubscribeRebateConfig
- func ReferralPercentageLTE(v int8) predicate.ProxySubscribeRebateConfig
- func ReferralPercentageNEQ(v int8) predicate.ProxySubscribeRebateConfig
- func ReferralPercentageNotIn(vs ...int8) predicate.ProxySubscribeRebateConfig
- func SubscribeID(v int64) predicate.ProxySubscribeRebateConfig
- func SubscribeIDEQ(v int64) predicate.ProxySubscribeRebateConfig
- func SubscribeIDGT(v int64) predicate.ProxySubscribeRebateConfig
- func SubscribeIDGTE(v int64) predicate.ProxySubscribeRebateConfig
- func SubscribeIDIn(vs ...int64) predicate.ProxySubscribeRebateConfig
- func SubscribeIDLT(v int64) predicate.ProxySubscribeRebateConfig
- func SubscribeIDLTE(v int64) predicate.ProxySubscribeRebateConfig
- func SubscribeIDNEQ(v int64) predicate.ProxySubscribeRebateConfig
- func SubscribeIDNotIn(vs ...int64) predicate.ProxySubscribeRebateConfig
- func UpdatedAt(v time.Time) predicate.ProxySubscribeRebateConfig
- func UpdatedAtEQ(v time.Time) predicate.ProxySubscribeRebateConfig
- func UpdatedAtGT(v time.Time) predicate.ProxySubscribeRebateConfig
- func UpdatedAtGTE(v time.Time) predicate.ProxySubscribeRebateConfig
- func UpdatedAtIn(vs ...time.Time) predicate.ProxySubscribeRebateConfig
- func UpdatedAtLT(v time.Time) predicate.ProxySubscribeRebateConfig
- func UpdatedAtLTE(v time.Time) predicate.ProxySubscribeRebateConfig
- func UpdatedAtNEQ(v time.Time) predicate.ProxySubscribeRebateConfig
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxySubscribeRebateConfig
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPriceOptionID(opts ...sql.OrderTermOption) OrderOption
- func ByReferralPercentage(opts ...sql.OrderTermOption) OrderOption
- func BySubscribeID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxysubscriberebateconfig type in the database. Label = "proxy_subscribe_rebate_config" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSubscribeID holds the string denoting the subscribe_id field in the database. FieldSubscribeID = "subscribe_id" // FieldPriceOptionID holds the string denoting the price_option_id field in the database. FieldPriceOptionID = "price_option_id" // FieldReferralPercentage holds the string denoting the referral_percentage field in the database. FieldReferralPercentage = "referral_percentage" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // 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" // Table holds the table name of the proxysubscriberebateconfig in the database. Table = "subscribe_rebate_config" )
Variables ¶
var ( // DefaultPriceOptionID holds the default value on creation for the "price_option_id" field. DefaultPriceOptionID int64 // DefaultReferralPercentage holds the default value on creation for the "referral_percentage" field. DefaultReferralPercentage int8 // DefaultEnabled holds the default value on creation for the "enabled" field. DefaultEnabled bool // 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 // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(int64) error )
var Columns = []string{ FieldID, FieldSubscribeID, FieldPriceOptionID, FieldReferralPercentage, FieldEnabled, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for proxysubscriberebateconfig fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProxySubscribeRebateConfig) predicate.ProxySubscribeRebateConfig
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxySubscribeRebateConfig
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxySubscribeRebateConfig
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxySubscribeRebateConfig
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxySubscribeRebateConfig
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxySubscribeRebateConfig
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxySubscribeRebateConfig
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxySubscribeRebateConfig
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxySubscribeRebateConfig
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxySubscribeRebateConfig
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Enabled ¶
func Enabled(v bool) predicate.ProxySubscribeRebateConfig
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledEQ ¶
func EnabledEQ(v bool) predicate.ProxySubscribeRebateConfig
EnabledEQ applies the EQ predicate on the "enabled" field.
func EnabledNEQ ¶
func EnabledNEQ(v bool) predicate.ProxySubscribeRebateConfig
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func ID ¶
func ID(id int64) predicate.ProxySubscribeRebateConfig
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxySubscribeRebateConfig
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxySubscribeRebateConfig
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxySubscribeRebateConfig
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxySubscribeRebateConfig
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxySubscribeRebateConfig
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxySubscribeRebateConfig
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxySubscribeRebateConfig
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxySubscribeRebateConfig
IDNotIn applies the NotIn predicate on the ID field.
func Or ¶
func Or(predicates ...predicate.ProxySubscribeRebateConfig) predicate.ProxySubscribeRebateConfig
Or groups predicates with the OR operator between them.
func PriceOptionID ¶
func PriceOptionID(v int64) predicate.ProxySubscribeRebateConfig
PriceOptionID applies equality check predicate on the "price_option_id" field. It's identical to PriceOptionIDEQ.
func PriceOptionIDEQ ¶
func PriceOptionIDEQ(v int64) predicate.ProxySubscribeRebateConfig
PriceOptionIDEQ applies the EQ predicate on the "price_option_id" field.
func PriceOptionIDGT ¶
func PriceOptionIDGT(v int64) predicate.ProxySubscribeRebateConfig
PriceOptionIDGT applies the GT predicate on the "price_option_id" field.
func PriceOptionIDGTE ¶
func PriceOptionIDGTE(v int64) predicate.ProxySubscribeRebateConfig
PriceOptionIDGTE applies the GTE predicate on the "price_option_id" field.
func PriceOptionIDIn ¶
func PriceOptionIDIn(vs ...int64) predicate.ProxySubscribeRebateConfig
PriceOptionIDIn applies the In predicate on the "price_option_id" field.
func PriceOptionIDLT ¶
func PriceOptionIDLT(v int64) predicate.ProxySubscribeRebateConfig
PriceOptionIDLT applies the LT predicate on the "price_option_id" field.
func PriceOptionIDLTE ¶
func PriceOptionIDLTE(v int64) predicate.ProxySubscribeRebateConfig
PriceOptionIDLTE applies the LTE predicate on the "price_option_id" field.
func PriceOptionIDNEQ ¶
func PriceOptionIDNEQ(v int64) predicate.ProxySubscribeRebateConfig
PriceOptionIDNEQ applies the NEQ predicate on the "price_option_id" field.
func PriceOptionIDNotIn ¶
func PriceOptionIDNotIn(vs ...int64) predicate.ProxySubscribeRebateConfig
PriceOptionIDNotIn applies the NotIn predicate on the "price_option_id" field.
func ReferralPercentage ¶
func ReferralPercentage(v int8) predicate.ProxySubscribeRebateConfig
ReferralPercentage applies equality check predicate on the "referral_percentage" field. It's identical to ReferralPercentageEQ.
func ReferralPercentageEQ ¶
func ReferralPercentageEQ(v int8) predicate.ProxySubscribeRebateConfig
ReferralPercentageEQ applies the EQ predicate on the "referral_percentage" field.
func ReferralPercentageGT ¶
func ReferralPercentageGT(v int8) predicate.ProxySubscribeRebateConfig
ReferralPercentageGT applies the GT predicate on the "referral_percentage" field.
func ReferralPercentageGTE ¶
func ReferralPercentageGTE(v int8) predicate.ProxySubscribeRebateConfig
ReferralPercentageGTE applies the GTE predicate on the "referral_percentage" field.
func ReferralPercentageIn ¶
func ReferralPercentageIn(vs ...int8) predicate.ProxySubscribeRebateConfig
ReferralPercentageIn applies the In predicate on the "referral_percentage" field.
func ReferralPercentageLT ¶
func ReferralPercentageLT(v int8) predicate.ProxySubscribeRebateConfig
ReferralPercentageLT applies the LT predicate on the "referral_percentage" field.
func ReferralPercentageLTE ¶
func ReferralPercentageLTE(v int8) predicate.ProxySubscribeRebateConfig
ReferralPercentageLTE applies the LTE predicate on the "referral_percentage" field.
func ReferralPercentageNEQ ¶
func ReferralPercentageNEQ(v int8) predicate.ProxySubscribeRebateConfig
ReferralPercentageNEQ applies the NEQ predicate on the "referral_percentage" field.
func ReferralPercentageNotIn ¶
func ReferralPercentageNotIn(vs ...int8) predicate.ProxySubscribeRebateConfig
ReferralPercentageNotIn applies the NotIn predicate on the "referral_percentage" field.
func SubscribeID ¶
func SubscribeID(v int64) predicate.ProxySubscribeRebateConfig
SubscribeID applies equality check predicate on the "subscribe_id" field. It's identical to SubscribeIDEQ.
func SubscribeIDEQ ¶
func SubscribeIDEQ(v int64) predicate.ProxySubscribeRebateConfig
SubscribeIDEQ applies the EQ predicate on the "subscribe_id" field.
func SubscribeIDGT ¶
func SubscribeIDGT(v int64) predicate.ProxySubscribeRebateConfig
SubscribeIDGT applies the GT predicate on the "subscribe_id" field.
func SubscribeIDGTE ¶
func SubscribeIDGTE(v int64) predicate.ProxySubscribeRebateConfig
SubscribeIDGTE applies the GTE predicate on the "subscribe_id" field.
func SubscribeIDIn ¶
func SubscribeIDIn(vs ...int64) predicate.ProxySubscribeRebateConfig
SubscribeIDIn applies the In predicate on the "subscribe_id" field.
func SubscribeIDLT ¶
func SubscribeIDLT(v int64) predicate.ProxySubscribeRebateConfig
SubscribeIDLT applies the LT predicate on the "subscribe_id" field.
func SubscribeIDLTE ¶
func SubscribeIDLTE(v int64) predicate.ProxySubscribeRebateConfig
SubscribeIDLTE applies the LTE predicate on the "subscribe_id" field.
func SubscribeIDNEQ ¶
func SubscribeIDNEQ(v int64) predicate.ProxySubscribeRebateConfig
SubscribeIDNEQ applies the NEQ predicate on the "subscribe_id" field.
func SubscribeIDNotIn ¶
func SubscribeIDNotIn(vs ...int64) predicate.ProxySubscribeRebateConfig
SubscribeIDNotIn applies the NotIn predicate on the "subscribe_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProxySubscribeRebateConfig
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProxySubscribeRebateConfig
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProxySubscribeRebateConfig
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProxySubscribeRebateConfig
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProxySubscribeRebateConfig
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProxySubscribeRebateConfig
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProxySubscribeRebateConfig
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProxySubscribeRebateConfig
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProxySubscribeRebateConfig
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 ProxySubscribeRebateConfig queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEnabled ¶
func ByEnabled(opts ...sql.OrderTermOption) OrderOption
ByEnabled orders the results by the enabled field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPriceOptionID ¶
func ByPriceOptionID(opts ...sql.OrderTermOption) OrderOption
ByPriceOptionID orders the results by the price_option_id field.
func ByReferralPercentage ¶
func ByReferralPercentage(opts ...sql.OrderTermOption) OrderOption
ByReferralPercentage orders the results by the referral_percentage field.
func BySubscribeID ¶
func BySubscribeID(opts ...sql.OrderTermOption) OrderOption
BySubscribeID orders the results by the subscribe_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.