Documentation
¶
Index ¶
- Constants
- Variables
- func AllowDeduction(v bool) predicate.ProxySubscribe
- func AllowDeductionEQ(v bool) predicate.ProxySubscribe
- func AllowDeductionNEQ(v bool) predicate.ProxySubscribe
- func And(predicates ...predicate.ProxySubscribe) predicate.ProxySubscribe
- func CreatedAt(v time.Time) predicate.ProxySubscribe
- func CreatedAtEQ(v time.Time) predicate.ProxySubscribe
- func CreatedAtGT(v time.Time) predicate.ProxySubscribe
- func CreatedAtGTE(v time.Time) predicate.ProxySubscribe
- func CreatedAtIn(vs ...time.Time) predicate.ProxySubscribe
- func CreatedAtLT(v time.Time) predicate.ProxySubscribe
- func CreatedAtLTE(v time.Time) predicate.ProxySubscribe
- func CreatedAtNEQ(v time.Time) predicate.ProxySubscribe
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxySubscribe
- func DeductionRatio(v int32) predicate.ProxySubscribe
- func DeductionRatioEQ(v int32) predicate.ProxySubscribe
- func DeductionRatioGT(v int32) predicate.ProxySubscribe
- func DeductionRatioGTE(v int32) predicate.ProxySubscribe
- func DeductionRatioIn(vs ...int32) predicate.ProxySubscribe
- func DeductionRatioIsNil() predicate.ProxySubscribe
- func DeductionRatioLT(v int32) predicate.ProxySubscribe
- func DeductionRatioLTE(v int32) predicate.ProxySubscribe
- func DeductionRatioNEQ(v int32) predicate.ProxySubscribe
- func DeductionRatioNotIn(vs ...int32) predicate.ProxySubscribe
- func DeductionRatioNotNil() predicate.ProxySubscribe
- func Description(v string) predicate.ProxySubscribe
- func DescriptionContains(v string) predicate.ProxySubscribe
- func DescriptionContainsFold(v string) predicate.ProxySubscribe
- func DescriptionEQ(v string) predicate.ProxySubscribe
- func DescriptionEqualFold(v string) predicate.ProxySubscribe
- func DescriptionGT(v string) predicate.ProxySubscribe
- func DescriptionGTE(v string) predicate.ProxySubscribe
- func DescriptionHasPrefix(v string) predicate.ProxySubscribe
- func DescriptionHasSuffix(v string) predicate.ProxySubscribe
- func DescriptionIn(vs ...string) predicate.ProxySubscribe
- func DescriptionIsNil() predicate.ProxySubscribe
- func DescriptionLT(v string) predicate.ProxySubscribe
- func DescriptionLTE(v string) predicate.ProxySubscribe
- func DescriptionNEQ(v string) predicate.ProxySubscribe
- func DescriptionNotIn(vs ...string) predicate.ProxySubscribe
- func DescriptionNotNil() predicate.ProxySubscribe
- func DeviceLimit(v int32) predicate.ProxySubscribe
- func DeviceLimitEQ(v int32) predicate.ProxySubscribe
- func DeviceLimitGT(v int32) predicate.ProxySubscribe
- func DeviceLimitGTE(v int32) predicate.ProxySubscribe
- func DeviceLimitIn(vs ...int32) predicate.ProxySubscribe
- func DeviceLimitLT(v int32) predicate.ProxySubscribe
- func DeviceLimitLTE(v int32) predicate.ProxySubscribe
- func DeviceLimitNEQ(v int32) predicate.ProxySubscribe
- func DeviceLimitNotIn(vs ...int32) predicate.ProxySubscribe
- func Discount(v string) predicate.ProxySubscribe
- func DiscountContains(v string) predicate.ProxySubscribe
- func DiscountContainsFold(v string) predicate.ProxySubscribe
- func DiscountEQ(v string) predicate.ProxySubscribe
- func DiscountEqualFold(v string) predicate.ProxySubscribe
- func DiscountGT(v string) predicate.ProxySubscribe
- func DiscountGTE(v string) predicate.ProxySubscribe
- func DiscountHasPrefix(v string) predicate.ProxySubscribe
- func DiscountHasSuffix(v string) predicate.ProxySubscribe
- func DiscountIn(vs ...string) predicate.ProxySubscribe
- func DiscountIsNil() predicate.ProxySubscribe
- func DiscountLT(v string) predicate.ProxySubscribe
- func DiscountLTE(v string) predicate.ProxySubscribe
- func DiscountNEQ(v string) predicate.ProxySubscribe
- func DiscountNotIn(vs ...string) predicate.ProxySubscribe
- func DiscountNotNil() predicate.ProxySubscribe
- func ID(id int64) predicate.ProxySubscribe
- func IDEQ(id int64) predicate.ProxySubscribe
- func IDGT(id int64) predicate.ProxySubscribe
- func IDGTE(id int64) predicate.ProxySubscribe
- func IDIn(ids ...int64) predicate.ProxySubscribe
- func IDLT(id int64) predicate.ProxySubscribe
- func IDLTE(id int64) predicate.ProxySubscribe
- func IDNEQ(id int64) predicate.ProxySubscribe
- func IDNotIn(ids ...int64) predicate.ProxySubscribe
- func Inventory(v int32) predicate.ProxySubscribe
- func InventoryEQ(v int32) predicate.ProxySubscribe
- func InventoryGT(v int32) predicate.ProxySubscribe
- func InventoryGTE(v int32) predicate.ProxySubscribe
- func InventoryIn(vs ...int32) predicate.ProxySubscribe
- func InventoryLT(v int32) predicate.ProxySubscribe
- func InventoryLTE(v int32) predicate.ProxySubscribe
- func InventoryNEQ(v int32) predicate.ProxySubscribe
- func InventoryNotIn(vs ...int32) predicate.ProxySubscribe
- func Language(v string) predicate.ProxySubscribe
- func LanguageContains(v string) predicate.ProxySubscribe
- func LanguageContainsFold(v string) predicate.ProxySubscribe
- func LanguageEQ(v string) predicate.ProxySubscribe
- func LanguageEqualFold(v string) predicate.ProxySubscribe
- func LanguageGT(v string) predicate.ProxySubscribe
- func LanguageGTE(v string) predicate.ProxySubscribe
- func LanguageHasPrefix(v string) predicate.ProxySubscribe
- func LanguageHasSuffix(v string) predicate.ProxySubscribe
- func LanguageIn(vs ...string) predicate.ProxySubscribe
- func LanguageLT(v string) predicate.ProxySubscribe
- func LanguageLTE(v string) predicate.ProxySubscribe
- func LanguageNEQ(v string) predicate.ProxySubscribe
- func LanguageNotIn(vs ...string) predicate.ProxySubscribe
- func Name(v string) predicate.ProxySubscribe
- func NameContains(v string) predicate.ProxySubscribe
- func NameContainsFold(v string) predicate.ProxySubscribe
- func NameEQ(v string) predicate.ProxySubscribe
- func NameEqualFold(v string) predicate.ProxySubscribe
- func NameGT(v string) predicate.ProxySubscribe
- func NameGTE(v string) predicate.ProxySubscribe
- func NameHasPrefix(v string) predicate.ProxySubscribe
- func NameHasSuffix(v string) predicate.ProxySubscribe
- func NameIn(vs ...string) predicate.ProxySubscribe
- func NameLT(v string) predicate.ProxySubscribe
- func NameLTE(v string) predicate.ProxySubscribe
- func NameNEQ(v string) predicate.ProxySubscribe
- func NameNotIn(vs ...string) predicate.ProxySubscribe
- func NodeGroupID(v int64) predicate.ProxySubscribe
- func NodeGroupIDEQ(v int64) predicate.ProxySubscribe
- func NodeGroupIDGT(v int64) predicate.ProxySubscribe
- func NodeGroupIDGTE(v int64) predicate.ProxySubscribe
- func NodeGroupIDIn(vs ...int64) predicate.ProxySubscribe
- func NodeGroupIDIsNil() predicate.ProxySubscribe
- func NodeGroupIDLT(v int64) predicate.ProxySubscribe
- func NodeGroupIDLTE(v int64) predicate.ProxySubscribe
- func NodeGroupIDNEQ(v int64) predicate.ProxySubscribe
- func NodeGroupIDNotIn(vs ...int64) predicate.ProxySubscribe
- func NodeGroupIDNotNil() predicate.ProxySubscribe
- func NodeGroupIdsIsNil() predicate.ProxySubscribe
- func NodeGroupIdsNotNil() predicate.ProxySubscribe
- func NodeTags(v string) predicate.ProxySubscribe
- func NodeTagsContains(v string) predicate.ProxySubscribe
- func NodeTagsContainsFold(v string) predicate.ProxySubscribe
- func NodeTagsEQ(v string) predicate.ProxySubscribe
- func NodeTagsEqualFold(v string) predicate.ProxySubscribe
- func NodeTagsGT(v string) predicate.ProxySubscribe
- func NodeTagsGTE(v string) predicate.ProxySubscribe
- func NodeTagsHasPrefix(v string) predicate.ProxySubscribe
- func NodeTagsHasSuffix(v string) predicate.ProxySubscribe
- func NodeTagsIn(vs ...string) predicate.ProxySubscribe
- func NodeTagsLT(v string) predicate.ProxySubscribe
- func NodeTagsLTE(v string) predicate.ProxySubscribe
- func NodeTagsNEQ(v string) predicate.ProxySubscribe
- func NodeTagsNotIn(vs ...string) predicate.ProxySubscribe
- func Nodes(v string) predicate.ProxySubscribe
- func NodesContains(v string) predicate.ProxySubscribe
- func NodesContainsFold(v string) predicate.ProxySubscribe
- func NodesEQ(v string) predicate.ProxySubscribe
- func NodesEqualFold(v string) predicate.ProxySubscribe
- func NodesGT(v string) predicate.ProxySubscribe
- func NodesGTE(v string) predicate.ProxySubscribe
- func NodesHasPrefix(v string) predicate.ProxySubscribe
- func NodesHasSuffix(v string) predicate.ProxySubscribe
- func NodesIn(vs ...string) predicate.ProxySubscribe
- func NodesLT(v string) predicate.ProxySubscribe
- func NodesLTE(v string) predicate.ProxySubscribe
- func NodesNEQ(v string) predicate.ProxySubscribe
- func NodesNotIn(vs ...string) predicate.ProxySubscribe
- func Not(p predicate.ProxySubscribe) predicate.ProxySubscribe
- func Or(predicates ...predicate.ProxySubscribe) predicate.ProxySubscribe
- func Quota(v int32) predicate.ProxySubscribe
- func QuotaEQ(v int32) predicate.ProxySubscribe
- func QuotaGT(v int32) predicate.ProxySubscribe
- func QuotaGTE(v int32) predicate.ProxySubscribe
- func QuotaIn(vs ...int32) predicate.ProxySubscribe
- func QuotaLT(v int32) predicate.ProxySubscribe
- func QuotaLTE(v int32) predicate.ProxySubscribe
- func QuotaNEQ(v int32) predicate.ProxySubscribe
- func QuotaNotIn(vs ...int32) predicate.ProxySubscribe
- func RenewalReset(v bool) predicate.ProxySubscribe
- func RenewalResetEQ(v bool) predicate.ProxySubscribe
- func RenewalResetNEQ(v bool) predicate.ProxySubscribe
- func Replacement(v int64) predicate.ProxySubscribe
- func ReplacementEQ(v int64) predicate.ProxySubscribe
- func ReplacementGT(v int64) predicate.ProxySubscribe
- func ReplacementGTE(v int64) predicate.ProxySubscribe
- func ReplacementIn(vs ...int64) predicate.ProxySubscribe
- func ReplacementLT(v int64) predicate.ProxySubscribe
- func ReplacementLTE(v int64) predicate.ProxySubscribe
- func ReplacementNEQ(v int64) predicate.ProxySubscribe
- func ReplacementNotIn(vs ...int64) predicate.ProxySubscribe
- func ResetCycle(v int32) predicate.ProxySubscribe
- func ResetCycleEQ(v int32) predicate.ProxySubscribe
- func ResetCycleGT(v int32) predicate.ProxySubscribe
- func ResetCycleGTE(v int32) predicate.ProxySubscribe
- func ResetCycleIn(vs ...int32) predicate.ProxySubscribe
- func ResetCycleIsNil() predicate.ProxySubscribe
- func ResetCycleLT(v int32) predicate.ProxySubscribe
- func ResetCycleLTE(v int32) predicate.ProxySubscribe
- func ResetCycleNEQ(v int32) predicate.ProxySubscribe
- func ResetCycleNotIn(vs ...int32) predicate.ProxySubscribe
- func ResetCycleNotNil() predicate.ProxySubscribe
- func Sell(v bool) predicate.ProxySubscribe
- func SellEQ(v bool) predicate.ProxySubscribe
- func SellNEQ(v bool) predicate.ProxySubscribe
- func Show(v bool) predicate.ProxySubscribe
- func ShowEQ(v bool) predicate.ProxySubscribe
- func ShowNEQ(v bool) predicate.ProxySubscribe
- func ShowOriginalPrice(v bool) predicate.ProxySubscribe
- func ShowOriginalPriceEQ(v bool) predicate.ProxySubscribe
- func ShowOriginalPriceNEQ(v bool) predicate.ProxySubscribe
- func Sort(v int32) predicate.ProxySubscribe
- func SortEQ(v int32) predicate.ProxySubscribe
- func SortGT(v int32) predicate.ProxySubscribe
- func SortGTE(v int32) predicate.ProxySubscribe
- func SortIn(vs ...int32) predicate.ProxySubscribe
- func SortLT(v int32) predicate.ProxySubscribe
- func SortLTE(v int32) predicate.ProxySubscribe
- func SortNEQ(v int32) predicate.ProxySubscribe
- func SortNotIn(vs ...int32) predicate.ProxySubscribe
- func SpeedLimit(v int32) predicate.ProxySubscribe
- func SpeedLimitEQ(v int32) predicate.ProxySubscribe
- func SpeedLimitGT(v int32) predicate.ProxySubscribe
- func SpeedLimitGTE(v int32) predicate.ProxySubscribe
- func SpeedLimitIn(vs ...int32) predicate.ProxySubscribe
- func SpeedLimitLT(v int32) predicate.ProxySubscribe
- func SpeedLimitLTE(v int32) predicate.ProxySubscribe
- func SpeedLimitNEQ(v int32) predicate.ProxySubscribe
- func SpeedLimitNotIn(vs ...int32) predicate.ProxySubscribe
- func Traffic(v int64) predicate.ProxySubscribe
- func TrafficEQ(v int64) predicate.ProxySubscribe
- func TrafficGT(v int64) predicate.ProxySubscribe
- func TrafficGTE(v int64) predicate.ProxySubscribe
- func TrafficIn(vs ...int64) predicate.ProxySubscribe
- func TrafficLT(v int64) predicate.ProxySubscribe
- func TrafficLTE(v int64) predicate.ProxySubscribe
- func TrafficLimit(v string) predicate.ProxySubscribe
- func TrafficLimitContains(v string) predicate.ProxySubscribe
- func TrafficLimitContainsFold(v string) predicate.ProxySubscribe
- func TrafficLimitEQ(v string) predicate.ProxySubscribe
- func TrafficLimitEqualFold(v string) predicate.ProxySubscribe
- func TrafficLimitGT(v string) predicate.ProxySubscribe
- func TrafficLimitGTE(v string) predicate.ProxySubscribe
- func TrafficLimitHasPrefix(v string) predicate.ProxySubscribe
- func TrafficLimitHasSuffix(v string) predicate.ProxySubscribe
- func TrafficLimitIn(vs ...string) predicate.ProxySubscribe
- func TrafficLimitIsNil() predicate.ProxySubscribe
- func TrafficLimitLT(v string) predicate.ProxySubscribe
- func TrafficLimitLTE(v string) predicate.ProxySubscribe
- func TrafficLimitNEQ(v string) predicate.ProxySubscribe
- func TrafficLimitNotIn(vs ...string) predicate.ProxySubscribe
- func TrafficLimitNotNil() predicate.ProxySubscribe
- func TrafficNEQ(v int64) predicate.ProxySubscribe
- func TrafficNotIn(vs ...int64) predicate.ProxySubscribe
- func UnitPrice(v int64) predicate.ProxySubscribe
- func UnitPriceEQ(v int64) predicate.ProxySubscribe
- func UnitPriceGT(v int64) predicate.ProxySubscribe
- func UnitPriceGTE(v int64) predicate.ProxySubscribe
- func UnitPriceIn(vs ...int64) predicate.ProxySubscribe
- func UnitPriceLT(v int64) predicate.ProxySubscribe
- func UnitPriceLTE(v int64) predicate.ProxySubscribe
- func UnitPriceNEQ(v int64) predicate.ProxySubscribe
- func UnitPriceNotIn(vs ...int64) predicate.ProxySubscribe
- func UnitTime(v string) predicate.ProxySubscribe
- func UnitTimeContains(v string) predicate.ProxySubscribe
- func UnitTimeContainsFold(v string) predicate.ProxySubscribe
- func UnitTimeEQ(v string) predicate.ProxySubscribe
- func UnitTimeEqualFold(v string) predicate.ProxySubscribe
- func UnitTimeGT(v string) predicate.ProxySubscribe
- func UnitTimeGTE(v string) predicate.ProxySubscribe
- func UnitTimeHasPrefix(v string) predicate.ProxySubscribe
- func UnitTimeHasSuffix(v string) predicate.ProxySubscribe
- func UnitTimeIn(vs ...string) predicate.ProxySubscribe
- func UnitTimeLT(v string) predicate.ProxySubscribe
- func UnitTimeLTE(v string) predicate.ProxySubscribe
- func UnitTimeNEQ(v string) predicate.ProxySubscribe
- func UnitTimeNotIn(vs ...string) predicate.ProxySubscribe
- func UpdatedAt(v time.Time) predicate.ProxySubscribe
- func UpdatedAtEQ(v time.Time) predicate.ProxySubscribe
- func UpdatedAtGT(v time.Time) predicate.ProxySubscribe
- func UpdatedAtGTE(v time.Time) predicate.ProxySubscribe
- func UpdatedAtIn(vs ...time.Time) predicate.ProxySubscribe
- func UpdatedAtLT(v time.Time) predicate.ProxySubscribe
- func UpdatedAtLTE(v time.Time) predicate.ProxySubscribe
- func UpdatedAtNEQ(v time.Time) predicate.ProxySubscribe
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxySubscribe
- func ValidColumn(column string) bool
- type OrderOption
- func ByAllowDeduction(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeductionRatio(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDeviceLimit(opts ...sql.OrderTermOption) OrderOption
- func ByDiscount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInventory(opts ...sql.OrderTermOption) OrderOption
- func ByLanguage(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNodeGroupID(opts ...sql.OrderTermOption) OrderOption
- func ByNodeTags(opts ...sql.OrderTermOption) OrderOption
- func ByNodes(opts ...sql.OrderTermOption) OrderOption
- func ByQuota(opts ...sql.OrderTermOption) OrderOption
- func ByRenewalReset(opts ...sql.OrderTermOption) OrderOption
- func ByReplacement(opts ...sql.OrderTermOption) OrderOption
- func ByResetCycle(opts ...sql.OrderTermOption) OrderOption
- func BySell(opts ...sql.OrderTermOption) OrderOption
- func ByShow(opts ...sql.OrderTermOption) OrderOption
- func ByShowOriginalPrice(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func BySpeedLimit(opts ...sql.OrderTermOption) OrderOption
- func ByTraffic(opts ...sql.OrderTermOption) OrderOption
- func ByTrafficLimit(opts ...sql.OrderTermOption) OrderOption
- func ByUnitPrice(opts ...sql.OrderTermOption) OrderOption
- func ByUnitTime(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxysubscribe type in the database. Label = "proxy_subscribe" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldLanguage holds the string denoting the language field in the database. FieldLanguage = "language" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldUnitPrice holds the string denoting the unit_price field in the database. FieldUnitPrice = "unit_price" // FieldUnitTime holds the string denoting the unit_time field in the database. FieldUnitTime = "unit_time" // FieldDiscount holds the string denoting the discount field in the database. FieldDiscount = "discount" // FieldReplacement holds the string denoting the replacement field in the database. FieldReplacement = "replacement" // FieldInventory holds the string denoting the inventory field in the database. FieldInventory = "inventory" // FieldTraffic holds the string denoting the traffic field in the database. FieldTraffic = "traffic" // FieldSpeedLimit holds the string denoting the speed_limit field in the database. FieldSpeedLimit = "speed_limit" // FieldDeviceLimit holds the string denoting the device_limit field in the database. FieldDeviceLimit = "device_limit" // FieldQuota holds the string denoting the quota field in the database. FieldQuota = "quota" // FieldNodes holds the string denoting the nodes field in the database. FieldNodes = "nodes" // FieldNodeTags holds the string denoting the node_tags field in the database. FieldNodeTags = "node_tags" // FieldNodeGroupIds holds the string denoting the node_group_ids field in the database. FieldNodeGroupIds = "node_group_ids" // FieldNodeGroupID holds the string denoting the node_group_id field in the database. FieldNodeGroupID = "node_group_id" // FieldTrafficLimit holds the string denoting the traffic_limit field in the database. FieldTrafficLimit = "traffic_limit" // 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" // FieldSort holds the string denoting the sort field in the database. FieldSort = "sort" // FieldDeductionRatio holds the string denoting the deduction_ratio field in the database. FieldDeductionRatio = "deduction_ratio" // FieldAllowDeduction holds the string denoting the allow_deduction field in the database. FieldAllowDeduction = "allow_deduction" // FieldResetCycle holds the string denoting the reset_cycle field in the database. FieldResetCycle = "reset_cycle" // FieldRenewalReset holds the string denoting the renewal_reset field in the database. FieldRenewalReset = "renewal_reset" // FieldShowOriginalPrice holds the string denoting the show_original_price field in the database. FieldShowOriginalPrice = "show_original_price" // 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 proxysubscribe in the database. Table = "subscribe" )
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 // DefaultLanguage holds the default value on creation for the "language" field. DefaultLanguage string // LanguageValidator is a validator for the "language" field. It is called by the builders before save. LanguageValidator func(string) error // DefaultUnitPrice holds the default value on creation for the "unit_price" field. DefaultUnitPrice int64 // DefaultUnitTime holds the default value on creation for the "unit_time" field. DefaultUnitTime string // UnitTimeValidator is a validator for the "unit_time" field. It is called by the builders before save. UnitTimeValidator func(string) error // DefaultReplacement holds the default value on creation for the "replacement" field. DefaultReplacement int64 // DefaultInventory holds the default value on creation for the "inventory" field. DefaultInventory int32 // DefaultTraffic holds the default value on creation for the "traffic" field. DefaultTraffic int64 // DefaultSpeedLimit holds the default value on creation for the "speed_limit" field. DefaultSpeedLimit int32 // DefaultDeviceLimit holds the default value on creation for the "device_limit" field. DefaultDeviceLimit int32 // DefaultQuota holds the default value on creation for the "quota" field. DefaultQuota int32 // DefaultNodes holds the default value on creation for the "nodes" field. DefaultNodes string // NodesValidator is a validator for the "nodes" field. It is called by the builders before save. NodesValidator func(string) error // DefaultNodeTags holds the default value on creation for the "node_tags" field. DefaultNodeTags string // NodeTagsValidator is a validator for the "node_tags" field. It is called by the builders before save. NodeTagsValidator func(string) error // DefaultNodeGroupID holds the default value on creation for the "node_group_id" field. DefaultNodeGroupID int64 // 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 // DefaultSort holds the default value on creation for the "sort" field. DefaultSort int32 // DefaultDeductionRatio holds the default value on creation for the "deduction_ratio" field. DefaultDeductionRatio int32 // DefaultAllowDeduction holds the default value on creation for the "allow_deduction" field. DefaultAllowDeduction bool // DefaultResetCycle holds the default value on creation for the "reset_cycle" field. DefaultResetCycle int32 // DefaultRenewalReset holds the default value on creation for the "renewal_reset" field. DefaultRenewalReset bool // DefaultShowOriginalPrice holds the default value on creation for the "show_original_price" field. DefaultShowOriginalPrice 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, FieldName, FieldLanguage, FieldDescription, FieldUnitPrice, FieldUnitTime, FieldDiscount, FieldReplacement, FieldInventory, FieldTraffic, FieldSpeedLimit, FieldDeviceLimit, FieldQuota, FieldNodes, FieldNodeTags, FieldNodeGroupIds, FieldNodeGroupID, FieldTrafficLimit, FieldShow, FieldSell, FieldSort, FieldDeductionRatio, FieldAllowDeduction, FieldResetCycle, FieldRenewalReset, FieldShowOriginalPrice, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for proxysubscribe fields.
Functions ¶
func AllowDeduction ¶
func AllowDeduction(v bool) predicate.ProxySubscribe
AllowDeduction applies equality check predicate on the "allow_deduction" field. It's identical to AllowDeductionEQ.
func AllowDeductionEQ ¶
func AllowDeductionEQ(v bool) predicate.ProxySubscribe
AllowDeductionEQ applies the EQ predicate on the "allow_deduction" field.
func AllowDeductionNEQ ¶
func AllowDeductionNEQ(v bool) predicate.ProxySubscribe
AllowDeductionNEQ applies the NEQ predicate on the "allow_deduction" field.
func And ¶
func And(predicates ...predicate.ProxySubscribe) predicate.ProxySubscribe
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxySubscribe
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxySubscribe
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxySubscribe
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxySubscribe
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxySubscribe
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxySubscribe
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxySubscribe
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxySubscribe
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxySubscribe
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeductionRatio ¶
func DeductionRatio(v int32) predicate.ProxySubscribe
DeductionRatio applies equality check predicate on the "deduction_ratio" field. It's identical to DeductionRatioEQ.
func DeductionRatioEQ ¶
func DeductionRatioEQ(v int32) predicate.ProxySubscribe
DeductionRatioEQ applies the EQ predicate on the "deduction_ratio" field.
func DeductionRatioGT ¶
func DeductionRatioGT(v int32) predicate.ProxySubscribe
DeductionRatioGT applies the GT predicate on the "deduction_ratio" field.
func DeductionRatioGTE ¶
func DeductionRatioGTE(v int32) predicate.ProxySubscribe
DeductionRatioGTE applies the GTE predicate on the "deduction_ratio" field.
func DeductionRatioIn ¶
func DeductionRatioIn(vs ...int32) predicate.ProxySubscribe
DeductionRatioIn applies the In predicate on the "deduction_ratio" field.
func DeductionRatioIsNil ¶
func DeductionRatioIsNil() predicate.ProxySubscribe
DeductionRatioIsNil applies the IsNil predicate on the "deduction_ratio" field.
func DeductionRatioLT ¶
func DeductionRatioLT(v int32) predicate.ProxySubscribe
DeductionRatioLT applies the LT predicate on the "deduction_ratio" field.
func DeductionRatioLTE ¶
func DeductionRatioLTE(v int32) predicate.ProxySubscribe
DeductionRatioLTE applies the LTE predicate on the "deduction_ratio" field.
func DeductionRatioNEQ ¶
func DeductionRatioNEQ(v int32) predicate.ProxySubscribe
DeductionRatioNEQ applies the NEQ predicate on the "deduction_ratio" field.
func DeductionRatioNotIn ¶
func DeductionRatioNotIn(vs ...int32) predicate.ProxySubscribe
DeductionRatioNotIn applies the NotIn predicate on the "deduction_ratio" field.
func DeductionRatioNotNil ¶
func DeductionRatioNotNil() predicate.ProxySubscribe
DeductionRatioNotNil applies the NotNil predicate on the "deduction_ratio" field.
func Description ¶
func Description(v string) predicate.ProxySubscribe
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.ProxySubscribe
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.ProxySubscribe
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.ProxySubscribe
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.ProxySubscribe
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.ProxySubscribe
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.ProxySubscribe
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.ProxySubscribe
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.ProxySubscribe
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.ProxySubscribe
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.ProxySubscribe
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.ProxySubscribe
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.ProxySubscribe
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.ProxySubscribe
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.ProxySubscribe
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.ProxySubscribe
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DeviceLimit ¶
func DeviceLimit(v int32) predicate.ProxySubscribe
DeviceLimit applies equality check predicate on the "device_limit" field. It's identical to DeviceLimitEQ.
func DeviceLimitEQ ¶
func DeviceLimitEQ(v int32) predicate.ProxySubscribe
DeviceLimitEQ applies the EQ predicate on the "device_limit" field.
func DeviceLimitGT ¶
func DeviceLimitGT(v int32) predicate.ProxySubscribe
DeviceLimitGT applies the GT predicate on the "device_limit" field.
func DeviceLimitGTE ¶
func DeviceLimitGTE(v int32) predicate.ProxySubscribe
DeviceLimitGTE applies the GTE predicate on the "device_limit" field.
func DeviceLimitIn ¶
func DeviceLimitIn(vs ...int32) predicate.ProxySubscribe
DeviceLimitIn applies the In predicate on the "device_limit" field.
func DeviceLimitLT ¶
func DeviceLimitLT(v int32) predicate.ProxySubscribe
DeviceLimitLT applies the LT predicate on the "device_limit" field.
func DeviceLimitLTE ¶
func DeviceLimitLTE(v int32) predicate.ProxySubscribe
DeviceLimitLTE applies the LTE predicate on the "device_limit" field.
func DeviceLimitNEQ ¶
func DeviceLimitNEQ(v int32) predicate.ProxySubscribe
DeviceLimitNEQ applies the NEQ predicate on the "device_limit" field.
func DeviceLimitNotIn ¶
func DeviceLimitNotIn(vs ...int32) predicate.ProxySubscribe
DeviceLimitNotIn applies the NotIn predicate on the "device_limit" field.
func Discount ¶
func Discount(v string) predicate.ProxySubscribe
Discount applies equality check predicate on the "discount" field. It's identical to DiscountEQ.
func DiscountContains ¶
func DiscountContains(v string) predicate.ProxySubscribe
DiscountContains applies the Contains predicate on the "discount" field.
func DiscountContainsFold ¶
func DiscountContainsFold(v string) predicate.ProxySubscribe
DiscountContainsFold applies the ContainsFold predicate on the "discount" field.
func DiscountEQ ¶
func DiscountEQ(v string) predicate.ProxySubscribe
DiscountEQ applies the EQ predicate on the "discount" field.
func DiscountEqualFold ¶
func DiscountEqualFold(v string) predicate.ProxySubscribe
DiscountEqualFold applies the EqualFold predicate on the "discount" field.
func DiscountGT ¶
func DiscountGT(v string) predicate.ProxySubscribe
DiscountGT applies the GT predicate on the "discount" field.
func DiscountGTE ¶
func DiscountGTE(v string) predicate.ProxySubscribe
DiscountGTE applies the GTE predicate on the "discount" field.
func DiscountHasPrefix ¶
func DiscountHasPrefix(v string) predicate.ProxySubscribe
DiscountHasPrefix applies the HasPrefix predicate on the "discount" field.
func DiscountHasSuffix ¶
func DiscountHasSuffix(v string) predicate.ProxySubscribe
DiscountHasSuffix applies the HasSuffix predicate on the "discount" field.
func DiscountIn ¶
func DiscountIn(vs ...string) predicate.ProxySubscribe
DiscountIn applies the In predicate on the "discount" field.
func DiscountIsNil ¶
func DiscountIsNil() predicate.ProxySubscribe
DiscountIsNil applies the IsNil predicate on the "discount" field.
func DiscountLT ¶
func DiscountLT(v string) predicate.ProxySubscribe
DiscountLT applies the LT predicate on the "discount" field.
func DiscountLTE ¶
func DiscountLTE(v string) predicate.ProxySubscribe
DiscountLTE applies the LTE predicate on the "discount" field.
func DiscountNEQ ¶
func DiscountNEQ(v string) predicate.ProxySubscribe
DiscountNEQ applies the NEQ predicate on the "discount" field.
func DiscountNotIn ¶
func DiscountNotIn(vs ...string) predicate.ProxySubscribe
DiscountNotIn applies the NotIn predicate on the "discount" field.
func DiscountNotNil ¶
func DiscountNotNil() predicate.ProxySubscribe
DiscountNotNil applies the NotNil predicate on the "discount" field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxySubscribe
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxySubscribe
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxySubscribe
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxySubscribe
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxySubscribe
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxySubscribe
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxySubscribe
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxySubscribe
IDNotIn applies the NotIn predicate on the ID field.
func Inventory ¶
func Inventory(v int32) predicate.ProxySubscribe
Inventory applies equality check predicate on the "inventory" field. It's identical to InventoryEQ.
func InventoryEQ ¶
func InventoryEQ(v int32) predicate.ProxySubscribe
InventoryEQ applies the EQ predicate on the "inventory" field.
func InventoryGT ¶
func InventoryGT(v int32) predicate.ProxySubscribe
InventoryGT applies the GT predicate on the "inventory" field.
func InventoryGTE ¶
func InventoryGTE(v int32) predicate.ProxySubscribe
InventoryGTE applies the GTE predicate on the "inventory" field.
func InventoryIn ¶
func InventoryIn(vs ...int32) predicate.ProxySubscribe
InventoryIn applies the In predicate on the "inventory" field.
func InventoryLT ¶
func InventoryLT(v int32) predicate.ProxySubscribe
InventoryLT applies the LT predicate on the "inventory" field.
func InventoryLTE ¶
func InventoryLTE(v int32) predicate.ProxySubscribe
InventoryLTE applies the LTE predicate on the "inventory" field.
func InventoryNEQ ¶
func InventoryNEQ(v int32) predicate.ProxySubscribe
InventoryNEQ applies the NEQ predicate on the "inventory" field.
func InventoryNotIn ¶
func InventoryNotIn(vs ...int32) predicate.ProxySubscribe
InventoryNotIn applies the NotIn predicate on the "inventory" field.
func Language ¶
func Language(v string) predicate.ProxySubscribe
Language applies equality check predicate on the "language" field. It's identical to LanguageEQ.
func LanguageContains ¶
func LanguageContains(v string) predicate.ProxySubscribe
LanguageContains applies the Contains predicate on the "language" field.
func LanguageContainsFold ¶
func LanguageContainsFold(v string) predicate.ProxySubscribe
LanguageContainsFold applies the ContainsFold predicate on the "language" field.
func LanguageEQ ¶
func LanguageEQ(v string) predicate.ProxySubscribe
LanguageEQ applies the EQ predicate on the "language" field.
func LanguageEqualFold ¶
func LanguageEqualFold(v string) predicate.ProxySubscribe
LanguageEqualFold applies the EqualFold predicate on the "language" field.
func LanguageGT ¶
func LanguageGT(v string) predicate.ProxySubscribe
LanguageGT applies the GT predicate on the "language" field.
func LanguageGTE ¶
func LanguageGTE(v string) predicate.ProxySubscribe
LanguageGTE applies the GTE predicate on the "language" field.
func LanguageHasPrefix ¶
func LanguageHasPrefix(v string) predicate.ProxySubscribe
LanguageHasPrefix applies the HasPrefix predicate on the "language" field.
func LanguageHasSuffix ¶
func LanguageHasSuffix(v string) predicate.ProxySubscribe
LanguageHasSuffix applies the HasSuffix predicate on the "language" field.
func LanguageIn ¶
func LanguageIn(vs ...string) predicate.ProxySubscribe
LanguageIn applies the In predicate on the "language" field.
func LanguageLT ¶
func LanguageLT(v string) predicate.ProxySubscribe
LanguageLT applies the LT predicate on the "language" field.
func LanguageLTE ¶
func LanguageLTE(v string) predicate.ProxySubscribe
LanguageLTE applies the LTE predicate on the "language" field.
func LanguageNEQ ¶
func LanguageNEQ(v string) predicate.ProxySubscribe
LanguageNEQ applies the NEQ predicate on the "language" field.
func LanguageNotIn ¶
func LanguageNotIn(vs ...string) predicate.ProxySubscribe
LanguageNotIn applies the NotIn predicate on the "language" field.
func Name ¶
func Name(v string) predicate.ProxySubscribe
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ProxySubscribe
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ProxySubscribe
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ProxySubscribe
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ProxySubscribe
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ProxySubscribe
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ProxySubscribe
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ProxySubscribe
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ProxySubscribe
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ProxySubscribe
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ProxySubscribe
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ProxySubscribe
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ProxySubscribe
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ProxySubscribe
NameNotIn applies the NotIn predicate on the "name" field.
func NodeGroupID ¶
func NodeGroupID(v int64) predicate.ProxySubscribe
NodeGroupID applies equality check predicate on the "node_group_id" field. It's identical to NodeGroupIDEQ.
func NodeGroupIDEQ ¶
func NodeGroupIDEQ(v int64) predicate.ProxySubscribe
NodeGroupIDEQ applies the EQ predicate on the "node_group_id" field.
func NodeGroupIDGT ¶
func NodeGroupIDGT(v int64) predicate.ProxySubscribe
NodeGroupIDGT applies the GT predicate on the "node_group_id" field.
func NodeGroupIDGTE ¶
func NodeGroupIDGTE(v int64) predicate.ProxySubscribe
NodeGroupIDGTE applies the GTE predicate on the "node_group_id" field.
func NodeGroupIDIn ¶
func NodeGroupIDIn(vs ...int64) predicate.ProxySubscribe
NodeGroupIDIn applies the In predicate on the "node_group_id" field.
func NodeGroupIDIsNil ¶
func NodeGroupIDIsNil() predicate.ProxySubscribe
NodeGroupIDIsNil applies the IsNil predicate on the "node_group_id" field.
func NodeGroupIDLT ¶
func NodeGroupIDLT(v int64) predicate.ProxySubscribe
NodeGroupIDLT applies the LT predicate on the "node_group_id" field.
func NodeGroupIDLTE ¶
func NodeGroupIDLTE(v int64) predicate.ProxySubscribe
NodeGroupIDLTE applies the LTE predicate on the "node_group_id" field.
func NodeGroupIDNEQ ¶
func NodeGroupIDNEQ(v int64) predicate.ProxySubscribe
NodeGroupIDNEQ applies the NEQ predicate on the "node_group_id" field.
func NodeGroupIDNotIn ¶
func NodeGroupIDNotIn(vs ...int64) predicate.ProxySubscribe
NodeGroupIDNotIn applies the NotIn predicate on the "node_group_id" field.
func NodeGroupIDNotNil ¶
func NodeGroupIDNotNil() predicate.ProxySubscribe
NodeGroupIDNotNil applies the NotNil predicate on the "node_group_id" field.
func NodeGroupIdsIsNil ¶
func NodeGroupIdsIsNil() predicate.ProxySubscribe
NodeGroupIdsIsNil applies the IsNil predicate on the "node_group_ids" field.
func NodeGroupIdsNotNil ¶
func NodeGroupIdsNotNil() predicate.ProxySubscribe
NodeGroupIdsNotNil applies the NotNil predicate on the "node_group_ids" field.
func NodeTags ¶
func NodeTags(v string) predicate.ProxySubscribe
NodeTags applies equality check predicate on the "node_tags" field. It's identical to NodeTagsEQ.
func NodeTagsContains ¶
func NodeTagsContains(v string) predicate.ProxySubscribe
NodeTagsContains applies the Contains predicate on the "node_tags" field.
func NodeTagsContainsFold ¶
func NodeTagsContainsFold(v string) predicate.ProxySubscribe
NodeTagsContainsFold applies the ContainsFold predicate on the "node_tags" field.
func NodeTagsEQ ¶
func NodeTagsEQ(v string) predicate.ProxySubscribe
NodeTagsEQ applies the EQ predicate on the "node_tags" field.
func NodeTagsEqualFold ¶
func NodeTagsEqualFold(v string) predicate.ProxySubscribe
NodeTagsEqualFold applies the EqualFold predicate on the "node_tags" field.
func NodeTagsGT ¶
func NodeTagsGT(v string) predicate.ProxySubscribe
NodeTagsGT applies the GT predicate on the "node_tags" field.
func NodeTagsGTE ¶
func NodeTagsGTE(v string) predicate.ProxySubscribe
NodeTagsGTE applies the GTE predicate on the "node_tags" field.
func NodeTagsHasPrefix ¶
func NodeTagsHasPrefix(v string) predicate.ProxySubscribe
NodeTagsHasPrefix applies the HasPrefix predicate on the "node_tags" field.
func NodeTagsHasSuffix ¶
func NodeTagsHasSuffix(v string) predicate.ProxySubscribe
NodeTagsHasSuffix applies the HasSuffix predicate on the "node_tags" field.
func NodeTagsIn ¶
func NodeTagsIn(vs ...string) predicate.ProxySubscribe
NodeTagsIn applies the In predicate on the "node_tags" field.
func NodeTagsLT ¶
func NodeTagsLT(v string) predicate.ProxySubscribe
NodeTagsLT applies the LT predicate on the "node_tags" field.
func NodeTagsLTE ¶
func NodeTagsLTE(v string) predicate.ProxySubscribe
NodeTagsLTE applies the LTE predicate on the "node_tags" field.
func NodeTagsNEQ ¶
func NodeTagsNEQ(v string) predicate.ProxySubscribe
NodeTagsNEQ applies the NEQ predicate on the "node_tags" field.
func NodeTagsNotIn ¶
func NodeTagsNotIn(vs ...string) predicate.ProxySubscribe
NodeTagsNotIn applies the NotIn predicate on the "node_tags" field.
func Nodes ¶
func Nodes(v string) predicate.ProxySubscribe
Nodes applies equality check predicate on the "nodes" field. It's identical to NodesEQ.
func NodesContains ¶
func NodesContains(v string) predicate.ProxySubscribe
NodesContains applies the Contains predicate on the "nodes" field.
func NodesContainsFold ¶
func NodesContainsFold(v string) predicate.ProxySubscribe
NodesContainsFold applies the ContainsFold predicate on the "nodes" field.
func NodesEQ ¶
func NodesEQ(v string) predicate.ProxySubscribe
NodesEQ applies the EQ predicate on the "nodes" field.
func NodesEqualFold ¶
func NodesEqualFold(v string) predicate.ProxySubscribe
NodesEqualFold applies the EqualFold predicate on the "nodes" field.
func NodesGT ¶
func NodesGT(v string) predicate.ProxySubscribe
NodesGT applies the GT predicate on the "nodes" field.
func NodesGTE ¶
func NodesGTE(v string) predicate.ProxySubscribe
NodesGTE applies the GTE predicate on the "nodes" field.
func NodesHasPrefix ¶
func NodesHasPrefix(v string) predicate.ProxySubscribe
NodesHasPrefix applies the HasPrefix predicate on the "nodes" field.
func NodesHasSuffix ¶
func NodesHasSuffix(v string) predicate.ProxySubscribe
NodesHasSuffix applies the HasSuffix predicate on the "nodes" field.
func NodesIn ¶
func NodesIn(vs ...string) predicate.ProxySubscribe
NodesIn applies the In predicate on the "nodes" field.
func NodesLT ¶
func NodesLT(v string) predicate.ProxySubscribe
NodesLT applies the LT predicate on the "nodes" field.
func NodesLTE ¶
func NodesLTE(v string) predicate.ProxySubscribe
NodesLTE applies the LTE predicate on the "nodes" field.
func NodesNEQ ¶
func NodesNEQ(v string) predicate.ProxySubscribe
NodesNEQ applies the NEQ predicate on the "nodes" field.
func NodesNotIn ¶
func NodesNotIn(vs ...string) predicate.ProxySubscribe
NodesNotIn applies the NotIn predicate on the "nodes" field.
func Not ¶
func Not(p predicate.ProxySubscribe) predicate.ProxySubscribe
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProxySubscribe) predicate.ProxySubscribe
Or groups predicates with the OR operator between them.
func Quota ¶
func Quota(v int32) predicate.ProxySubscribe
Quota applies equality check predicate on the "quota" field. It's identical to QuotaEQ.
func QuotaEQ ¶
func QuotaEQ(v int32) predicate.ProxySubscribe
QuotaEQ applies the EQ predicate on the "quota" field.
func QuotaGT ¶
func QuotaGT(v int32) predicate.ProxySubscribe
QuotaGT applies the GT predicate on the "quota" field.
func QuotaGTE ¶
func QuotaGTE(v int32) predicate.ProxySubscribe
QuotaGTE applies the GTE predicate on the "quota" field.
func QuotaIn ¶
func QuotaIn(vs ...int32) predicate.ProxySubscribe
QuotaIn applies the In predicate on the "quota" field.
func QuotaLT ¶
func QuotaLT(v int32) predicate.ProxySubscribe
QuotaLT applies the LT predicate on the "quota" field.
func QuotaLTE ¶
func QuotaLTE(v int32) predicate.ProxySubscribe
QuotaLTE applies the LTE predicate on the "quota" field.
func QuotaNEQ ¶
func QuotaNEQ(v int32) predicate.ProxySubscribe
QuotaNEQ applies the NEQ predicate on the "quota" field.
func QuotaNotIn ¶
func QuotaNotIn(vs ...int32) predicate.ProxySubscribe
QuotaNotIn applies the NotIn predicate on the "quota" field.
func RenewalReset ¶
func RenewalReset(v bool) predicate.ProxySubscribe
RenewalReset applies equality check predicate on the "renewal_reset" field. It's identical to RenewalResetEQ.
func RenewalResetEQ ¶
func RenewalResetEQ(v bool) predicate.ProxySubscribe
RenewalResetEQ applies the EQ predicate on the "renewal_reset" field.
func RenewalResetNEQ ¶
func RenewalResetNEQ(v bool) predicate.ProxySubscribe
RenewalResetNEQ applies the NEQ predicate on the "renewal_reset" field.
func Replacement ¶
func Replacement(v int64) predicate.ProxySubscribe
Replacement applies equality check predicate on the "replacement" field. It's identical to ReplacementEQ.
func ReplacementEQ ¶
func ReplacementEQ(v int64) predicate.ProxySubscribe
ReplacementEQ applies the EQ predicate on the "replacement" field.
func ReplacementGT ¶
func ReplacementGT(v int64) predicate.ProxySubscribe
ReplacementGT applies the GT predicate on the "replacement" field.
func ReplacementGTE ¶
func ReplacementGTE(v int64) predicate.ProxySubscribe
ReplacementGTE applies the GTE predicate on the "replacement" field.
func ReplacementIn ¶
func ReplacementIn(vs ...int64) predicate.ProxySubscribe
ReplacementIn applies the In predicate on the "replacement" field.
func ReplacementLT ¶
func ReplacementLT(v int64) predicate.ProxySubscribe
ReplacementLT applies the LT predicate on the "replacement" field.
func ReplacementLTE ¶
func ReplacementLTE(v int64) predicate.ProxySubscribe
ReplacementLTE applies the LTE predicate on the "replacement" field.
func ReplacementNEQ ¶
func ReplacementNEQ(v int64) predicate.ProxySubscribe
ReplacementNEQ applies the NEQ predicate on the "replacement" field.
func ReplacementNotIn ¶
func ReplacementNotIn(vs ...int64) predicate.ProxySubscribe
ReplacementNotIn applies the NotIn predicate on the "replacement" field.
func ResetCycle ¶
func ResetCycle(v int32) predicate.ProxySubscribe
ResetCycle applies equality check predicate on the "reset_cycle" field. It's identical to ResetCycleEQ.
func ResetCycleEQ ¶
func ResetCycleEQ(v int32) predicate.ProxySubscribe
ResetCycleEQ applies the EQ predicate on the "reset_cycle" field.
func ResetCycleGT ¶
func ResetCycleGT(v int32) predicate.ProxySubscribe
ResetCycleGT applies the GT predicate on the "reset_cycle" field.
func ResetCycleGTE ¶
func ResetCycleGTE(v int32) predicate.ProxySubscribe
ResetCycleGTE applies the GTE predicate on the "reset_cycle" field.
func ResetCycleIn ¶
func ResetCycleIn(vs ...int32) predicate.ProxySubscribe
ResetCycleIn applies the In predicate on the "reset_cycle" field.
func ResetCycleIsNil ¶
func ResetCycleIsNil() predicate.ProxySubscribe
ResetCycleIsNil applies the IsNil predicate on the "reset_cycle" field.
func ResetCycleLT ¶
func ResetCycleLT(v int32) predicate.ProxySubscribe
ResetCycleLT applies the LT predicate on the "reset_cycle" field.
func ResetCycleLTE ¶
func ResetCycleLTE(v int32) predicate.ProxySubscribe
ResetCycleLTE applies the LTE predicate on the "reset_cycle" field.
func ResetCycleNEQ ¶
func ResetCycleNEQ(v int32) predicate.ProxySubscribe
ResetCycleNEQ applies the NEQ predicate on the "reset_cycle" field.
func ResetCycleNotIn ¶
func ResetCycleNotIn(vs ...int32) predicate.ProxySubscribe
ResetCycleNotIn applies the NotIn predicate on the "reset_cycle" field.
func ResetCycleNotNil ¶
func ResetCycleNotNil() predicate.ProxySubscribe
ResetCycleNotNil applies the NotNil predicate on the "reset_cycle" field.
func Sell ¶
func Sell(v bool) predicate.ProxySubscribe
Sell applies equality check predicate on the "sell" field. It's identical to SellEQ.
func SellEQ ¶
func SellEQ(v bool) predicate.ProxySubscribe
SellEQ applies the EQ predicate on the "sell" field.
func SellNEQ ¶
func SellNEQ(v bool) predicate.ProxySubscribe
SellNEQ applies the NEQ predicate on the "sell" field.
func Show ¶
func Show(v bool) predicate.ProxySubscribe
Show applies equality check predicate on the "show" field. It's identical to ShowEQ.
func ShowEQ ¶
func ShowEQ(v bool) predicate.ProxySubscribe
ShowEQ applies the EQ predicate on the "show" field.
func ShowNEQ ¶
func ShowNEQ(v bool) predicate.ProxySubscribe
ShowNEQ applies the NEQ predicate on the "show" field.
func ShowOriginalPrice ¶
func ShowOriginalPrice(v bool) predicate.ProxySubscribe
ShowOriginalPrice applies equality check predicate on the "show_original_price" field. It's identical to ShowOriginalPriceEQ.
func ShowOriginalPriceEQ ¶
func ShowOriginalPriceEQ(v bool) predicate.ProxySubscribe
ShowOriginalPriceEQ applies the EQ predicate on the "show_original_price" field.
func ShowOriginalPriceNEQ ¶
func ShowOriginalPriceNEQ(v bool) predicate.ProxySubscribe
ShowOriginalPriceNEQ applies the NEQ predicate on the "show_original_price" field.
func Sort ¶
func Sort(v int32) predicate.ProxySubscribe
Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.
func SortEQ ¶
func SortEQ(v int32) predicate.ProxySubscribe
SortEQ applies the EQ predicate on the "sort" field.
func SortGT ¶
func SortGT(v int32) predicate.ProxySubscribe
SortGT applies the GT predicate on the "sort" field.
func SortGTE ¶
func SortGTE(v int32) predicate.ProxySubscribe
SortGTE applies the GTE predicate on the "sort" field.
func SortIn ¶
func SortIn(vs ...int32) predicate.ProxySubscribe
SortIn applies the In predicate on the "sort" field.
func SortLT ¶
func SortLT(v int32) predicate.ProxySubscribe
SortLT applies the LT predicate on the "sort" field.
func SortLTE ¶
func SortLTE(v int32) predicate.ProxySubscribe
SortLTE applies the LTE predicate on the "sort" field.
func SortNEQ ¶
func SortNEQ(v int32) predicate.ProxySubscribe
SortNEQ applies the NEQ predicate on the "sort" field.
func SortNotIn ¶
func SortNotIn(vs ...int32) predicate.ProxySubscribe
SortNotIn applies the NotIn predicate on the "sort" field.
func SpeedLimit ¶
func SpeedLimit(v int32) predicate.ProxySubscribe
SpeedLimit applies equality check predicate on the "speed_limit" field. It's identical to SpeedLimitEQ.
func SpeedLimitEQ ¶
func SpeedLimitEQ(v int32) predicate.ProxySubscribe
SpeedLimitEQ applies the EQ predicate on the "speed_limit" field.
func SpeedLimitGT ¶
func SpeedLimitGT(v int32) predicate.ProxySubscribe
SpeedLimitGT applies the GT predicate on the "speed_limit" field.
func SpeedLimitGTE ¶
func SpeedLimitGTE(v int32) predicate.ProxySubscribe
SpeedLimitGTE applies the GTE predicate on the "speed_limit" field.
func SpeedLimitIn ¶
func SpeedLimitIn(vs ...int32) predicate.ProxySubscribe
SpeedLimitIn applies the In predicate on the "speed_limit" field.
func SpeedLimitLT ¶
func SpeedLimitLT(v int32) predicate.ProxySubscribe
SpeedLimitLT applies the LT predicate on the "speed_limit" field.
func SpeedLimitLTE ¶
func SpeedLimitLTE(v int32) predicate.ProxySubscribe
SpeedLimitLTE applies the LTE predicate on the "speed_limit" field.
func SpeedLimitNEQ ¶
func SpeedLimitNEQ(v int32) predicate.ProxySubscribe
SpeedLimitNEQ applies the NEQ predicate on the "speed_limit" field.
func SpeedLimitNotIn ¶
func SpeedLimitNotIn(vs ...int32) predicate.ProxySubscribe
SpeedLimitNotIn applies the NotIn predicate on the "speed_limit" field.
func Traffic ¶
func Traffic(v int64) predicate.ProxySubscribe
Traffic applies equality check predicate on the "traffic" field. It's identical to TrafficEQ.
func TrafficEQ ¶
func TrafficEQ(v int64) predicate.ProxySubscribe
TrafficEQ applies the EQ predicate on the "traffic" field.
func TrafficGT ¶
func TrafficGT(v int64) predicate.ProxySubscribe
TrafficGT applies the GT predicate on the "traffic" field.
func TrafficGTE ¶
func TrafficGTE(v int64) predicate.ProxySubscribe
TrafficGTE applies the GTE predicate on the "traffic" field.
func TrafficIn ¶
func TrafficIn(vs ...int64) predicate.ProxySubscribe
TrafficIn applies the In predicate on the "traffic" field.
func TrafficLT ¶
func TrafficLT(v int64) predicate.ProxySubscribe
TrafficLT applies the LT predicate on the "traffic" field.
func TrafficLTE ¶
func TrafficLTE(v int64) predicate.ProxySubscribe
TrafficLTE applies the LTE predicate on the "traffic" field.
func TrafficLimit ¶
func TrafficLimit(v string) predicate.ProxySubscribe
TrafficLimit applies equality check predicate on the "traffic_limit" field. It's identical to TrafficLimitEQ.
func TrafficLimitContains ¶
func TrafficLimitContains(v string) predicate.ProxySubscribe
TrafficLimitContains applies the Contains predicate on the "traffic_limit" field.
func TrafficLimitContainsFold ¶
func TrafficLimitContainsFold(v string) predicate.ProxySubscribe
TrafficLimitContainsFold applies the ContainsFold predicate on the "traffic_limit" field.
func TrafficLimitEQ ¶
func TrafficLimitEQ(v string) predicate.ProxySubscribe
TrafficLimitEQ applies the EQ predicate on the "traffic_limit" field.
func TrafficLimitEqualFold ¶
func TrafficLimitEqualFold(v string) predicate.ProxySubscribe
TrafficLimitEqualFold applies the EqualFold predicate on the "traffic_limit" field.
func TrafficLimitGT ¶
func TrafficLimitGT(v string) predicate.ProxySubscribe
TrafficLimitGT applies the GT predicate on the "traffic_limit" field.
func TrafficLimitGTE ¶
func TrafficLimitGTE(v string) predicate.ProxySubscribe
TrafficLimitGTE applies the GTE predicate on the "traffic_limit" field.
func TrafficLimitHasPrefix ¶
func TrafficLimitHasPrefix(v string) predicate.ProxySubscribe
TrafficLimitHasPrefix applies the HasPrefix predicate on the "traffic_limit" field.
func TrafficLimitHasSuffix ¶
func TrafficLimitHasSuffix(v string) predicate.ProxySubscribe
TrafficLimitHasSuffix applies the HasSuffix predicate on the "traffic_limit" field.
func TrafficLimitIn ¶
func TrafficLimitIn(vs ...string) predicate.ProxySubscribe
TrafficLimitIn applies the In predicate on the "traffic_limit" field.
func TrafficLimitIsNil ¶
func TrafficLimitIsNil() predicate.ProxySubscribe
TrafficLimitIsNil applies the IsNil predicate on the "traffic_limit" field.
func TrafficLimitLT ¶
func TrafficLimitLT(v string) predicate.ProxySubscribe
TrafficLimitLT applies the LT predicate on the "traffic_limit" field.
func TrafficLimitLTE ¶
func TrafficLimitLTE(v string) predicate.ProxySubscribe
TrafficLimitLTE applies the LTE predicate on the "traffic_limit" field.
func TrafficLimitNEQ ¶
func TrafficLimitNEQ(v string) predicate.ProxySubscribe
TrafficLimitNEQ applies the NEQ predicate on the "traffic_limit" field.
func TrafficLimitNotIn ¶
func TrafficLimitNotIn(vs ...string) predicate.ProxySubscribe
TrafficLimitNotIn applies the NotIn predicate on the "traffic_limit" field.
func TrafficLimitNotNil ¶
func TrafficLimitNotNil() predicate.ProxySubscribe
TrafficLimitNotNil applies the NotNil predicate on the "traffic_limit" field.
func TrafficNEQ ¶
func TrafficNEQ(v int64) predicate.ProxySubscribe
TrafficNEQ applies the NEQ predicate on the "traffic" field.
func TrafficNotIn ¶
func TrafficNotIn(vs ...int64) predicate.ProxySubscribe
TrafficNotIn applies the NotIn predicate on the "traffic" field.
func UnitPrice ¶
func UnitPrice(v int64) predicate.ProxySubscribe
UnitPrice applies equality check predicate on the "unit_price" field. It's identical to UnitPriceEQ.
func UnitPriceEQ ¶
func UnitPriceEQ(v int64) predicate.ProxySubscribe
UnitPriceEQ applies the EQ predicate on the "unit_price" field.
func UnitPriceGT ¶
func UnitPriceGT(v int64) predicate.ProxySubscribe
UnitPriceGT applies the GT predicate on the "unit_price" field.
func UnitPriceGTE ¶
func UnitPriceGTE(v int64) predicate.ProxySubscribe
UnitPriceGTE applies the GTE predicate on the "unit_price" field.
func UnitPriceIn ¶
func UnitPriceIn(vs ...int64) predicate.ProxySubscribe
UnitPriceIn applies the In predicate on the "unit_price" field.
func UnitPriceLT ¶
func UnitPriceLT(v int64) predicate.ProxySubscribe
UnitPriceLT applies the LT predicate on the "unit_price" field.
func UnitPriceLTE ¶
func UnitPriceLTE(v int64) predicate.ProxySubscribe
UnitPriceLTE applies the LTE predicate on the "unit_price" field.
func UnitPriceNEQ ¶
func UnitPriceNEQ(v int64) predicate.ProxySubscribe
UnitPriceNEQ applies the NEQ predicate on the "unit_price" field.
func UnitPriceNotIn ¶
func UnitPriceNotIn(vs ...int64) predicate.ProxySubscribe
UnitPriceNotIn applies the NotIn predicate on the "unit_price" field.
func UnitTime ¶
func UnitTime(v string) predicate.ProxySubscribe
UnitTime applies equality check predicate on the "unit_time" field. It's identical to UnitTimeEQ.
func UnitTimeContains ¶
func UnitTimeContains(v string) predicate.ProxySubscribe
UnitTimeContains applies the Contains predicate on the "unit_time" field.
func UnitTimeContainsFold ¶
func UnitTimeContainsFold(v string) predicate.ProxySubscribe
UnitTimeContainsFold applies the ContainsFold predicate on the "unit_time" field.
func UnitTimeEQ ¶
func UnitTimeEQ(v string) predicate.ProxySubscribe
UnitTimeEQ applies the EQ predicate on the "unit_time" field.
func UnitTimeEqualFold ¶
func UnitTimeEqualFold(v string) predicate.ProxySubscribe
UnitTimeEqualFold applies the EqualFold predicate on the "unit_time" field.
func UnitTimeGT ¶
func UnitTimeGT(v string) predicate.ProxySubscribe
UnitTimeGT applies the GT predicate on the "unit_time" field.
func UnitTimeGTE ¶
func UnitTimeGTE(v string) predicate.ProxySubscribe
UnitTimeGTE applies the GTE predicate on the "unit_time" field.
func UnitTimeHasPrefix ¶
func UnitTimeHasPrefix(v string) predicate.ProxySubscribe
UnitTimeHasPrefix applies the HasPrefix predicate on the "unit_time" field.
func UnitTimeHasSuffix ¶
func UnitTimeHasSuffix(v string) predicate.ProxySubscribe
UnitTimeHasSuffix applies the HasSuffix predicate on the "unit_time" field.
func UnitTimeIn ¶
func UnitTimeIn(vs ...string) predicate.ProxySubscribe
UnitTimeIn applies the In predicate on the "unit_time" field.
func UnitTimeLT ¶
func UnitTimeLT(v string) predicate.ProxySubscribe
UnitTimeLT applies the LT predicate on the "unit_time" field.
func UnitTimeLTE ¶
func UnitTimeLTE(v string) predicate.ProxySubscribe
UnitTimeLTE applies the LTE predicate on the "unit_time" field.
func UnitTimeNEQ ¶
func UnitTimeNEQ(v string) predicate.ProxySubscribe
UnitTimeNEQ applies the NEQ predicate on the "unit_time" field.
func UnitTimeNotIn ¶
func UnitTimeNotIn(vs ...string) predicate.ProxySubscribe
UnitTimeNotIn applies the NotIn predicate on the "unit_time" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProxySubscribe
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProxySubscribe
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProxySubscribe
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProxySubscribe
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProxySubscribe
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProxySubscribe
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProxySubscribe
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProxySubscribe
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProxySubscribe
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 ProxySubscribe queries.
func ByAllowDeduction ¶
func ByAllowDeduction(opts ...sql.OrderTermOption) OrderOption
ByAllowDeduction orders the results by the allow_deduction field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeductionRatio ¶
func ByDeductionRatio(opts ...sql.OrderTermOption) OrderOption
ByDeductionRatio orders the results by the deduction_ratio field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDeviceLimit ¶
func ByDeviceLimit(opts ...sql.OrderTermOption) OrderOption
ByDeviceLimit orders the results by the device_limit field.
func ByDiscount ¶
func ByDiscount(opts ...sql.OrderTermOption) OrderOption
ByDiscount orders the results by the discount 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 ByLanguage ¶
func ByLanguage(opts ...sql.OrderTermOption) OrderOption
ByLanguage orders the results by the language field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByNodeGroupID ¶
func ByNodeGroupID(opts ...sql.OrderTermOption) OrderOption
ByNodeGroupID orders the results by the node_group_id field.
func ByNodeTags ¶
func ByNodeTags(opts ...sql.OrderTermOption) OrderOption
ByNodeTags orders the results by the node_tags field.
func ByNodes ¶
func ByNodes(opts ...sql.OrderTermOption) OrderOption
ByNodes orders the results by the nodes field.
func ByQuota ¶
func ByQuota(opts ...sql.OrderTermOption) OrderOption
ByQuota orders the results by the quota field.
func ByRenewalReset ¶
func ByRenewalReset(opts ...sql.OrderTermOption) OrderOption
ByRenewalReset orders the results by the renewal_reset field.
func ByReplacement ¶
func ByReplacement(opts ...sql.OrderTermOption) OrderOption
ByReplacement orders the results by the replacement field.
func ByResetCycle ¶
func ByResetCycle(opts ...sql.OrderTermOption) OrderOption
ByResetCycle orders the results by the reset_cycle 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 ByShowOriginalPrice ¶
func ByShowOriginalPrice(opts ...sql.OrderTermOption) OrderOption
ByShowOriginalPrice orders the results by the show_original_price field.
func BySort ¶
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort field.
func BySpeedLimit ¶
func BySpeedLimit(opts ...sql.OrderTermOption) OrderOption
BySpeedLimit orders the results by the speed_limit field.
func ByTraffic ¶
func ByTraffic(opts ...sql.OrderTermOption) OrderOption
ByTraffic orders the results by the traffic field.
func ByTrafficLimit ¶
func ByTrafficLimit(opts ...sql.OrderTermOption) OrderOption
ByTrafficLimit orders the results by the traffic_limit field.
func ByUnitPrice ¶
func ByUnitPrice(opts ...sql.OrderTermOption) OrderOption
ByUnitPrice orders the results by the unit_price field.
func ByUnitTime ¶
func ByUnitTime(opts ...sql.OrderTermOption) OrderOption
ByUnitTime orders the results by the unit_time field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.