Documentation
¶
Index ¶
- Constants
- Variables
- func Amount(v int64) predicate.ProxyOrder
- func AmountEQ(v int64) predicate.ProxyOrder
- func AmountGT(v int64) predicate.ProxyOrder
- func AmountGTE(v int64) predicate.ProxyOrder
- func AmountIn(vs ...int64) predicate.ProxyOrder
- func AmountLT(v int64) predicate.ProxyOrder
- func AmountLTE(v int64) predicate.ProxyOrder
- func AmountNEQ(v int64) predicate.ProxyOrder
- func AmountNotIn(vs ...int64) predicate.ProxyOrder
- func And(predicates ...predicate.ProxyOrder) predicate.ProxyOrder
- func Commission(v int64) predicate.ProxyOrder
- func CommissionEQ(v int64) predicate.ProxyOrder
- func CommissionGT(v int64) predicate.ProxyOrder
- func CommissionGTE(v int64) predicate.ProxyOrder
- func CommissionIn(vs ...int64) predicate.ProxyOrder
- func CommissionLT(v int64) predicate.ProxyOrder
- func CommissionLTE(v int64) predicate.ProxyOrder
- func CommissionNEQ(v int64) predicate.ProxyOrder
- func CommissionNotIn(vs ...int64) predicate.ProxyOrder
- func Coupon(v string) predicate.ProxyOrder
- func CouponContains(v string) predicate.ProxyOrder
- func CouponContainsFold(v string) predicate.ProxyOrder
- func CouponDiscount(v int64) predicate.ProxyOrder
- func CouponDiscountEQ(v int64) predicate.ProxyOrder
- func CouponDiscountGT(v int64) predicate.ProxyOrder
- func CouponDiscountGTE(v int64) predicate.ProxyOrder
- func CouponDiscountIn(vs ...int64) predicate.ProxyOrder
- func CouponDiscountLT(v int64) predicate.ProxyOrder
- func CouponDiscountLTE(v int64) predicate.ProxyOrder
- func CouponDiscountNEQ(v int64) predicate.ProxyOrder
- func CouponDiscountNotIn(vs ...int64) predicate.ProxyOrder
- func CouponEQ(v string) predicate.ProxyOrder
- func CouponEqualFold(v string) predicate.ProxyOrder
- func CouponGT(v string) predicate.ProxyOrder
- func CouponGTE(v string) predicate.ProxyOrder
- func CouponHasPrefix(v string) predicate.ProxyOrder
- func CouponHasSuffix(v string) predicate.ProxyOrder
- func CouponIn(vs ...string) predicate.ProxyOrder
- func CouponIsNil() predicate.ProxyOrder
- func CouponLT(v string) predicate.ProxyOrder
- func CouponLTE(v string) predicate.ProxyOrder
- func CouponNEQ(v string) predicate.ProxyOrder
- func CouponNotIn(vs ...string) predicate.ProxyOrder
- func CouponNotNil() predicate.ProxyOrder
- func CreatedAt(v time.Time) predicate.ProxyOrder
- func CreatedAtEQ(v time.Time) predicate.ProxyOrder
- func CreatedAtGT(v time.Time) predicate.ProxyOrder
- func CreatedAtGTE(v time.Time) predicate.ProxyOrder
- func CreatedAtIn(vs ...time.Time) predicate.ProxyOrder
- func CreatedAtLT(v time.Time) predicate.ProxyOrder
- func CreatedAtLTE(v time.Time) predicate.ProxyOrder
- func CreatedAtNEQ(v time.Time) predicate.ProxyOrder
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyOrder
- func Discount(v int64) predicate.ProxyOrder
- func DiscountEQ(v int64) predicate.ProxyOrder
- func DiscountGT(v int64) predicate.ProxyOrder
- func DiscountGTE(v int64) predicate.ProxyOrder
- func DiscountIn(vs ...int64) predicate.ProxyOrder
- func DiscountLT(v int64) predicate.ProxyOrder
- func DiscountLTE(v int64) predicate.ProxyOrder
- func DiscountNEQ(v int64) predicate.ProxyOrder
- func DiscountNotIn(vs ...int64) predicate.ProxyOrder
- func DurationUnit(v string) predicate.ProxyOrder
- func DurationUnitContains(v string) predicate.ProxyOrder
- func DurationUnitContainsFold(v string) predicate.ProxyOrder
- func DurationUnitEQ(v string) predicate.ProxyOrder
- func DurationUnitEqualFold(v string) predicate.ProxyOrder
- func DurationUnitGT(v string) predicate.ProxyOrder
- func DurationUnitGTE(v string) predicate.ProxyOrder
- func DurationUnitHasPrefix(v string) predicate.ProxyOrder
- func DurationUnitHasSuffix(v string) predicate.ProxyOrder
- func DurationUnitIn(vs ...string) predicate.ProxyOrder
- func DurationUnitLT(v string) predicate.ProxyOrder
- func DurationUnitLTE(v string) predicate.ProxyOrder
- func DurationUnitNEQ(v string) predicate.ProxyOrder
- func DurationUnitNotIn(vs ...string) predicate.ProxyOrder
- func DurationValue(v int64) predicate.ProxyOrder
- func DurationValueEQ(v int64) predicate.ProxyOrder
- func DurationValueGT(v int64) predicate.ProxyOrder
- func DurationValueGTE(v int64) predicate.ProxyOrder
- func DurationValueIn(vs ...int64) predicate.ProxyOrder
- func DurationValueLT(v int64) predicate.ProxyOrder
- func DurationValueLTE(v int64) predicate.ProxyOrder
- func DurationValueNEQ(v int64) predicate.ProxyOrder
- func DurationValueNotIn(vs ...int64) predicate.ProxyOrder
- func FeeAmount(v int64) predicate.ProxyOrder
- func FeeAmountEQ(v int64) predicate.ProxyOrder
- func FeeAmountGT(v int64) predicate.ProxyOrder
- func FeeAmountGTE(v int64) predicate.ProxyOrder
- func FeeAmountIn(vs ...int64) predicate.ProxyOrder
- func FeeAmountLT(v int64) predicate.ProxyOrder
- func FeeAmountLTE(v int64) predicate.ProxyOrder
- func FeeAmountNEQ(v int64) predicate.ProxyOrder
- func FeeAmountNotIn(vs ...int64) predicate.ProxyOrder
- func GiftAmount(v int64) predicate.ProxyOrder
- func GiftAmountEQ(v int64) predicate.ProxyOrder
- func GiftAmountGT(v int64) predicate.ProxyOrder
- func GiftAmountGTE(v int64) predicate.ProxyOrder
- func GiftAmountIn(vs ...int64) predicate.ProxyOrder
- func GiftAmountLT(v int64) predicate.ProxyOrder
- func GiftAmountLTE(v int64) predicate.ProxyOrder
- func GiftAmountNEQ(v int64) predicate.ProxyOrder
- func GiftAmountNotIn(vs ...int64) predicate.ProxyOrder
- func ID(id int64) predicate.ProxyOrder
- func IDEQ(id int64) predicate.ProxyOrder
- func IDGT(id int64) predicate.ProxyOrder
- func IDGTE(id int64) predicate.ProxyOrder
- func IDIn(ids ...int64) predicate.ProxyOrder
- func IDLT(id int64) predicate.ProxyOrder
- func IDLTE(id int64) predicate.ProxyOrder
- func IDNEQ(id int64) predicate.ProxyOrder
- func IDNotIn(ids ...int64) predicate.ProxyOrder
- func IsNew(v bool) predicate.ProxyOrder
- func IsNewEQ(v bool) predicate.ProxyOrder
- func IsNewNEQ(v bool) predicate.ProxyOrder
- func Method(v string) predicate.ProxyOrder
- func MethodContains(v string) predicate.ProxyOrder
- func MethodContainsFold(v string) predicate.ProxyOrder
- func MethodEQ(v string) predicate.ProxyOrder
- func MethodEqualFold(v string) predicate.ProxyOrder
- func MethodGT(v string) predicate.ProxyOrder
- func MethodGTE(v string) predicate.ProxyOrder
- func MethodHasPrefix(v string) predicate.ProxyOrder
- func MethodHasSuffix(v string) predicate.ProxyOrder
- func MethodIn(vs ...string) predicate.ProxyOrder
- func MethodLT(v string) predicate.ProxyOrder
- func MethodLTE(v string) predicate.ProxyOrder
- func MethodNEQ(v string) predicate.ProxyOrder
- func MethodNotIn(vs ...string) predicate.ProxyOrder
- func Not(p predicate.ProxyOrder) predicate.ProxyOrder
- func OptionPrice(v int64) predicate.ProxyOrder
- func OptionPriceEQ(v int64) predicate.ProxyOrder
- func OptionPriceGT(v int64) predicate.ProxyOrder
- func OptionPriceGTE(v int64) predicate.ProxyOrder
- func OptionPriceIn(vs ...int64) predicate.ProxyOrder
- func OptionPriceLT(v int64) predicate.ProxyOrder
- func OptionPriceLTE(v int64) predicate.ProxyOrder
- func OptionPriceNEQ(v int64) predicate.ProxyOrder
- func OptionPriceNotIn(vs ...int64) predicate.ProxyOrder
- func Or(predicates ...predicate.ProxyOrder) predicate.ProxyOrder
- func OrderNo(v string) predicate.ProxyOrder
- func OrderNoContains(v string) predicate.ProxyOrder
- func OrderNoContainsFold(v string) predicate.ProxyOrder
- func OrderNoEQ(v string) predicate.ProxyOrder
- func OrderNoEqualFold(v string) predicate.ProxyOrder
- func OrderNoGT(v string) predicate.ProxyOrder
- func OrderNoGTE(v string) predicate.ProxyOrder
- func OrderNoHasPrefix(v string) predicate.ProxyOrder
- func OrderNoHasSuffix(v string) predicate.ProxyOrder
- func OrderNoIn(vs ...string) predicate.ProxyOrder
- func OrderNoLT(v string) predicate.ProxyOrder
- func OrderNoLTE(v string) predicate.ProxyOrder
- func OrderNoNEQ(v string) predicate.ProxyOrder
- func OrderNoNotIn(vs ...string) predicate.ProxyOrder
- func ParentID(v int64) predicate.ProxyOrder
- func ParentIDEQ(v int64) predicate.ProxyOrder
- func ParentIDGT(v int64) predicate.ProxyOrder
- func ParentIDGTE(v int64) predicate.ProxyOrder
- func ParentIDIn(vs ...int64) predicate.ProxyOrder
- func ParentIDIsNil() predicate.ProxyOrder
- func ParentIDLT(v int64) predicate.ProxyOrder
- func ParentIDLTE(v int64) predicate.ProxyOrder
- func ParentIDNEQ(v int64) predicate.ProxyOrder
- func ParentIDNotIn(vs ...int64) predicate.ProxyOrder
- func ParentIDNotNil() predicate.ProxyOrder
- func PaymentID(v int64) predicate.ProxyOrder
- func PaymentIDEQ(v int64) predicate.ProxyOrder
- func PaymentIDGT(v int64) predicate.ProxyOrder
- func PaymentIDGTE(v int64) predicate.ProxyOrder
- func PaymentIDIn(vs ...int64) predicate.ProxyOrder
- func PaymentIDLT(v int64) predicate.ProxyOrder
- func PaymentIDLTE(v int64) predicate.ProxyOrder
- func PaymentIDNEQ(v int64) predicate.ProxyOrder
- func PaymentIDNotIn(vs ...int64) predicate.ProxyOrder
- func Price(v int64) predicate.ProxyOrder
- func PriceEQ(v int64) predicate.ProxyOrder
- func PriceGT(v int64) predicate.ProxyOrder
- func PriceGTE(v int64) predicate.ProxyOrder
- func PriceIn(vs ...int64) predicate.ProxyOrder
- func PriceLT(v int64) predicate.ProxyOrder
- func PriceLTE(v int64) predicate.ProxyOrder
- func PriceNEQ(v int64) predicate.ProxyOrder
- func PriceNotIn(vs ...int64) predicate.ProxyOrder
- func PriceOptionID(v int64) predicate.ProxyOrder
- func PriceOptionIDEQ(v int64) predicate.ProxyOrder
- func PriceOptionIDGT(v int64) predicate.ProxyOrder
- func PriceOptionIDGTE(v int64) predicate.ProxyOrder
- func PriceOptionIDIn(vs ...int64) predicate.ProxyOrder
- func PriceOptionIDLT(v int64) predicate.ProxyOrder
- func PriceOptionIDLTE(v int64) predicate.ProxyOrder
- func PriceOptionIDNEQ(v int64) predicate.ProxyOrder
- func PriceOptionIDNotIn(vs ...int64) predicate.ProxyOrder
- func PriceOptionName(v string) predicate.ProxyOrder
- func PriceOptionNameContains(v string) predicate.ProxyOrder
- func PriceOptionNameContainsFold(v string) predicate.ProxyOrder
- func PriceOptionNameEQ(v string) predicate.ProxyOrder
- func PriceOptionNameEqualFold(v string) predicate.ProxyOrder
- func PriceOptionNameGT(v string) predicate.ProxyOrder
- func PriceOptionNameGTE(v string) predicate.ProxyOrder
- func PriceOptionNameHasPrefix(v string) predicate.ProxyOrder
- func PriceOptionNameHasSuffix(v string) predicate.ProxyOrder
- func PriceOptionNameIn(vs ...string) predicate.ProxyOrder
- func PriceOptionNameLT(v string) predicate.ProxyOrder
- func PriceOptionNameLTE(v string) predicate.ProxyOrder
- func PriceOptionNameNEQ(v string) predicate.ProxyOrder
- func PriceOptionNameNotIn(vs ...string) predicate.ProxyOrder
- func Quantity(v int32) predicate.ProxyOrder
- func QuantityEQ(v int32) predicate.ProxyOrder
- func QuantityGT(v int32) predicate.ProxyOrder
- func QuantityGTE(v int32) predicate.ProxyOrder
- func QuantityIn(vs ...int32) predicate.ProxyOrder
- func QuantityLT(v int32) predicate.ProxyOrder
- func QuantityLTE(v int32) predicate.ProxyOrder
- func QuantityNEQ(v int32) predicate.ProxyOrder
- func QuantityNotIn(vs ...int32) predicate.ProxyOrder
- func Status(v int8) predicate.ProxyOrder
- func StatusEQ(v int8) predicate.ProxyOrder
- func StatusGT(v int8) predicate.ProxyOrder
- func StatusGTE(v int8) predicate.ProxyOrder
- func StatusIn(vs ...int8) predicate.ProxyOrder
- func StatusLT(v int8) predicate.ProxyOrder
- func StatusLTE(v int8) predicate.ProxyOrder
- func StatusNEQ(v int8) predicate.ProxyOrder
- func StatusNotIn(vs ...int8) predicate.ProxyOrder
- func SubscribeID(v int64) predicate.ProxyOrder
- func SubscribeIDEQ(v int64) predicate.ProxyOrder
- func SubscribeIDGT(v int64) predicate.ProxyOrder
- func SubscribeIDGTE(v int64) predicate.ProxyOrder
- func SubscribeIDIn(vs ...int64) predicate.ProxyOrder
- func SubscribeIDLT(v int64) predicate.ProxyOrder
- func SubscribeIDLTE(v int64) predicate.ProxyOrder
- func SubscribeIDNEQ(v int64) predicate.ProxyOrder
- func SubscribeIDNotIn(vs ...int64) predicate.ProxyOrder
- func SubscribeToken(v string) predicate.ProxyOrder
- func SubscribeTokenContains(v string) predicate.ProxyOrder
- func SubscribeTokenContainsFold(v string) predicate.ProxyOrder
- func SubscribeTokenEQ(v string) predicate.ProxyOrder
- func SubscribeTokenEqualFold(v string) predicate.ProxyOrder
- func SubscribeTokenGT(v string) predicate.ProxyOrder
- func SubscribeTokenGTE(v string) predicate.ProxyOrder
- func SubscribeTokenHasPrefix(v string) predicate.ProxyOrder
- func SubscribeTokenHasSuffix(v string) predicate.ProxyOrder
- func SubscribeTokenIn(vs ...string) predicate.ProxyOrder
- func SubscribeTokenIsNil() predicate.ProxyOrder
- func SubscribeTokenLT(v string) predicate.ProxyOrder
- func SubscribeTokenLTE(v string) predicate.ProxyOrder
- func SubscribeTokenNEQ(v string) predicate.ProxyOrder
- func SubscribeTokenNotIn(vs ...string) predicate.ProxyOrder
- func SubscribeTokenNotNil() predicate.ProxyOrder
- func TradeNo(v string) predicate.ProxyOrder
- func TradeNoContains(v string) predicate.ProxyOrder
- func TradeNoContainsFold(v string) predicate.ProxyOrder
- func TradeNoEQ(v string) predicate.ProxyOrder
- func TradeNoEqualFold(v string) predicate.ProxyOrder
- func TradeNoGT(v string) predicate.ProxyOrder
- func TradeNoGTE(v string) predicate.ProxyOrder
- func TradeNoHasPrefix(v string) predicate.ProxyOrder
- func TradeNoHasSuffix(v string) predicate.ProxyOrder
- func TradeNoIn(vs ...string) predicate.ProxyOrder
- func TradeNoIsNil() predicate.ProxyOrder
- func TradeNoLT(v string) predicate.ProxyOrder
- func TradeNoLTE(v string) predicate.ProxyOrder
- func TradeNoNEQ(v string) predicate.ProxyOrder
- func TradeNoNotIn(vs ...string) predicate.ProxyOrder
- func TradeNoNotNil() predicate.ProxyOrder
- func Type(v int8) predicate.ProxyOrder
- func TypeEQ(v int8) predicate.ProxyOrder
- func TypeGT(v int8) predicate.ProxyOrder
- func TypeGTE(v int8) predicate.ProxyOrder
- func TypeIn(vs ...int8) predicate.ProxyOrder
- func TypeLT(v int8) predicate.ProxyOrder
- func TypeLTE(v int8) predicate.ProxyOrder
- func TypeNEQ(v int8) predicate.ProxyOrder
- func TypeNotIn(vs ...int8) predicate.ProxyOrder
- func UpdatedAt(v time.Time) predicate.ProxyOrder
- func UpdatedAtEQ(v time.Time) predicate.ProxyOrder
- func UpdatedAtGT(v time.Time) predicate.ProxyOrder
- func UpdatedAtGTE(v time.Time) predicate.ProxyOrder
- func UpdatedAtIn(vs ...time.Time) predicate.ProxyOrder
- func UpdatedAtLT(v time.Time) predicate.ProxyOrder
- func UpdatedAtLTE(v time.Time) predicate.ProxyOrder
- func UpdatedAtNEQ(v time.Time) predicate.ProxyOrder
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyOrder
- func UserID(v int64) predicate.ProxyOrder
- func UserIDEQ(v int64) predicate.ProxyOrder
- func UserIDGT(v int64) predicate.ProxyOrder
- func UserIDGTE(v int64) predicate.ProxyOrder
- func UserIDIn(vs ...int64) predicate.ProxyOrder
- func UserIDLT(v int64) predicate.ProxyOrder
- func UserIDLTE(v int64) predicate.ProxyOrder
- func UserIDNEQ(v int64) predicate.ProxyOrder
- func UserIDNotIn(vs ...int64) predicate.ProxyOrder
- func ValidColumn(column string) bool
- type OrderOption
- func ByAmount(opts ...sql.OrderTermOption) OrderOption
- func ByCommission(opts ...sql.OrderTermOption) OrderOption
- func ByCoupon(opts ...sql.OrderTermOption) OrderOption
- func ByCouponDiscount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDiscount(opts ...sql.OrderTermOption) OrderOption
- func ByDurationUnit(opts ...sql.OrderTermOption) OrderOption
- func ByDurationValue(opts ...sql.OrderTermOption) OrderOption
- func ByFeeAmount(opts ...sql.OrderTermOption) OrderOption
- func ByGiftAmount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsNew(opts ...sql.OrderTermOption) OrderOption
- func ByMethod(opts ...sql.OrderTermOption) OrderOption
- func ByOptionPrice(opts ...sql.OrderTermOption) OrderOption
- func ByOrderNo(opts ...sql.OrderTermOption) OrderOption
- func ByParentID(opts ...sql.OrderTermOption) OrderOption
- func ByPaymentID(opts ...sql.OrderTermOption) OrderOption
- func ByPrice(opts ...sql.OrderTermOption) OrderOption
- func ByPriceOptionID(opts ...sql.OrderTermOption) OrderOption
- func ByPriceOptionName(opts ...sql.OrderTermOption) OrderOption
- func ByQuantity(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySubscribeID(opts ...sql.OrderTermOption) OrderOption
- func BySubscribeToken(opts ...sql.OrderTermOption) OrderOption
- func ByTradeNo(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxyorder type in the database. Label = "proxy_order" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldParentID holds the string denoting the parent_id field in the database. FieldParentID = "parent_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldOrderNo holds the string denoting the order_no field in the database. FieldOrderNo = "order_no" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldQuantity holds the string denoting the quantity field in the database. FieldQuantity = "quantity" // FieldPrice holds the string denoting the price field in the database. FieldPrice = "price" // FieldAmount holds the string denoting the amount field in the database. FieldAmount = "amount" // FieldGiftAmount holds the string denoting the gift_amount field in the database. FieldGiftAmount = "gift_amount" // FieldDiscount holds the string denoting the discount field in the database. FieldDiscount = "discount" // FieldCoupon holds the string denoting the coupon field in the database. FieldCoupon = "coupon" // FieldCouponDiscount holds the string denoting the coupon_discount field in the database. FieldCouponDiscount = "coupon_discount" // FieldCommission holds the string denoting the commission field in the database. FieldCommission = "commission" // FieldPaymentID holds the string denoting the payment_id field in the database. FieldPaymentID = "payment_id" // FieldMethod holds the string denoting the method field in the database. FieldMethod = "method" // FieldFeeAmount holds the string denoting the fee_amount field in the database. FieldFeeAmount = "fee_amount" // FieldTradeNo holds the string denoting the trade_no field in the database. FieldTradeNo = "trade_no" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldSubscribeID holds the string denoting the subscribe_id field in the database. FieldSubscribeID = "subscribe_id" // FieldPriceOptionID holds the string denoting the price_option_id field in the database. FieldPriceOptionID = "price_option_id" // FieldPriceOptionName holds the string denoting the price_option_name field in the database. FieldPriceOptionName = "price_option_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" // FieldOptionPrice holds the string denoting the option_price field in the database. FieldOptionPrice = "option_price" // FieldSubscribeToken holds the string denoting the subscribe_token field in the database. FieldSubscribeToken = "subscribe_token" // FieldIsNew holds the string denoting the is_new field in the database. FieldIsNew = "is_new" // 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 proxyorder in the database. Table = "order" )
Variables ¶
var ( // DefaultUserID holds the default value on creation for the "user_id" field. DefaultUserID int64 // OrderNoValidator is a validator for the "order_no" field. It is called by the builders before save. OrderNoValidator func(string) error // DefaultType holds the default value on creation for the "type" field. DefaultType int8 // DefaultQuantity holds the default value on creation for the "quantity" field. DefaultQuantity int32 // DefaultPrice holds the default value on creation for the "price" field. DefaultPrice int64 // DefaultAmount holds the default value on creation for the "amount" field. DefaultAmount int64 // DefaultGiftAmount holds the default value on creation for the "gift_amount" field. DefaultGiftAmount int64 // DefaultDiscount holds the default value on creation for the "discount" field. DefaultDiscount int64 // CouponValidator is a validator for the "coupon" field. It is called by the builders before save. CouponValidator func(string) error // DefaultCouponDiscount holds the default value on creation for the "coupon_discount" field. DefaultCouponDiscount int64 // DefaultCommission holds the default value on creation for the "commission" field. DefaultCommission int64 // DefaultPaymentID holds the default value on creation for the "payment_id" field. DefaultPaymentID int64 // DefaultMethod holds the default value on creation for the "method" field. DefaultMethod string // MethodValidator is a validator for the "method" field. It is called by the builders before save. MethodValidator func(string) error // DefaultFeeAmount holds the default value on creation for the "fee_amount" field. DefaultFeeAmount int64 // TradeNoValidator is a validator for the "trade_no" field. It is called by the builders before save. TradeNoValidator func(string) error // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus int8 // DefaultSubscribeID holds the default value on creation for the "subscribe_id" field. DefaultSubscribeID int64 // DefaultPriceOptionID holds the default value on creation for the "price_option_id" field. DefaultPriceOptionID int64 // DefaultPriceOptionName holds the default value on creation for the "price_option_name" field. DefaultPriceOptionName string // PriceOptionNameValidator is a validator for the "price_option_name" field. It is called by the builders before save. PriceOptionNameValidator 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 // DefaultOptionPrice holds the default value on creation for the "option_price" field. DefaultOptionPrice int64 // SubscribeTokenValidator is a validator for the "subscribe_token" field. It is called by the builders before save. SubscribeTokenValidator func(string) error // DefaultIsNew holds the default value on creation for the "is_new" field. DefaultIsNew 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 )
var Columns = []string{ FieldID, FieldParentID, FieldUserID, FieldOrderNo, FieldType, FieldQuantity, FieldPrice, FieldAmount, FieldGiftAmount, FieldDiscount, FieldCoupon, FieldCouponDiscount, FieldCommission, FieldPaymentID, FieldMethod, FieldFeeAmount, FieldTradeNo, FieldStatus, FieldSubscribeID, FieldPriceOptionID, FieldPriceOptionName, FieldDurationUnit, FieldDurationValue, FieldOptionPrice, FieldSubscribeToken, FieldIsNew, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for proxyorder fields.
Functions ¶
func Amount ¶
func Amount(v int64) predicate.ProxyOrder
Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.
func AmountEQ ¶
func AmountEQ(v int64) predicate.ProxyOrder
AmountEQ applies the EQ predicate on the "amount" field.
func AmountGT ¶
func AmountGT(v int64) predicate.ProxyOrder
AmountGT applies the GT predicate on the "amount" field.
func AmountGTE ¶
func AmountGTE(v int64) predicate.ProxyOrder
AmountGTE applies the GTE predicate on the "amount" field.
func AmountIn ¶
func AmountIn(vs ...int64) predicate.ProxyOrder
AmountIn applies the In predicate on the "amount" field.
func AmountLT ¶
func AmountLT(v int64) predicate.ProxyOrder
AmountLT applies the LT predicate on the "amount" field.
func AmountLTE ¶
func AmountLTE(v int64) predicate.ProxyOrder
AmountLTE applies the LTE predicate on the "amount" field.
func AmountNEQ ¶
func AmountNEQ(v int64) predicate.ProxyOrder
AmountNEQ applies the NEQ predicate on the "amount" field.
func AmountNotIn ¶
func AmountNotIn(vs ...int64) predicate.ProxyOrder
AmountNotIn applies the NotIn predicate on the "amount" field.
func And ¶
func And(predicates ...predicate.ProxyOrder) predicate.ProxyOrder
And groups predicates with the AND operator between them.
func Commission ¶
func Commission(v int64) predicate.ProxyOrder
Commission applies equality check predicate on the "commission" field. It's identical to CommissionEQ.
func CommissionEQ ¶
func CommissionEQ(v int64) predicate.ProxyOrder
CommissionEQ applies the EQ predicate on the "commission" field.
func CommissionGT ¶
func CommissionGT(v int64) predicate.ProxyOrder
CommissionGT applies the GT predicate on the "commission" field.
func CommissionGTE ¶
func CommissionGTE(v int64) predicate.ProxyOrder
CommissionGTE applies the GTE predicate on the "commission" field.
func CommissionIn ¶
func CommissionIn(vs ...int64) predicate.ProxyOrder
CommissionIn applies the In predicate on the "commission" field.
func CommissionLT ¶
func CommissionLT(v int64) predicate.ProxyOrder
CommissionLT applies the LT predicate on the "commission" field.
func CommissionLTE ¶
func CommissionLTE(v int64) predicate.ProxyOrder
CommissionLTE applies the LTE predicate on the "commission" field.
func CommissionNEQ ¶
func CommissionNEQ(v int64) predicate.ProxyOrder
CommissionNEQ applies the NEQ predicate on the "commission" field.
func CommissionNotIn ¶
func CommissionNotIn(vs ...int64) predicate.ProxyOrder
CommissionNotIn applies the NotIn predicate on the "commission" field.
func Coupon ¶
func Coupon(v string) predicate.ProxyOrder
Coupon applies equality check predicate on the "coupon" field. It's identical to CouponEQ.
func CouponContains ¶
func CouponContains(v string) predicate.ProxyOrder
CouponContains applies the Contains predicate on the "coupon" field.
func CouponContainsFold ¶
func CouponContainsFold(v string) predicate.ProxyOrder
CouponContainsFold applies the ContainsFold predicate on the "coupon" field.
func CouponDiscount ¶
func CouponDiscount(v int64) predicate.ProxyOrder
CouponDiscount applies equality check predicate on the "coupon_discount" field. It's identical to CouponDiscountEQ.
func CouponDiscountEQ ¶
func CouponDiscountEQ(v int64) predicate.ProxyOrder
CouponDiscountEQ applies the EQ predicate on the "coupon_discount" field.
func CouponDiscountGT ¶
func CouponDiscountGT(v int64) predicate.ProxyOrder
CouponDiscountGT applies the GT predicate on the "coupon_discount" field.
func CouponDiscountGTE ¶
func CouponDiscountGTE(v int64) predicate.ProxyOrder
CouponDiscountGTE applies the GTE predicate on the "coupon_discount" field.
func CouponDiscountIn ¶
func CouponDiscountIn(vs ...int64) predicate.ProxyOrder
CouponDiscountIn applies the In predicate on the "coupon_discount" field.
func CouponDiscountLT ¶
func CouponDiscountLT(v int64) predicate.ProxyOrder
CouponDiscountLT applies the LT predicate on the "coupon_discount" field.
func CouponDiscountLTE ¶
func CouponDiscountLTE(v int64) predicate.ProxyOrder
CouponDiscountLTE applies the LTE predicate on the "coupon_discount" field.
func CouponDiscountNEQ ¶
func CouponDiscountNEQ(v int64) predicate.ProxyOrder
CouponDiscountNEQ applies the NEQ predicate on the "coupon_discount" field.
func CouponDiscountNotIn ¶
func CouponDiscountNotIn(vs ...int64) predicate.ProxyOrder
CouponDiscountNotIn applies the NotIn predicate on the "coupon_discount" field.
func CouponEQ ¶
func CouponEQ(v string) predicate.ProxyOrder
CouponEQ applies the EQ predicate on the "coupon" field.
func CouponEqualFold ¶
func CouponEqualFold(v string) predicate.ProxyOrder
CouponEqualFold applies the EqualFold predicate on the "coupon" field.
func CouponGT ¶
func CouponGT(v string) predicate.ProxyOrder
CouponGT applies the GT predicate on the "coupon" field.
func CouponGTE ¶
func CouponGTE(v string) predicate.ProxyOrder
CouponGTE applies the GTE predicate on the "coupon" field.
func CouponHasPrefix ¶
func CouponHasPrefix(v string) predicate.ProxyOrder
CouponHasPrefix applies the HasPrefix predicate on the "coupon" field.
func CouponHasSuffix ¶
func CouponHasSuffix(v string) predicate.ProxyOrder
CouponHasSuffix applies the HasSuffix predicate on the "coupon" field.
func CouponIn ¶
func CouponIn(vs ...string) predicate.ProxyOrder
CouponIn applies the In predicate on the "coupon" field.
func CouponIsNil ¶
func CouponIsNil() predicate.ProxyOrder
CouponIsNil applies the IsNil predicate on the "coupon" field.
func CouponLT ¶
func CouponLT(v string) predicate.ProxyOrder
CouponLT applies the LT predicate on the "coupon" field.
func CouponLTE ¶
func CouponLTE(v string) predicate.ProxyOrder
CouponLTE applies the LTE predicate on the "coupon" field.
func CouponNEQ ¶
func CouponNEQ(v string) predicate.ProxyOrder
CouponNEQ applies the NEQ predicate on the "coupon" field.
func CouponNotIn ¶
func CouponNotIn(vs ...string) predicate.ProxyOrder
CouponNotIn applies the NotIn predicate on the "coupon" field.
func CouponNotNil ¶
func CouponNotNil() predicate.ProxyOrder
CouponNotNil applies the NotNil predicate on the "coupon" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxyOrder
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxyOrder
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxyOrder
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxyOrder
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxyOrder
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxyOrder
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxyOrder
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxyOrder
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxyOrder
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Discount ¶
func Discount(v int64) predicate.ProxyOrder
Discount applies equality check predicate on the "discount" field. It's identical to DiscountEQ.
func DiscountEQ ¶
func DiscountEQ(v int64) predicate.ProxyOrder
DiscountEQ applies the EQ predicate on the "discount" field.
func DiscountGT ¶
func DiscountGT(v int64) predicate.ProxyOrder
DiscountGT applies the GT predicate on the "discount" field.
func DiscountGTE ¶
func DiscountGTE(v int64) predicate.ProxyOrder
DiscountGTE applies the GTE predicate on the "discount" field.
func DiscountIn ¶
func DiscountIn(vs ...int64) predicate.ProxyOrder
DiscountIn applies the In predicate on the "discount" field.
func DiscountLT ¶
func DiscountLT(v int64) predicate.ProxyOrder
DiscountLT applies the LT predicate on the "discount" field.
func DiscountLTE ¶
func DiscountLTE(v int64) predicate.ProxyOrder
DiscountLTE applies the LTE predicate on the "discount" field.
func DiscountNEQ ¶
func DiscountNEQ(v int64) predicate.ProxyOrder
DiscountNEQ applies the NEQ predicate on the "discount" field.
func DiscountNotIn ¶
func DiscountNotIn(vs ...int64) predicate.ProxyOrder
DiscountNotIn applies the NotIn predicate on the "discount" field.
func DurationUnit ¶ added in v1.0.10
func DurationUnit(v string) predicate.ProxyOrder
DurationUnit applies equality check predicate on the "duration_unit" field. It's identical to DurationUnitEQ.
func DurationUnitContains ¶ added in v1.0.10
func DurationUnitContains(v string) predicate.ProxyOrder
DurationUnitContains applies the Contains predicate on the "duration_unit" field.
func DurationUnitContainsFold ¶ added in v1.0.10
func DurationUnitContainsFold(v string) predicate.ProxyOrder
DurationUnitContainsFold applies the ContainsFold predicate on the "duration_unit" field.
func DurationUnitEQ ¶ added in v1.0.10
func DurationUnitEQ(v string) predicate.ProxyOrder
DurationUnitEQ applies the EQ predicate on the "duration_unit" field.
func DurationUnitEqualFold ¶ added in v1.0.10
func DurationUnitEqualFold(v string) predicate.ProxyOrder
DurationUnitEqualFold applies the EqualFold predicate on the "duration_unit" field.
func DurationUnitGT ¶ added in v1.0.10
func DurationUnitGT(v string) predicate.ProxyOrder
DurationUnitGT applies the GT predicate on the "duration_unit" field.
func DurationUnitGTE ¶ added in v1.0.10
func DurationUnitGTE(v string) predicate.ProxyOrder
DurationUnitGTE applies the GTE predicate on the "duration_unit" field.
func DurationUnitHasPrefix ¶ added in v1.0.10
func DurationUnitHasPrefix(v string) predicate.ProxyOrder
DurationUnitHasPrefix applies the HasPrefix predicate on the "duration_unit" field.
func DurationUnitHasSuffix ¶ added in v1.0.10
func DurationUnitHasSuffix(v string) predicate.ProxyOrder
DurationUnitHasSuffix applies the HasSuffix predicate on the "duration_unit" field.
func DurationUnitIn ¶ added in v1.0.10
func DurationUnitIn(vs ...string) predicate.ProxyOrder
DurationUnitIn applies the In predicate on the "duration_unit" field.
func DurationUnitLT ¶ added in v1.0.10
func DurationUnitLT(v string) predicate.ProxyOrder
DurationUnitLT applies the LT predicate on the "duration_unit" field.
func DurationUnitLTE ¶ added in v1.0.10
func DurationUnitLTE(v string) predicate.ProxyOrder
DurationUnitLTE applies the LTE predicate on the "duration_unit" field.
func DurationUnitNEQ ¶ added in v1.0.10
func DurationUnitNEQ(v string) predicate.ProxyOrder
DurationUnitNEQ applies the NEQ predicate on the "duration_unit" field.
func DurationUnitNotIn ¶ added in v1.0.10
func DurationUnitNotIn(vs ...string) predicate.ProxyOrder
DurationUnitNotIn applies the NotIn predicate on the "duration_unit" field.
func DurationValue ¶ added in v1.0.10
func DurationValue(v int64) predicate.ProxyOrder
DurationValue applies equality check predicate on the "duration_value" field. It's identical to DurationValueEQ.
func DurationValueEQ ¶ added in v1.0.10
func DurationValueEQ(v int64) predicate.ProxyOrder
DurationValueEQ applies the EQ predicate on the "duration_value" field.
func DurationValueGT ¶ added in v1.0.10
func DurationValueGT(v int64) predicate.ProxyOrder
DurationValueGT applies the GT predicate on the "duration_value" field.
func DurationValueGTE ¶ added in v1.0.10
func DurationValueGTE(v int64) predicate.ProxyOrder
DurationValueGTE applies the GTE predicate on the "duration_value" field.
func DurationValueIn ¶ added in v1.0.10
func DurationValueIn(vs ...int64) predicate.ProxyOrder
DurationValueIn applies the In predicate on the "duration_value" field.
func DurationValueLT ¶ added in v1.0.10
func DurationValueLT(v int64) predicate.ProxyOrder
DurationValueLT applies the LT predicate on the "duration_value" field.
func DurationValueLTE ¶ added in v1.0.10
func DurationValueLTE(v int64) predicate.ProxyOrder
DurationValueLTE applies the LTE predicate on the "duration_value" field.
func DurationValueNEQ ¶ added in v1.0.10
func DurationValueNEQ(v int64) predicate.ProxyOrder
DurationValueNEQ applies the NEQ predicate on the "duration_value" field.
func DurationValueNotIn ¶ added in v1.0.10
func DurationValueNotIn(vs ...int64) predicate.ProxyOrder
DurationValueNotIn applies the NotIn predicate on the "duration_value" field.
func FeeAmount ¶
func FeeAmount(v int64) predicate.ProxyOrder
FeeAmount applies equality check predicate on the "fee_amount" field. It's identical to FeeAmountEQ.
func FeeAmountEQ ¶
func FeeAmountEQ(v int64) predicate.ProxyOrder
FeeAmountEQ applies the EQ predicate on the "fee_amount" field.
func FeeAmountGT ¶
func FeeAmountGT(v int64) predicate.ProxyOrder
FeeAmountGT applies the GT predicate on the "fee_amount" field.
func FeeAmountGTE ¶
func FeeAmountGTE(v int64) predicate.ProxyOrder
FeeAmountGTE applies the GTE predicate on the "fee_amount" field.
func FeeAmountIn ¶
func FeeAmountIn(vs ...int64) predicate.ProxyOrder
FeeAmountIn applies the In predicate on the "fee_amount" field.
func FeeAmountLT ¶
func FeeAmountLT(v int64) predicate.ProxyOrder
FeeAmountLT applies the LT predicate on the "fee_amount" field.
func FeeAmountLTE ¶
func FeeAmountLTE(v int64) predicate.ProxyOrder
FeeAmountLTE applies the LTE predicate on the "fee_amount" field.
func FeeAmountNEQ ¶
func FeeAmountNEQ(v int64) predicate.ProxyOrder
FeeAmountNEQ applies the NEQ predicate on the "fee_amount" field.
func FeeAmountNotIn ¶
func FeeAmountNotIn(vs ...int64) predicate.ProxyOrder
FeeAmountNotIn applies the NotIn predicate on the "fee_amount" field.
func GiftAmount ¶
func GiftAmount(v int64) predicate.ProxyOrder
GiftAmount applies equality check predicate on the "gift_amount" field. It's identical to GiftAmountEQ.
func GiftAmountEQ ¶
func GiftAmountEQ(v int64) predicate.ProxyOrder
GiftAmountEQ applies the EQ predicate on the "gift_amount" field.
func GiftAmountGT ¶
func GiftAmountGT(v int64) predicate.ProxyOrder
GiftAmountGT applies the GT predicate on the "gift_amount" field.
func GiftAmountGTE ¶
func GiftAmountGTE(v int64) predicate.ProxyOrder
GiftAmountGTE applies the GTE predicate on the "gift_amount" field.
func GiftAmountIn ¶
func GiftAmountIn(vs ...int64) predicate.ProxyOrder
GiftAmountIn applies the In predicate on the "gift_amount" field.
func GiftAmountLT ¶
func GiftAmountLT(v int64) predicate.ProxyOrder
GiftAmountLT applies the LT predicate on the "gift_amount" field.
func GiftAmountLTE ¶
func GiftAmountLTE(v int64) predicate.ProxyOrder
GiftAmountLTE applies the LTE predicate on the "gift_amount" field.
func GiftAmountNEQ ¶
func GiftAmountNEQ(v int64) predicate.ProxyOrder
GiftAmountNEQ applies the NEQ predicate on the "gift_amount" field.
func GiftAmountNotIn ¶
func GiftAmountNotIn(vs ...int64) predicate.ProxyOrder
GiftAmountNotIn applies the NotIn predicate on the "gift_amount" field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxyOrder
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxyOrder
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxyOrder
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxyOrder
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxyOrder
IDNotIn applies the NotIn predicate on the ID field.
func IsNew ¶
func IsNew(v bool) predicate.ProxyOrder
IsNew applies equality check predicate on the "is_new" field. It's identical to IsNewEQ.
func IsNewEQ ¶
func IsNewEQ(v bool) predicate.ProxyOrder
IsNewEQ applies the EQ predicate on the "is_new" field.
func IsNewNEQ ¶
func IsNewNEQ(v bool) predicate.ProxyOrder
IsNewNEQ applies the NEQ predicate on the "is_new" field.
func Method ¶
func Method(v string) predicate.ProxyOrder
Method applies equality check predicate on the "method" field. It's identical to MethodEQ.
func MethodContains ¶
func MethodContains(v string) predicate.ProxyOrder
MethodContains applies the Contains predicate on the "method" field.
func MethodContainsFold ¶
func MethodContainsFold(v string) predicate.ProxyOrder
MethodContainsFold applies the ContainsFold predicate on the "method" field.
func MethodEQ ¶
func MethodEQ(v string) predicate.ProxyOrder
MethodEQ applies the EQ predicate on the "method" field.
func MethodEqualFold ¶
func MethodEqualFold(v string) predicate.ProxyOrder
MethodEqualFold applies the EqualFold predicate on the "method" field.
func MethodGT ¶
func MethodGT(v string) predicate.ProxyOrder
MethodGT applies the GT predicate on the "method" field.
func MethodGTE ¶
func MethodGTE(v string) predicate.ProxyOrder
MethodGTE applies the GTE predicate on the "method" field.
func MethodHasPrefix ¶
func MethodHasPrefix(v string) predicate.ProxyOrder
MethodHasPrefix applies the HasPrefix predicate on the "method" field.
func MethodHasSuffix ¶
func MethodHasSuffix(v string) predicate.ProxyOrder
MethodHasSuffix applies the HasSuffix predicate on the "method" field.
func MethodIn ¶
func MethodIn(vs ...string) predicate.ProxyOrder
MethodIn applies the In predicate on the "method" field.
func MethodLT ¶
func MethodLT(v string) predicate.ProxyOrder
MethodLT applies the LT predicate on the "method" field.
func MethodLTE ¶
func MethodLTE(v string) predicate.ProxyOrder
MethodLTE applies the LTE predicate on the "method" field.
func MethodNEQ ¶
func MethodNEQ(v string) predicate.ProxyOrder
MethodNEQ applies the NEQ predicate on the "method" field.
func MethodNotIn ¶
func MethodNotIn(vs ...string) predicate.ProxyOrder
MethodNotIn applies the NotIn predicate on the "method" field.
func Not ¶
func Not(p predicate.ProxyOrder) predicate.ProxyOrder
Not applies the not operator on the given predicate.
func OptionPrice ¶ added in v1.0.10
func OptionPrice(v int64) predicate.ProxyOrder
OptionPrice applies equality check predicate on the "option_price" field. It's identical to OptionPriceEQ.
func OptionPriceEQ ¶ added in v1.0.10
func OptionPriceEQ(v int64) predicate.ProxyOrder
OptionPriceEQ applies the EQ predicate on the "option_price" field.
func OptionPriceGT ¶ added in v1.0.10
func OptionPriceGT(v int64) predicate.ProxyOrder
OptionPriceGT applies the GT predicate on the "option_price" field.
func OptionPriceGTE ¶ added in v1.0.10
func OptionPriceGTE(v int64) predicate.ProxyOrder
OptionPriceGTE applies the GTE predicate on the "option_price" field.
func OptionPriceIn ¶ added in v1.0.10
func OptionPriceIn(vs ...int64) predicate.ProxyOrder
OptionPriceIn applies the In predicate on the "option_price" field.
func OptionPriceLT ¶ added in v1.0.10
func OptionPriceLT(v int64) predicate.ProxyOrder
OptionPriceLT applies the LT predicate on the "option_price" field.
func OptionPriceLTE ¶ added in v1.0.10
func OptionPriceLTE(v int64) predicate.ProxyOrder
OptionPriceLTE applies the LTE predicate on the "option_price" field.
func OptionPriceNEQ ¶ added in v1.0.10
func OptionPriceNEQ(v int64) predicate.ProxyOrder
OptionPriceNEQ applies the NEQ predicate on the "option_price" field.
func OptionPriceNotIn ¶ added in v1.0.10
func OptionPriceNotIn(vs ...int64) predicate.ProxyOrder
OptionPriceNotIn applies the NotIn predicate on the "option_price" field.
func Or ¶
func Or(predicates ...predicate.ProxyOrder) predicate.ProxyOrder
Or groups predicates with the OR operator between them.
func OrderNo ¶
func OrderNo(v string) predicate.ProxyOrder
OrderNo applies equality check predicate on the "order_no" field. It's identical to OrderNoEQ.
func OrderNoContains ¶
func OrderNoContains(v string) predicate.ProxyOrder
OrderNoContains applies the Contains predicate on the "order_no" field.
func OrderNoContainsFold ¶
func OrderNoContainsFold(v string) predicate.ProxyOrder
OrderNoContainsFold applies the ContainsFold predicate on the "order_no" field.
func OrderNoEQ ¶
func OrderNoEQ(v string) predicate.ProxyOrder
OrderNoEQ applies the EQ predicate on the "order_no" field.
func OrderNoEqualFold ¶
func OrderNoEqualFold(v string) predicate.ProxyOrder
OrderNoEqualFold applies the EqualFold predicate on the "order_no" field.
func OrderNoGT ¶
func OrderNoGT(v string) predicate.ProxyOrder
OrderNoGT applies the GT predicate on the "order_no" field.
func OrderNoGTE ¶
func OrderNoGTE(v string) predicate.ProxyOrder
OrderNoGTE applies the GTE predicate on the "order_no" field.
func OrderNoHasPrefix ¶
func OrderNoHasPrefix(v string) predicate.ProxyOrder
OrderNoHasPrefix applies the HasPrefix predicate on the "order_no" field.
func OrderNoHasSuffix ¶
func OrderNoHasSuffix(v string) predicate.ProxyOrder
OrderNoHasSuffix applies the HasSuffix predicate on the "order_no" field.
func OrderNoIn ¶
func OrderNoIn(vs ...string) predicate.ProxyOrder
OrderNoIn applies the In predicate on the "order_no" field.
func OrderNoLT ¶
func OrderNoLT(v string) predicate.ProxyOrder
OrderNoLT applies the LT predicate on the "order_no" field.
func OrderNoLTE ¶
func OrderNoLTE(v string) predicate.ProxyOrder
OrderNoLTE applies the LTE predicate on the "order_no" field.
func OrderNoNEQ ¶
func OrderNoNEQ(v string) predicate.ProxyOrder
OrderNoNEQ applies the NEQ predicate on the "order_no" field.
func OrderNoNotIn ¶
func OrderNoNotIn(vs ...string) predicate.ProxyOrder
OrderNoNotIn applies the NotIn predicate on the "order_no" field.
func ParentID ¶
func ParentID(v int64) predicate.ProxyOrder
ParentID applies equality check predicate on the "parent_id" field. It's identical to ParentIDEQ.
func ParentIDEQ ¶
func ParentIDEQ(v int64) predicate.ProxyOrder
ParentIDEQ applies the EQ predicate on the "parent_id" field.
func ParentIDGT ¶
func ParentIDGT(v int64) predicate.ProxyOrder
ParentIDGT applies the GT predicate on the "parent_id" field.
func ParentIDGTE ¶
func ParentIDGTE(v int64) predicate.ProxyOrder
ParentIDGTE applies the GTE predicate on the "parent_id" field.
func ParentIDIn ¶
func ParentIDIn(vs ...int64) predicate.ProxyOrder
ParentIDIn applies the In predicate on the "parent_id" field.
func ParentIDIsNil ¶
func ParentIDIsNil() predicate.ProxyOrder
ParentIDIsNil applies the IsNil predicate on the "parent_id" field.
func ParentIDLT ¶
func ParentIDLT(v int64) predicate.ProxyOrder
ParentIDLT applies the LT predicate on the "parent_id" field.
func ParentIDLTE ¶
func ParentIDLTE(v int64) predicate.ProxyOrder
ParentIDLTE applies the LTE predicate on the "parent_id" field.
func ParentIDNEQ ¶
func ParentIDNEQ(v int64) predicate.ProxyOrder
ParentIDNEQ applies the NEQ predicate on the "parent_id" field.
func ParentIDNotIn ¶
func ParentIDNotIn(vs ...int64) predicate.ProxyOrder
ParentIDNotIn applies the NotIn predicate on the "parent_id" field.
func ParentIDNotNil ¶
func ParentIDNotNil() predicate.ProxyOrder
ParentIDNotNil applies the NotNil predicate on the "parent_id" field.
func PaymentID ¶
func PaymentID(v int64) predicate.ProxyOrder
PaymentID applies equality check predicate on the "payment_id" field. It's identical to PaymentIDEQ.
func PaymentIDEQ ¶
func PaymentIDEQ(v int64) predicate.ProxyOrder
PaymentIDEQ applies the EQ predicate on the "payment_id" field.
func PaymentIDGT ¶
func PaymentIDGT(v int64) predicate.ProxyOrder
PaymentIDGT applies the GT predicate on the "payment_id" field.
func PaymentIDGTE ¶
func PaymentIDGTE(v int64) predicate.ProxyOrder
PaymentIDGTE applies the GTE predicate on the "payment_id" field.
func PaymentIDIn ¶
func PaymentIDIn(vs ...int64) predicate.ProxyOrder
PaymentIDIn applies the In predicate on the "payment_id" field.
func PaymentIDLT ¶
func PaymentIDLT(v int64) predicate.ProxyOrder
PaymentIDLT applies the LT predicate on the "payment_id" field.
func PaymentIDLTE ¶
func PaymentIDLTE(v int64) predicate.ProxyOrder
PaymentIDLTE applies the LTE predicate on the "payment_id" field.
func PaymentIDNEQ ¶
func PaymentIDNEQ(v int64) predicate.ProxyOrder
PaymentIDNEQ applies the NEQ predicate on the "payment_id" field.
func PaymentIDNotIn ¶
func PaymentIDNotIn(vs ...int64) predicate.ProxyOrder
PaymentIDNotIn applies the NotIn predicate on the "payment_id" field.
func Price ¶
func Price(v int64) predicate.ProxyOrder
Price applies equality check predicate on the "price" field. It's identical to PriceEQ.
func PriceEQ ¶
func PriceEQ(v int64) predicate.ProxyOrder
PriceEQ applies the EQ predicate on the "price" field.
func PriceGT ¶
func PriceGT(v int64) predicate.ProxyOrder
PriceGT applies the GT predicate on the "price" field.
func PriceGTE ¶
func PriceGTE(v int64) predicate.ProxyOrder
PriceGTE applies the GTE predicate on the "price" field.
func PriceIn ¶
func PriceIn(vs ...int64) predicate.ProxyOrder
PriceIn applies the In predicate on the "price" field.
func PriceLT ¶
func PriceLT(v int64) predicate.ProxyOrder
PriceLT applies the LT predicate on the "price" field.
func PriceLTE ¶
func PriceLTE(v int64) predicate.ProxyOrder
PriceLTE applies the LTE predicate on the "price" field.
func PriceNEQ ¶
func PriceNEQ(v int64) predicate.ProxyOrder
PriceNEQ applies the NEQ predicate on the "price" field.
func PriceNotIn ¶
func PriceNotIn(vs ...int64) predicate.ProxyOrder
PriceNotIn applies the NotIn predicate on the "price" field.
func PriceOptionID ¶ added in v1.0.10
func PriceOptionID(v int64) predicate.ProxyOrder
PriceOptionID applies equality check predicate on the "price_option_id" field. It's identical to PriceOptionIDEQ.
func PriceOptionIDEQ ¶ added in v1.0.10
func PriceOptionIDEQ(v int64) predicate.ProxyOrder
PriceOptionIDEQ applies the EQ predicate on the "price_option_id" field.
func PriceOptionIDGT ¶ added in v1.0.10
func PriceOptionIDGT(v int64) predicate.ProxyOrder
PriceOptionIDGT applies the GT predicate on the "price_option_id" field.
func PriceOptionIDGTE ¶ added in v1.0.10
func PriceOptionIDGTE(v int64) predicate.ProxyOrder
PriceOptionIDGTE applies the GTE predicate on the "price_option_id" field.
func PriceOptionIDIn ¶ added in v1.0.10
func PriceOptionIDIn(vs ...int64) predicate.ProxyOrder
PriceOptionIDIn applies the In predicate on the "price_option_id" field.
func PriceOptionIDLT ¶ added in v1.0.10
func PriceOptionIDLT(v int64) predicate.ProxyOrder
PriceOptionIDLT applies the LT predicate on the "price_option_id" field.
func PriceOptionIDLTE ¶ added in v1.0.10
func PriceOptionIDLTE(v int64) predicate.ProxyOrder
PriceOptionIDLTE applies the LTE predicate on the "price_option_id" field.
func PriceOptionIDNEQ ¶ added in v1.0.10
func PriceOptionIDNEQ(v int64) predicate.ProxyOrder
PriceOptionIDNEQ applies the NEQ predicate on the "price_option_id" field.
func PriceOptionIDNotIn ¶ added in v1.0.10
func PriceOptionIDNotIn(vs ...int64) predicate.ProxyOrder
PriceOptionIDNotIn applies the NotIn predicate on the "price_option_id" field.
func PriceOptionName ¶ added in v1.0.10
func PriceOptionName(v string) predicate.ProxyOrder
PriceOptionName applies equality check predicate on the "price_option_name" field. It's identical to PriceOptionNameEQ.
func PriceOptionNameContains ¶ added in v1.0.10
func PriceOptionNameContains(v string) predicate.ProxyOrder
PriceOptionNameContains applies the Contains predicate on the "price_option_name" field.
func PriceOptionNameContainsFold ¶ added in v1.0.10
func PriceOptionNameContainsFold(v string) predicate.ProxyOrder
PriceOptionNameContainsFold applies the ContainsFold predicate on the "price_option_name" field.
func PriceOptionNameEQ ¶ added in v1.0.10
func PriceOptionNameEQ(v string) predicate.ProxyOrder
PriceOptionNameEQ applies the EQ predicate on the "price_option_name" field.
func PriceOptionNameEqualFold ¶ added in v1.0.10
func PriceOptionNameEqualFold(v string) predicate.ProxyOrder
PriceOptionNameEqualFold applies the EqualFold predicate on the "price_option_name" field.
func PriceOptionNameGT ¶ added in v1.0.10
func PriceOptionNameGT(v string) predicate.ProxyOrder
PriceOptionNameGT applies the GT predicate on the "price_option_name" field.
func PriceOptionNameGTE ¶ added in v1.0.10
func PriceOptionNameGTE(v string) predicate.ProxyOrder
PriceOptionNameGTE applies the GTE predicate on the "price_option_name" field.
func PriceOptionNameHasPrefix ¶ added in v1.0.10
func PriceOptionNameHasPrefix(v string) predicate.ProxyOrder
PriceOptionNameHasPrefix applies the HasPrefix predicate on the "price_option_name" field.
func PriceOptionNameHasSuffix ¶ added in v1.0.10
func PriceOptionNameHasSuffix(v string) predicate.ProxyOrder
PriceOptionNameHasSuffix applies the HasSuffix predicate on the "price_option_name" field.
func PriceOptionNameIn ¶ added in v1.0.10
func PriceOptionNameIn(vs ...string) predicate.ProxyOrder
PriceOptionNameIn applies the In predicate on the "price_option_name" field.
func PriceOptionNameLT ¶ added in v1.0.10
func PriceOptionNameLT(v string) predicate.ProxyOrder
PriceOptionNameLT applies the LT predicate on the "price_option_name" field.
func PriceOptionNameLTE ¶ added in v1.0.10
func PriceOptionNameLTE(v string) predicate.ProxyOrder
PriceOptionNameLTE applies the LTE predicate on the "price_option_name" field.
func PriceOptionNameNEQ ¶ added in v1.0.10
func PriceOptionNameNEQ(v string) predicate.ProxyOrder
PriceOptionNameNEQ applies the NEQ predicate on the "price_option_name" field.
func PriceOptionNameNotIn ¶ added in v1.0.10
func PriceOptionNameNotIn(vs ...string) predicate.ProxyOrder
PriceOptionNameNotIn applies the NotIn predicate on the "price_option_name" field.
func Quantity ¶
func Quantity(v int32) predicate.ProxyOrder
Quantity applies equality check predicate on the "quantity" field. It's identical to QuantityEQ.
func QuantityEQ ¶
func QuantityEQ(v int32) predicate.ProxyOrder
QuantityEQ applies the EQ predicate on the "quantity" field.
func QuantityGT ¶
func QuantityGT(v int32) predicate.ProxyOrder
QuantityGT applies the GT predicate on the "quantity" field.
func QuantityGTE ¶
func QuantityGTE(v int32) predicate.ProxyOrder
QuantityGTE applies the GTE predicate on the "quantity" field.
func QuantityIn ¶
func QuantityIn(vs ...int32) predicate.ProxyOrder
QuantityIn applies the In predicate on the "quantity" field.
func QuantityLT ¶
func QuantityLT(v int32) predicate.ProxyOrder
QuantityLT applies the LT predicate on the "quantity" field.
func QuantityLTE ¶
func QuantityLTE(v int32) predicate.ProxyOrder
QuantityLTE applies the LTE predicate on the "quantity" field.
func QuantityNEQ ¶
func QuantityNEQ(v int32) predicate.ProxyOrder
QuantityNEQ applies the NEQ predicate on the "quantity" field.
func QuantityNotIn ¶
func QuantityNotIn(vs ...int32) predicate.ProxyOrder
QuantityNotIn applies the NotIn predicate on the "quantity" field.
func Status ¶
func Status(v int8) predicate.ProxyOrder
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusEQ ¶
func StatusEQ(v int8) predicate.ProxyOrder
StatusEQ applies the EQ predicate on the "status" field.
func StatusGT ¶
func StatusGT(v int8) predicate.ProxyOrder
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v int8) predicate.ProxyOrder
StatusGTE applies the GTE predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...int8) predicate.ProxyOrder
StatusIn applies the In predicate on the "status" field.
func StatusLT ¶
func StatusLT(v int8) predicate.ProxyOrder
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v int8) predicate.ProxyOrder
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v int8) predicate.ProxyOrder
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...int8) predicate.ProxyOrder
StatusNotIn applies the NotIn predicate on the "status" field.
func SubscribeID ¶
func SubscribeID(v int64) predicate.ProxyOrder
SubscribeID applies equality check predicate on the "subscribe_id" field. It's identical to SubscribeIDEQ.
func SubscribeIDEQ ¶
func SubscribeIDEQ(v int64) predicate.ProxyOrder
SubscribeIDEQ applies the EQ predicate on the "subscribe_id" field.
func SubscribeIDGT ¶
func SubscribeIDGT(v int64) predicate.ProxyOrder
SubscribeIDGT applies the GT predicate on the "subscribe_id" field.
func SubscribeIDGTE ¶
func SubscribeIDGTE(v int64) predicate.ProxyOrder
SubscribeIDGTE applies the GTE predicate on the "subscribe_id" field.
func SubscribeIDIn ¶
func SubscribeIDIn(vs ...int64) predicate.ProxyOrder
SubscribeIDIn applies the In predicate on the "subscribe_id" field.
func SubscribeIDLT ¶
func SubscribeIDLT(v int64) predicate.ProxyOrder
SubscribeIDLT applies the LT predicate on the "subscribe_id" field.
func SubscribeIDLTE ¶
func SubscribeIDLTE(v int64) predicate.ProxyOrder
SubscribeIDLTE applies the LTE predicate on the "subscribe_id" field.
func SubscribeIDNEQ ¶
func SubscribeIDNEQ(v int64) predicate.ProxyOrder
SubscribeIDNEQ applies the NEQ predicate on the "subscribe_id" field.
func SubscribeIDNotIn ¶
func SubscribeIDNotIn(vs ...int64) predicate.ProxyOrder
SubscribeIDNotIn applies the NotIn predicate on the "subscribe_id" field.
func SubscribeToken ¶
func SubscribeToken(v string) predicate.ProxyOrder
SubscribeToken applies equality check predicate on the "subscribe_token" field. It's identical to SubscribeTokenEQ.
func SubscribeTokenContains ¶
func SubscribeTokenContains(v string) predicate.ProxyOrder
SubscribeTokenContains applies the Contains predicate on the "subscribe_token" field.
func SubscribeTokenContainsFold ¶
func SubscribeTokenContainsFold(v string) predicate.ProxyOrder
SubscribeTokenContainsFold applies the ContainsFold predicate on the "subscribe_token" field.
func SubscribeTokenEQ ¶
func SubscribeTokenEQ(v string) predicate.ProxyOrder
SubscribeTokenEQ applies the EQ predicate on the "subscribe_token" field.
func SubscribeTokenEqualFold ¶
func SubscribeTokenEqualFold(v string) predicate.ProxyOrder
SubscribeTokenEqualFold applies the EqualFold predicate on the "subscribe_token" field.
func SubscribeTokenGT ¶
func SubscribeTokenGT(v string) predicate.ProxyOrder
SubscribeTokenGT applies the GT predicate on the "subscribe_token" field.
func SubscribeTokenGTE ¶
func SubscribeTokenGTE(v string) predicate.ProxyOrder
SubscribeTokenGTE applies the GTE predicate on the "subscribe_token" field.
func SubscribeTokenHasPrefix ¶
func SubscribeTokenHasPrefix(v string) predicate.ProxyOrder
SubscribeTokenHasPrefix applies the HasPrefix predicate on the "subscribe_token" field.
func SubscribeTokenHasSuffix ¶
func SubscribeTokenHasSuffix(v string) predicate.ProxyOrder
SubscribeTokenHasSuffix applies the HasSuffix predicate on the "subscribe_token" field.
func SubscribeTokenIn ¶
func SubscribeTokenIn(vs ...string) predicate.ProxyOrder
SubscribeTokenIn applies the In predicate on the "subscribe_token" field.
func SubscribeTokenIsNil ¶
func SubscribeTokenIsNil() predicate.ProxyOrder
SubscribeTokenIsNil applies the IsNil predicate on the "subscribe_token" field.
func SubscribeTokenLT ¶
func SubscribeTokenLT(v string) predicate.ProxyOrder
SubscribeTokenLT applies the LT predicate on the "subscribe_token" field.
func SubscribeTokenLTE ¶
func SubscribeTokenLTE(v string) predicate.ProxyOrder
SubscribeTokenLTE applies the LTE predicate on the "subscribe_token" field.
func SubscribeTokenNEQ ¶
func SubscribeTokenNEQ(v string) predicate.ProxyOrder
SubscribeTokenNEQ applies the NEQ predicate on the "subscribe_token" field.
func SubscribeTokenNotIn ¶
func SubscribeTokenNotIn(vs ...string) predicate.ProxyOrder
SubscribeTokenNotIn applies the NotIn predicate on the "subscribe_token" field.
func SubscribeTokenNotNil ¶
func SubscribeTokenNotNil() predicate.ProxyOrder
SubscribeTokenNotNil applies the NotNil predicate on the "subscribe_token" field.
func TradeNo ¶
func TradeNo(v string) predicate.ProxyOrder
TradeNo applies equality check predicate on the "trade_no" field. It's identical to TradeNoEQ.
func TradeNoContains ¶
func TradeNoContains(v string) predicate.ProxyOrder
TradeNoContains applies the Contains predicate on the "trade_no" field.
func TradeNoContainsFold ¶
func TradeNoContainsFold(v string) predicate.ProxyOrder
TradeNoContainsFold applies the ContainsFold predicate on the "trade_no" field.
func TradeNoEQ ¶
func TradeNoEQ(v string) predicate.ProxyOrder
TradeNoEQ applies the EQ predicate on the "trade_no" field.
func TradeNoEqualFold ¶
func TradeNoEqualFold(v string) predicate.ProxyOrder
TradeNoEqualFold applies the EqualFold predicate on the "trade_no" field.
func TradeNoGT ¶
func TradeNoGT(v string) predicate.ProxyOrder
TradeNoGT applies the GT predicate on the "trade_no" field.
func TradeNoGTE ¶
func TradeNoGTE(v string) predicate.ProxyOrder
TradeNoGTE applies the GTE predicate on the "trade_no" field.
func TradeNoHasPrefix ¶
func TradeNoHasPrefix(v string) predicate.ProxyOrder
TradeNoHasPrefix applies the HasPrefix predicate on the "trade_no" field.
func TradeNoHasSuffix ¶
func TradeNoHasSuffix(v string) predicate.ProxyOrder
TradeNoHasSuffix applies the HasSuffix predicate on the "trade_no" field.
func TradeNoIn ¶
func TradeNoIn(vs ...string) predicate.ProxyOrder
TradeNoIn applies the In predicate on the "trade_no" field.
func TradeNoIsNil ¶
func TradeNoIsNil() predicate.ProxyOrder
TradeNoIsNil applies the IsNil predicate on the "trade_no" field.
func TradeNoLT ¶
func TradeNoLT(v string) predicate.ProxyOrder
TradeNoLT applies the LT predicate on the "trade_no" field.
func TradeNoLTE ¶
func TradeNoLTE(v string) predicate.ProxyOrder
TradeNoLTE applies the LTE predicate on the "trade_no" field.
func TradeNoNEQ ¶
func TradeNoNEQ(v string) predicate.ProxyOrder
TradeNoNEQ applies the NEQ predicate on the "trade_no" field.
func TradeNoNotIn ¶
func TradeNoNotIn(vs ...string) predicate.ProxyOrder
TradeNoNotIn applies the NotIn predicate on the "trade_no" field.
func TradeNoNotNil ¶
func TradeNoNotNil() predicate.ProxyOrder
TradeNoNotNil applies the NotNil predicate on the "trade_no" field.
func Type ¶
func Type(v int8) predicate.ProxyOrder
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func TypeEQ ¶
func TypeEQ(v int8) predicate.ProxyOrder
TypeEQ applies the EQ predicate on the "type" field.
func TypeGT ¶
func TypeGT(v int8) predicate.ProxyOrder
TypeGT applies the GT predicate on the "type" field.
func TypeGTE ¶
func TypeGTE(v int8) predicate.ProxyOrder
TypeGTE applies the GTE predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...int8) predicate.ProxyOrder
TypeIn applies the In predicate on the "type" field.
func TypeLT ¶
func TypeLT(v int8) predicate.ProxyOrder
TypeLT applies the LT predicate on the "type" field.
func TypeLTE ¶
func TypeLTE(v int8) predicate.ProxyOrder
TypeLTE applies the LTE predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v int8) predicate.ProxyOrder
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...int8) predicate.ProxyOrder
TypeNotIn applies the NotIn predicate on the "type" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProxyOrder
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProxyOrder
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProxyOrder
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProxyOrder
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProxyOrder
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProxyOrder
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProxyOrder
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProxyOrder
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyOrder
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v int64) predicate.ProxyOrder
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int64) predicate.ProxyOrder
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v int64) predicate.ProxyOrder
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v int64) predicate.ProxyOrder
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int64) predicate.ProxyOrder
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v int64) predicate.ProxyOrder
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v int64) predicate.ProxyOrder
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int64) predicate.ProxyOrder
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int64) predicate.ProxyOrder
UserIDNotIn applies the NotIn predicate on the "user_id" 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 ProxyOrder queries.
func ByAmount ¶
func ByAmount(opts ...sql.OrderTermOption) OrderOption
ByAmount orders the results by the amount field.
func ByCommission ¶
func ByCommission(opts ...sql.OrderTermOption) OrderOption
ByCommission orders the results by the commission field.
func ByCoupon ¶
func ByCoupon(opts ...sql.OrderTermOption) OrderOption
ByCoupon orders the results by the coupon field.
func ByCouponDiscount ¶
func ByCouponDiscount(opts ...sql.OrderTermOption) OrderOption
ByCouponDiscount orders the results by the coupon_discount field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDiscount ¶
func ByDiscount(opts ...sql.OrderTermOption) OrderOption
ByDiscount orders the results by the discount field.
func ByDurationUnit ¶ added in v1.0.10
func ByDurationUnit(opts ...sql.OrderTermOption) OrderOption
ByDurationUnit orders the results by the duration_unit field.
func ByDurationValue ¶ added in v1.0.10
func ByDurationValue(opts ...sql.OrderTermOption) OrderOption
ByDurationValue orders the results by the duration_value field.
func ByFeeAmount ¶
func ByFeeAmount(opts ...sql.OrderTermOption) OrderOption
ByFeeAmount orders the results by the fee_amount field.
func ByGiftAmount ¶
func ByGiftAmount(opts ...sql.OrderTermOption) OrderOption
ByGiftAmount orders the results by the gift_amount field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsNew ¶
func ByIsNew(opts ...sql.OrderTermOption) OrderOption
ByIsNew orders the results by the is_new field.
func ByMethod ¶
func ByMethod(opts ...sql.OrderTermOption) OrderOption
ByMethod orders the results by the method field.
func ByOptionPrice ¶ added in v1.0.10
func ByOptionPrice(opts ...sql.OrderTermOption) OrderOption
ByOptionPrice orders the results by the option_price field.
func ByOrderNo ¶
func ByOrderNo(opts ...sql.OrderTermOption) OrderOption
ByOrderNo orders the results by the order_no field.
func ByParentID ¶
func ByParentID(opts ...sql.OrderTermOption) OrderOption
ByParentID orders the results by the parent_id field.
func ByPaymentID ¶
func ByPaymentID(opts ...sql.OrderTermOption) OrderOption
ByPaymentID orders the results by the payment_id field.
func ByPrice ¶
func ByPrice(opts ...sql.OrderTermOption) OrderOption
ByPrice orders the results by the price field.
func ByPriceOptionID ¶ added in v1.0.10
func ByPriceOptionID(opts ...sql.OrderTermOption) OrderOption
ByPriceOptionID orders the results by the price_option_id field.
func ByPriceOptionName ¶ added in v1.0.10
func ByPriceOptionName(opts ...sql.OrderTermOption) OrderOption
ByPriceOptionName orders the results by the price_option_name field.
func ByQuantity ¶
func ByQuantity(opts ...sql.OrderTermOption) OrderOption
ByQuantity orders the results by the quantity field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySubscribeID ¶
func BySubscribeID(opts ...sql.OrderTermOption) OrderOption
BySubscribeID orders the results by the subscribe_id field.
func BySubscribeToken ¶
func BySubscribeToken(opts ...sql.OrderTermOption) OrderOption
BySubscribeToken orders the results by the subscribe_token field.
func ByTradeNo ¶
func ByTradeNo(opts ...sql.OrderTermOption) OrderOption
ByTradeNo orders the results by the trade_no field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.