Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxySubscribePriceOption) predicate.ProxySubscribePriceOption
- func CreatedAt(v time.Time) predicate.ProxySubscribePriceOption
- func CreatedAtEQ(v time.Time) predicate.ProxySubscribePriceOption
- func CreatedAtGT(v time.Time) predicate.ProxySubscribePriceOption
- func CreatedAtGTE(v time.Time) predicate.ProxySubscribePriceOption
- func CreatedAtIn(vs ...time.Time) predicate.ProxySubscribePriceOption
- func CreatedAtLT(v time.Time) predicate.ProxySubscribePriceOption
- func CreatedAtLTE(v time.Time) predicate.ProxySubscribePriceOption
- func CreatedAtNEQ(v time.Time) predicate.ProxySubscribePriceOption
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxySubscribePriceOption
- func DurationUnit(v string) predicate.ProxySubscribePriceOption
- func DurationUnitContains(v string) predicate.ProxySubscribePriceOption
- func DurationUnitContainsFold(v string) predicate.ProxySubscribePriceOption
- func DurationUnitEQ(v string) predicate.ProxySubscribePriceOption
- func DurationUnitEqualFold(v string) predicate.ProxySubscribePriceOption
- func DurationUnitGT(v string) predicate.ProxySubscribePriceOption
- func DurationUnitGTE(v string) predicate.ProxySubscribePriceOption
- func DurationUnitHasPrefix(v string) predicate.ProxySubscribePriceOption
- func DurationUnitHasSuffix(v string) predicate.ProxySubscribePriceOption
- func DurationUnitIn(vs ...string) predicate.ProxySubscribePriceOption
- func DurationUnitLT(v string) predicate.ProxySubscribePriceOption
- func DurationUnitLTE(v string) predicate.ProxySubscribePriceOption
- func DurationUnitNEQ(v string) predicate.ProxySubscribePriceOption
- func DurationUnitNotIn(vs ...string) predicate.ProxySubscribePriceOption
- func DurationValue(v int64) predicate.ProxySubscribePriceOption
- func DurationValueEQ(v int64) predicate.ProxySubscribePriceOption
- func DurationValueGT(v int64) predicate.ProxySubscribePriceOption
- func DurationValueGTE(v int64) predicate.ProxySubscribePriceOption
- func DurationValueIn(vs ...int64) predicate.ProxySubscribePriceOption
- func DurationValueLT(v int64) predicate.ProxySubscribePriceOption
- func DurationValueLTE(v int64) predicate.ProxySubscribePriceOption
- func DurationValueNEQ(v int64) predicate.ProxySubscribePriceOption
- func DurationValueNotIn(vs ...int64) predicate.ProxySubscribePriceOption
- func ID(id int64) predicate.ProxySubscribePriceOption
- func IDEQ(id int64) predicate.ProxySubscribePriceOption
- func IDGT(id int64) predicate.ProxySubscribePriceOption
- func IDGTE(id int64) predicate.ProxySubscribePriceOption
- func IDIn(ids ...int64) predicate.ProxySubscribePriceOption
- func IDLT(id int64) predicate.ProxySubscribePriceOption
- func IDLTE(id int64) predicate.ProxySubscribePriceOption
- func IDNEQ(id int64) predicate.ProxySubscribePriceOption
- func IDNotIn(ids ...int64) predicate.ProxySubscribePriceOption
- func Inventory(v int32) predicate.ProxySubscribePriceOption
- func InventoryEQ(v int32) predicate.ProxySubscribePriceOption
- func InventoryGT(v int32) predicate.ProxySubscribePriceOption
- func InventoryGTE(v int32) predicate.ProxySubscribePriceOption
- func InventoryIn(vs ...int32) predicate.ProxySubscribePriceOption
- func InventoryLT(v int32) predicate.ProxySubscribePriceOption
- func InventoryLTE(v int32) predicate.ProxySubscribePriceOption
- func InventoryNEQ(v int32) predicate.ProxySubscribePriceOption
- func InventoryNotIn(vs ...int32) predicate.ProxySubscribePriceOption
- func IsDefault(v bool) predicate.ProxySubscribePriceOption
- func IsDefaultEQ(v bool) predicate.ProxySubscribePriceOption
- func IsDefaultNEQ(v bool) predicate.ProxySubscribePriceOption
- func Name(v string) predicate.ProxySubscribePriceOption
- func NameContains(v string) predicate.ProxySubscribePriceOption
- func NameContainsFold(v string) predicate.ProxySubscribePriceOption
- func NameEQ(v string) predicate.ProxySubscribePriceOption
- func NameEqualFold(v string) predicate.ProxySubscribePriceOption
- func NameGT(v string) predicate.ProxySubscribePriceOption
- func NameGTE(v string) predicate.ProxySubscribePriceOption
- func NameHasPrefix(v string) predicate.ProxySubscribePriceOption
- func NameHasSuffix(v string) predicate.ProxySubscribePriceOption
- func NameIn(vs ...string) predicate.ProxySubscribePriceOption
- func NameLT(v string) predicate.ProxySubscribePriceOption
- func NameLTE(v string) predicate.ProxySubscribePriceOption
- func NameNEQ(v string) predicate.ProxySubscribePriceOption
- func NameNotIn(vs ...string) predicate.ProxySubscribePriceOption
- func Not(p predicate.ProxySubscribePriceOption) predicate.ProxySubscribePriceOption
- func Or(predicates ...predicate.ProxySubscribePriceOption) predicate.ProxySubscribePriceOption
- func OriginalPrice(v int64) predicate.ProxySubscribePriceOption
- func OriginalPriceEQ(v int64) predicate.ProxySubscribePriceOption
- func OriginalPriceGT(v int64) predicate.ProxySubscribePriceOption
- func OriginalPriceGTE(v int64) predicate.ProxySubscribePriceOption
- func OriginalPriceIn(vs ...int64) predicate.ProxySubscribePriceOption
- func OriginalPriceLT(v int64) predicate.ProxySubscribePriceOption
- func OriginalPriceLTE(v int64) predicate.ProxySubscribePriceOption
- func OriginalPriceNEQ(v int64) predicate.ProxySubscribePriceOption
- func OriginalPriceNotIn(vs ...int64) predicate.ProxySubscribePriceOption
- func Price(v int64) predicate.ProxySubscribePriceOption
- func PriceEQ(v int64) predicate.ProxySubscribePriceOption
- func PriceGT(v int64) predicate.ProxySubscribePriceOption
- func PriceGTE(v int64) predicate.ProxySubscribePriceOption
- func PriceIn(vs ...int64) predicate.ProxySubscribePriceOption
- func PriceLT(v int64) predicate.ProxySubscribePriceOption
- func PriceLTE(v int64) predicate.ProxySubscribePriceOption
- func PriceNEQ(v int64) predicate.ProxySubscribePriceOption
- func PriceNotIn(vs ...int64) predicate.ProxySubscribePriceOption
- func Sell(v bool) predicate.ProxySubscribePriceOption
- func SellEQ(v bool) predicate.ProxySubscribePriceOption
- func SellNEQ(v bool) predicate.ProxySubscribePriceOption
- func Show(v bool) predicate.ProxySubscribePriceOption
- func ShowEQ(v bool) predicate.ProxySubscribePriceOption
- func ShowNEQ(v bool) predicate.ProxySubscribePriceOption
- func Sort(v int32) predicate.ProxySubscribePriceOption
- func SortEQ(v int32) predicate.ProxySubscribePriceOption
- func SortGT(v int32) predicate.ProxySubscribePriceOption
- func SortGTE(v int32) predicate.ProxySubscribePriceOption
- func SortIn(vs ...int32) predicate.ProxySubscribePriceOption
- func SortLT(v int32) predicate.ProxySubscribePriceOption
- func SortLTE(v int32) predicate.ProxySubscribePriceOption
- func SortNEQ(v int32) predicate.ProxySubscribePriceOption
- func SortNotIn(vs ...int32) predicate.ProxySubscribePriceOption
- func SubscribeID(v int64) predicate.ProxySubscribePriceOption
- func SubscribeIDEQ(v int64) predicate.ProxySubscribePriceOption
- func SubscribeIDGT(v int64) predicate.ProxySubscribePriceOption
- func SubscribeIDGTE(v int64) predicate.ProxySubscribePriceOption
- func SubscribeIDIn(vs ...int64) predicate.ProxySubscribePriceOption
- func SubscribeIDLT(v int64) predicate.ProxySubscribePriceOption
- func SubscribeIDLTE(v int64) predicate.ProxySubscribePriceOption
- func SubscribeIDNEQ(v int64) predicate.ProxySubscribePriceOption
- func SubscribeIDNotIn(vs ...int64) predicate.ProxySubscribePriceOption
- func UpdatedAt(v time.Time) predicate.ProxySubscribePriceOption
- func UpdatedAtEQ(v time.Time) predicate.ProxySubscribePriceOption
- func UpdatedAtGT(v time.Time) predicate.ProxySubscribePriceOption
- func UpdatedAtGTE(v time.Time) predicate.ProxySubscribePriceOption
- func UpdatedAtIn(vs ...time.Time) predicate.ProxySubscribePriceOption
- func UpdatedAtLT(v time.Time) predicate.ProxySubscribePriceOption
- func UpdatedAtLTE(v time.Time) predicate.ProxySubscribePriceOption
- func UpdatedAtNEQ(v time.Time) predicate.ProxySubscribePriceOption
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxySubscribePriceOption
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDurationUnit(opts ...sql.OrderTermOption) OrderOption
- func ByDurationValue(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInventory(opts ...sql.OrderTermOption) OrderOption
- func ByIsDefault(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOriginalPrice(opts ...sql.OrderTermOption) OrderOption
- func ByPrice(opts ...sql.OrderTermOption) OrderOption
- func BySell(opts ...sql.OrderTermOption) OrderOption
- func ByShow(opts ...sql.OrderTermOption) OrderOption
- func BySort(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 proxysubscribepriceoption type in the database. Label = "proxy_subscribe_price_option" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDurationUnit holds the string denoting the duration_unit field in the database. FieldDurationUnit = "duration_unit" // FieldDurationValue holds the string denoting the duration_value field in the database. FieldDurationValue = "duration_value" // FieldPrice holds the string denoting the price field in the database. FieldPrice = "price" // FieldOriginalPrice holds the string denoting the original_price field in the database. FieldOriginalPrice = "original_price" // FieldInventory holds the string denoting the inventory field in the database. FieldInventory = "inventory" // FieldShow holds the string denoting the show field in the database. FieldShow = "show" // FieldSell holds the string denoting the sell field in the database. FieldSell = "sell" // FieldIsDefault holds the string denoting the is_default field in the database. FieldIsDefault = "is_default" // FieldSort holds the string denoting the sort field in the database. FieldSort = "sort" // 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 proxysubscribepriceoption in the database. Table = "subscribe_price_option" )
Variables ¶
var ( // DefaultName holds the default value on creation for the "name" field. DefaultName string // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultDurationUnit holds the default value on creation for the "duration_unit" field. DefaultDurationUnit string // DurationUnitValidator is a validator for the "duration_unit" field. It is called by the builders before save. DurationUnitValidator func(string) error // DefaultDurationValue holds the default value on creation for the "duration_value" field. DefaultDurationValue int64 // DefaultPrice holds the default value on creation for the "price" field. DefaultPrice int64 // DefaultOriginalPrice holds the default value on creation for the "original_price" field. DefaultOriginalPrice int64 // DefaultInventory holds the default value on creation for the "inventory" field. DefaultInventory int32 // DefaultShow holds the default value on creation for the "show" field. DefaultShow bool // DefaultSell holds the default value on creation for the "sell" field. DefaultSell bool // DefaultIsDefault holds the default value on creation for the "is_default" field. DefaultIsDefault bool // DefaultSort holds the default value on creation for the "sort" field. DefaultSort int32 // 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, FieldName, FieldDurationUnit, FieldDurationValue, FieldPrice, FieldOriginalPrice, FieldInventory, FieldShow, FieldSell, FieldIsDefault, FieldSort, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for proxysubscribepriceoption fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProxySubscribePriceOption) predicate.ProxySubscribePriceOption
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxySubscribePriceOption
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxySubscribePriceOption
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxySubscribePriceOption
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxySubscribePriceOption
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxySubscribePriceOption
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxySubscribePriceOption
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxySubscribePriceOption
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxySubscribePriceOption
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxySubscribePriceOption
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DurationUnit ¶
func DurationUnit(v string) predicate.ProxySubscribePriceOption
DurationUnit applies equality check predicate on the "duration_unit" field. It's identical to DurationUnitEQ.
func DurationUnitContains ¶
func DurationUnitContains(v string) predicate.ProxySubscribePriceOption
DurationUnitContains applies the Contains predicate on the "duration_unit" field.
func DurationUnitContainsFold ¶
func DurationUnitContainsFold(v string) predicate.ProxySubscribePriceOption
DurationUnitContainsFold applies the ContainsFold predicate on the "duration_unit" field.
func DurationUnitEQ ¶
func DurationUnitEQ(v string) predicate.ProxySubscribePriceOption
DurationUnitEQ applies the EQ predicate on the "duration_unit" field.
func DurationUnitEqualFold ¶
func DurationUnitEqualFold(v string) predicate.ProxySubscribePriceOption
DurationUnitEqualFold applies the EqualFold predicate on the "duration_unit" field.
func DurationUnitGT ¶
func DurationUnitGT(v string) predicate.ProxySubscribePriceOption
DurationUnitGT applies the GT predicate on the "duration_unit" field.
func DurationUnitGTE ¶
func DurationUnitGTE(v string) predicate.ProxySubscribePriceOption
DurationUnitGTE applies the GTE predicate on the "duration_unit" field.
func DurationUnitHasPrefix ¶
func DurationUnitHasPrefix(v string) predicate.ProxySubscribePriceOption
DurationUnitHasPrefix applies the HasPrefix predicate on the "duration_unit" field.
func DurationUnitHasSuffix ¶
func DurationUnitHasSuffix(v string) predicate.ProxySubscribePriceOption
DurationUnitHasSuffix applies the HasSuffix predicate on the "duration_unit" field.
func DurationUnitIn ¶
func DurationUnitIn(vs ...string) predicate.ProxySubscribePriceOption
DurationUnitIn applies the In predicate on the "duration_unit" field.
func DurationUnitLT ¶
func DurationUnitLT(v string) predicate.ProxySubscribePriceOption
DurationUnitLT applies the LT predicate on the "duration_unit" field.
func DurationUnitLTE ¶
func DurationUnitLTE(v string) predicate.ProxySubscribePriceOption
DurationUnitLTE applies the LTE predicate on the "duration_unit" field.
func DurationUnitNEQ ¶
func DurationUnitNEQ(v string) predicate.ProxySubscribePriceOption
DurationUnitNEQ applies the NEQ predicate on the "duration_unit" field.
func DurationUnitNotIn ¶
func DurationUnitNotIn(vs ...string) predicate.ProxySubscribePriceOption
DurationUnitNotIn applies the NotIn predicate on the "duration_unit" field.
func DurationValue ¶
func DurationValue(v int64) predicate.ProxySubscribePriceOption
DurationValue applies equality check predicate on the "duration_value" field. It's identical to DurationValueEQ.
func DurationValueEQ ¶
func DurationValueEQ(v int64) predicate.ProxySubscribePriceOption
DurationValueEQ applies the EQ predicate on the "duration_value" field.
func DurationValueGT ¶
func DurationValueGT(v int64) predicate.ProxySubscribePriceOption
DurationValueGT applies the GT predicate on the "duration_value" field.
func DurationValueGTE ¶
func DurationValueGTE(v int64) predicate.ProxySubscribePriceOption
DurationValueGTE applies the GTE predicate on the "duration_value" field.
func DurationValueIn ¶
func DurationValueIn(vs ...int64) predicate.ProxySubscribePriceOption
DurationValueIn applies the In predicate on the "duration_value" field.
func DurationValueLT ¶
func DurationValueLT(v int64) predicate.ProxySubscribePriceOption
DurationValueLT applies the LT predicate on the "duration_value" field.
func DurationValueLTE ¶
func DurationValueLTE(v int64) predicate.ProxySubscribePriceOption
DurationValueLTE applies the LTE predicate on the "duration_value" field.
func DurationValueNEQ ¶
func DurationValueNEQ(v int64) predicate.ProxySubscribePriceOption
DurationValueNEQ applies the NEQ predicate on the "duration_value" field.
func DurationValueNotIn ¶
func DurationValueNotIn(vs ...int64) predicate.ProxySubscribePriceOption
DurationValueNotIn applies the NotIn predicate on the "duration_value" field.
func ID ¶
func ID(id int64) predicate.ProxySubscribePriceOption
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxySubscribePriceOption
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxySubscribePriceOption
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxySubscribePriceOption
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxySubscribePriceOption
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxySubscribePriceOption
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxySubscribePriceOption
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxySubscribePriceOption
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxySubscribePriceOption
IDNotIn applies the NotIn predicate on the ID field.
func Inventory ¶
func Inventory(v int32) predicate.ProxySubscribePriceOption
Inventory applies equality check predicate on the "inventory" field. It's identical to InventoryEQ.
func InventoryEQ ¶
func InventoryEQ(v int32) predicate.ProxySubscribePriceOption
InventoryEQ applies the EQ predicate on the "inventory" field.
func InventoryGT ¶
func InventoryGT(v int32) predicate.ProxySubscribePriceOption
InventoryGT applies the GT predicate on the "inventory" field.
func InventoryGTE ¶
func InventoryGTE(v int32) predicate.ProxySubscribePriceOption
InventoryGTE applies the GTE predicate on the "inventory" field.
func InventoryIn ¶
func InventoryIn(vs ...int32) predicate.ProxySubscribePriceOption
InventoryIn applies the In predicate on the "inventory" field.
func InventoryLT ¶
func InventoryLT(v int32) predicate.ProxySubscribePriceOption
InventoryLT applies the LT predicate on the "inventory" field.
func InventoryLTE ¶
func InventoryLTE(v int32) predicate.ProxySubscribePriceOption
InventoryLTE applies the LTE predicate on the "inventory" field.
func InventoryNEQ ¶
func InventoryNEQ(v int32) predicate.ProxySubscribePriceOption
InventoryNEQ applies the NEQ predicate on the "inventory" field.
func InventoryNotIn ¶
func InventoryNotIn(vs ...int32) predicate.ProxySubscribePriceOption
InventoryNotIn applies the NotIn predicate on the "inventory" field.
func IsDefault ¶
func IsDefault(v bool) predicate.ProxySubscribePriceOption
IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.
func IsDefaultEQ ¶
func IsDefaultEQ(v bool) predicate.ProxySubscribePriceOption
IsDefaultEQ applies the EQ predicate on the "is_default" field.
func IsDefaultNEQ ¶
func IsDefaultNEQ(v bool) predicate.ProxySubscribePriceOption
IsDefaultNEQ applies the NEQ predicate on the "is_default" field.
func Name ¶
func Name(v string) predicate.ProxySubscribePriceOption
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ProxySubscribePriceOption
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ProxySubscribePriceOption
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ProxySubscribePriceOption
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ProxySubscribePriceOption
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ProxySubscribePriceOption
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ProxySubscribePriceOption
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ProxySubscribePriceOption
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ProxySubscribePriceOption
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ProxySubscribePriceOption
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ProxySubscribePriceOption
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ProxySubscribePriceOption
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ProxySubscribePriceOption
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ProxySubscribePriceOption
NameNotIn applies the NotIn predicate on the "name" field.
func Or ¶
func Or(predicates ...predicate.ProxySubscribePriceOption) predicate.ProxySubscribePriceOption
Or groups predicates with the OR operator between them.
func OriginalPrice ¶
func OriginalPrice(v int64) predicate.ProxySubscribePriceOption
OriginalPrice applies equality check predicate on the "original_price" field. It's identical to OriginalPriceEQ.
func OriginalPriceEQ ¶
func OriginalPriceEQ(v int64) predicate.ProxySubscribePriceOption
OriginalPriceEQ applies the EQ predicate on the "original_price" field.
func OriginalPriceGT ¶
func OriginalPriceGT(v int64) predicate.ProxySubscribePriceOption
OriginalPriceGT applies the GT predicate on the "original_price" field.
func OriginalPriceGTE ¶
func OriginalPriceGTE(v int64) predicate.ProxySubscribePriceOption
OriginalPriceGTE applies the GTE predicate on the "original_price" field.
func OriginalPriceIn ¶
func OriginalPriceIn(vs ...int64) predicate.ProxySubscribePriceOption
OriginalPriceIn applies the In predicate on the "original_price" field.
func OriginalPriceLT ¶
func OriginalPriceLT(v int64) predicate.ProxySubscribePriceOption
OriginalPriceLT applies the LT predicate on the "original_price" field.
func OriginalPriceLTE ¶
func OriginalPriceLTE(v int64) predicate.ProxySubscribePriceOption
OriginalPriceLTE applies the LTE predicate on the "original_price" field.
func OriginalPriceNEQ ¶
func OriginalPriceNEQ(v int64) predicate.ProxySubscribePriceOption
OriginalPriceNEQ applies the NEQ predicate on the "original_price" field.
func OriginalPriceNotIn ¶
func OriginalPriceNotIn(vs ...int64) predicate.ProxySubscribePriceOption
OriginalPriceNotIn applies the NotIn predicate on the "original_price" field.
func Price ¶
func Price(v int64) predicate.ProxySubscribePriceOption
Price applies equality check predicate on the "price" field. It's identical to PriceEQ.
func PriceEQ ¶
func PriceEQ(v int64) predicate.ProxySubscribePriceOption
PriceEQ applies the EQ predicate on the "price" field.
func PriceGT ¶
func PriceGT(v int64) predicate.ProxySubscribePriceOption
PriceGT applies the GT predicate on the "price" field.
func PriceGTE ¶
func PriceGTE(v int64) predicate.ProxySubscribePriceOption
PriceGTE applies the GTE predicate on the "price" field.
func PriceIn ¶
func PriceIn(vs ...int64) predicate.ProxySubscribePriceOption
PriceIn applies the In predicate on the "price" field.
func PriceLT ¶
func PriceLT(v int64) predicate.ProxySubscribePriceOption
PriceLT applies the LT predicate on the "price" field.
func PriceLTE ¶
func PriceLTE(v int64) predicate.ProxySubscribePriceOption
PriceLTE applies the LTE predicate on the "price" field.
func PriceNEQ ¶
func PriceNEQ(v int64) predicate.ProxySubscribePriceOption
PriceNEQ applies the NEQ predicate on the "price" field.
func PriceNotIn ¶
func PriceNotIn(vs ...int64) predicate.ProxySubscribePriceOption
PriceNotIn applies the NotIn predicate on the "price" field.
func Sell ¶
func Sell(v bool) predicate.ProxySubscribePriceOption
Sell applies equality check predicate on the "sell" field. It's identical to SellEQ.
func SellEQ ¶
func SellEQ(v bool) predicate.ProxySubscribePriceOption
SellEQ applies the EQ predicate on the "sell" field.
func SellNEQ ¶
func SellNEQ(v bool) predicate.ProxySubscribePriceOption
SellNEQ applies the NEQ predicate on the "sell" field.
func Show ¶
func Show(v bool) predicate.ProxySubscribePriceOption
Show applies equality check predicate on the "show" field. It's identical to ShowEQ.
func ShowEQ ¶
func ShowEQ(v bool) predicate.ProxySubscribePriceOption
ShowEQ applies the EQ predicate on the "show" field.
func ShowNEQ ¶
func ShowNEQ(v bool) predicate.ProxySubscribePriceOption
ShowNEQ applies the NEQ predicate on the "show" field.
func Sort ¶
func Sort(v int32) predicate.ProxySubscribePriceOption
Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.
func SortEQ ¶
func SortEQ(v int32) predicate.ProxySubscribePriceOption
SortEQ applies the EQ predicate on the "sort" field.
func SortGT ¶
func SortGT(v int32) predicate.ProxySubscribePriceOption
SortGT applies the GT predicate on the "sort" field.
func SortGTE ¶
func SortGTE(v int32) predicate.ProxySubscribePriceOption
SortGTE applies the GTE predicate on the "sort" field.
func SortIn ¶
func SortIn(vs ...int32) predicate.ProxySubscribePriceOption
SortIn applies the In predicate on the "sort" field.
func SortLT ¶
func SortLT(v int32) predicate.ProxySubscribePriceOption
SortLT applies the LT predicate on the "sort" field.
func SortLTE ¶
func SortLTE(v int32) predicate.ProxySubscribePriceOption
SortLTE applies the LTE predicate on the "sort" field.
func SortNEQ ¶
func SortNEQ(v int32) predicate.ProxySubscribePriceOption
SortNEQ applies the NEQ predicate on the "sort" field.
func SortNotIn ¶
func SortNotIn(vs ...int32) predicate.ProxySubscribePriceOption
SortNotIn applies the NotIn predicate on the "sort" field.
func SubscribeID ¶
func SubscribeID(v int64) predicate.ProxySubscribePriceOption
SubscribeID applies equality check predicate on the "subscribe_id" field. It's identical to SubscribeIDEQ.
func SubscribeIDEQ ¶
func SubscribeIDEQ(v int64) predicate.ProxySubscribePriceOption
SubscribeIDEQ applies the EQ predicate on the "subscribe_id" field.
func SubscribeIDGT ¶
func SubscribeIDGT(v int64) predicate.ProxySubscribePriceOption
SubscribeIDGT applies the GT predicate on the "subscribe_id" field.
func SubscribeIDGTE ¶
func SubscribeIDGTE(v int64) predicate.ProxySubscribePriceOption
SubscribeIDGTE applies the GTE predicate on the "subscribe_id" field.
func SubscribeIDIn ¶
func SubscribeIDIn(vs ...int64) predicate.ProxySubscribePriceOption
SubscribeIDIn applies the In predicate on the "subscribe_id" field.
func SubscribeIDLT ¶
func SubscribeIDLT(v int64) predicate.ProxySubscribePriceOption
SubscribeIDLT applies the LT predicate on the "subscribe_id" field.
func SubscribeIDLTE ¶
func SubscribeIDLTE(v int64) predicate.ProxySubscribePriceOption
SubscribeIDLTE applies the LTE predicate on the "subscribe_id" field.
func SubscribeIDNEQ ¶
func SubscribeIDNEQ(v int64) predicate.ProxySubscribePriceOption
SubscribeIDNEQ applies the NEQ predicate on the "subscribe_id" field.
func SubscribeIDNotIn ¶
func SubscribeIDNotIn(vs ...int64) predicate.ProxySubscribePriceOption
SubscribeIDNotIn applies the NotIn predicate on the "subscribe_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProxySubscribePriceOption
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProxySubscribePriceOption
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProxySubscribePriceOption
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProxySubscribePriceOption
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProxySubscribePriceOption
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProxySubscribePriceOption
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProxySubscribePriceOption
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProxySubscribePriceOption
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProxySubscribePriceOption
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 ProxySubscribePriceOption queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDurationUnit ¶
func ByDurationUnit(opts ...sql.OrderTermOption) OrderOption
ByDurationUnit orders the results by the duration_unit field.
func ByDurationValue ¶
func ByDurationValue(opts ...sql.OrderTermOption) OrderOption
ByDurationValue orders the results by the duration_value field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInventory ¶
func ByInventory(opts ...sql.OrderTermOption) OrderOption
ByInventory orders the results by the inventory field.
func ByIsDefault ¶
func ByIsDefault(opts ...sql.OrderTermOption) OrderOption
ByIsDefault orders the results by the is_default field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOriginalPrice ¶
func ByOriginalPrice(opts ...sql.OrderTermOption) OrderOption
ByOriginalPrice orders the results by the original_price field.
func ByPrice ¶
func ByPrice(opts ...sql.OrderTermOption) OrderOption
ByPrice orders the results by the price field.
func BySell ¶
func BySell(opts ...sql.OrderTermOption) OrderOption
BySell orders the results by the sell field.
func ByShow ¶
func ByShow(opts ...sql.OrderTermOption) OrderOption
ByShow orders the results by the show field.
func BySort ¶
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort 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.