Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Order) predicate.Order
- func Body(v string) predicate.Order
- func BodyContains(v string) predicate.Order
- func BodyContainsFold(v string) predicate.Order
- func BodyEQ(v string) predicate.Order
- func BodyEqualFold(v string) predicate.Order
- func BodyGT(v string) predicate.Order
- func BodyGTE(v string) predicate.Order
- func BodyHasPrefix(v string) predicate.Order
- func BodyHasSuffix(v string) predicate.Order
- func BodyIn(vs ...string) predicate.Order
- func BodyLT(v string) predicate.Order
- func BodyLTE(v string) predicate.Order
- func BodyNEQ(v string) predicate.Order
- func BodyNotIn(vs ...string) predicate.Order
- func ChannelCode(v string) predicate.Order
- func ChannelCodeContains(v string) predicate.Order
- func ChannelCodeContainsFold(v string) predicate.Order
- func ChannelCodeEQ(v string) predicate.Order
- func ChannelCodeEqualFold(v string) predicate.Order
- func ChannelCodeGT(v string) predicate.Order
- func ChannelCodeGTE(v string) predicate.Order
- func ChannelCodeHasPrefix(v string) predicate.Order
- func ChannelCodeHasSuffix(v string) predicate.Order
- func ChannelCodeIn(vs ...string) predicate.Order
- func ChannelCodeIsNil() predicate.Order
- func ChannelCodeLT(v string) predicate.Order
- func ChannelCodeLTE(v string) predicate.Order
- func ChannelCodeNEQ(v string) predicate.Order
- func ChannelCodeNotIn(vs ...string) predicate.Order
- func ChannelCodeNotNil() predicate.Order
- func ChannelFeePrice(v int32) predicate.Order
- func ChannelFeePriceEQ(v int32) predicate.Order
- func ChannelFeePriceGT(v int32) predicate.Order
- func ChannelFeePriceGTE(v int32) predicate.Order
- func ChannelFeePriceIn(vs ...int32) predicate.Order
- func ChannelFeePriceIsNil() predicate.Order
- func ChannelFeePriceLT(v int32) predicate.Order
- func ChannelFeePriceLTE(v int32) predicate.Order
- func ChannelFeePriceNEQ(v int32) predicate.Order
- func ChannelFeePriceNotIn(vs ...int32) predicate.Order
- func ChannelFeePriceNotNil() predicate.Order
- func ChannelFeeRate(v float64) predicate.Order
- func ChannelFeeRateEQ(v float64) predicate.Order
- func ChannelFeeRateGT(v float64) predicate.Order
- func ChannelFeeRateGTE(v float64) predicate.Order
- func ChannelFeeRateIn(vs ...float64) predicate.Order
- func ChannelFeeRateIsNil() predicate.Order
- func ChannelFeeRateLT(v float64) predicate.Order
- func ChannelFeeRateLTE(v float64) predicate.Order
- func ChannelFeeRateNEQ(v float64) predicate.Order
- func ChannelFeeRateNotIn(vs ...float64) predicate.Order
- func ChannelFeeRateNotNil() predicate.Order
- func ChannelOrderNo(v string) predicate.Order
- func ChannelOrderNoContains(v string) predicate.Order
- func ChannelOrderNoContainsFold(v string) predicate.Order
- func ChannelOrderNoEQ(v string) predicate.Order
- func ChannelOrderNoEqualFold(v string) predicate.Order
- func ChannelOrderNoGT(v string) predicate.Order
- func ChannelOrderNoGTE(v string) predicate.Order
- func ChannelOrderNoHasPrefix(v string) predicate.Order
- func ChannelOrderNoHasSuffix(v string) predicate.Order
- func ChannelOrderNoIn(vs ...string) predicate.Order
- func ChannelOrderNoIsNil() predicate.Order
- func ChannelOrderNoLT(v string) predicate.Order
- func ChannelOrderNoLTE(v string) predicate.Order
- func ChannelOrderNoNEQ(v string) predicate.Order
- func ChannelOrderNoNotIn(vs ...string) predicate.Order
- func ChannelOrderNoNotNil() predicate.Order
- func ChannelUserID(v string) predicate.Order
- func ChannelUserIDContains(v string) predicate.Order
- func ChannelUserIDContainsFold(v string) predicate.Order
- func ChannelUserIDEQ(v string) predicate.Order
- func ChannelUserIDEqualFold(v string) predicate.Order
- func ChannelUserIDGT(v string) predicate.Order
- func ChannelUserIDGTE(v string) predicate.Order
- func ChannelUserIDHasPrefix(v string) predicate.Order
- func ChannelUserIDHasSuffix(v string) predicate.Order
- func ChannelUserIDIn(vs ...string) predicate.Order
- func ChannelUserIDIsNil() predicate.Order
- func ChannelUserIDLT(v string) predicate.Order
- func ChannelUserIDLTE(v string) predicate.Order
- func ChannelUserIDNEQ(v string) predicate.Order
- func ChannelUserIDNotIn(vs ...string) predicate.Order
- func ChannelUserIDNotNil() predicate.Order
- func CreatedAt(v time.Time) predicate.Order
- func CreatedAtEQ(v time.Time) predicate.Order
- func CreatedAtGT(v time.Time) predicate.Order
- func CreatedAtGTE(v time.Time) predicate.Order
- func CreatedAtIn(vs ...time.Time) predicate.Order
- func CreatedAtLT(v time.Time) predicate.Order
- func CreatedAtLTE(v time.Time) predicate.Order
- func CreatedAtNEQ(v time.Time) predicate.Order
- func CreatedAtNotIn(vs ...time.Time) predicate.Order
- func DeletedAt(v time.Time) predicate.Order
- func DeletedAtEQ(v time.Time) predicate.Order
- func DeletedAtGT(v time.Time) predicate.Order
- func DeletedAtGTE(v time.Time) predicate.Order
- func DeletedAtIn(vs ...time.Time) predicate.Order
- func DeletedAtIsNil() predicate.Order
- func DeletedAtLT(v time.Time) predicate.Order
- func DeletedAtLTE(v time.Time) predicate.Order
- func DeletedAtNEQ(v time.Time) predicate.Order
- func DeletedAtNotIn(vs ...time.Time) predicate.Order
- func DeletedAtNotNil() predicate.Order
- func ExpireTime(v time.Time) predicate.Order
- func ExpireTimeEQ(v time.Time) predicate.Order
- func ExpireTimeGT(v time.Time) predicate.Order
- func ExpireTimeGTE(v time.Time) predicate.Order
- func ExpireTimeIn(vs ...time.Time) predicate.Order
- func ExpireTimeLT(v time.Time) predicate.Order
- func ExpireTimeLTE(v time.Time) predicate.Order
- func ExpireTimeNEQ(v time.Time) predicate.Order
- func ExpireTimeNotIn(vs ...time.Time) predicate.Order
- func ExtensionID(v uint64) predicate.Order
- func ExtensionIDEQ(v uint64) predicate.Order
- func ExtensionIDGT(v uint64) predicate.Order
- func ExtensionIDGTE(v uint64) predicate.Order
- func ExtensionIDIn(vs ...uint64) predicate.Order
- func ExtensionIDIsNil() predicate.Order
- func ExtensionIDLT(v uint64) predicate.Order
- func ExtensionIDLTE(v uint64) predicate.Order
- func ExtensionIDNEQ(v uint64) predicate.Order
- func ExtensionIDNotIn(vs ...uint64) predicate.Order
- func ExtensionIDNotNil() predicate.Order
- func ID(id uint64) predicate.Order
- func IDEQ(id uint64) predicate.Order
- func IDGT(id uint64) predicate.Order
- func IDGTE(id uint64) predicate.Order
- func IDIn(ids ...uint64) predicate.Order
- func IDLT(id uint64) predicate.Order
- func IDLTE(id uint64) predicate.Order
- func IDNEQ(id uint64) predicate.Order
- func IDNotIn(ids ...uint64) predicate.Order
- func MerchantOrderID(v string) predicate.Order
- func MerchantOrderIDContains(v string) predicate.Order
- func MerchantOrderIDContainsFold(v string) predicate.Order
- func MerchantOrderIDEQ(v string) predicate.Order
- func MerchantOrderIDEqualFold(v string) predicate.Order
- func MerchantOrderIDGT(v string) predicate.Order
- func MerchantOrderIDGTE(v string) predicate.Order
- func MerchantOrderIDHasPrefix(v string) predicate.Order
- func MerchantOrderIDHasSuffix(v string) predicate.Order
- func MerchantOrderIDIn(vs ...string) predicate.Order
- func MerchantOrderIDLT(v string) predicate.Order
- func MerchantOrderIDLTE(v string) predicate.Order
- func MerchantOrderIDNEQ(v string) predicate.Order
- func MerchantOrderIDNotIn(vs ...string) predicate.Order
- func No(v string) predicate.Order
- func NoContains(v string) predicate.Order
- func NoContainsFold(v string) predicate.Order
- func NoEQ(v string) predicate.Order
- func NoEqualFold(v string) predicate.Order
- func NoGT(v string) predicate.Order
- func NoGTE(v string) predicate.Order
- func NoHasPrefix(v string) predicate.Order
- func NoHasSuffix(v string) predicate.Order
- func NoIn(vs ...string) predicate.Order
- func NoIsNil() predicate.Order
- func NoLT(v string) predicate.Order
- func NoLTE(v string) predicate.Order
- func NoNEQ(v string) predicate.Order
- func NoNotIn(vs ...string) predicate.Order
- func NoNotNil() predicate.Order
- func Not(p predicate.Order) predicate.Order
- func NotifyTime(v time.Time) predicate.Order
- func NotifyTimeEQ(v time.Time) predicate.Order
- func NotifyTimeGT(v time.Time) predicate.Order
- func NotifyTimeGTE(v time.Time) predicate.Order
- func NotifyTimeIn(vs ...time.Time) predicate.Order
- func NotifyTimeIsNil() predicate.Order
- func NotifyTimeLT(v time.Time) predicate.Order
- func NotifyTimeLTE(v time.Time) predicate.Order
- func NotifyTimeNEQ(v time.Time) predicate.Order
- func NotifyTimeNotIn(vs ...time.Time) predicate.Order
- func NotifyTimeNotNil() predicate.Order
- func Or(predicates ...predicate.Order) predicate.Order
- func Price(v int32) predicate.Order
- func PriceEQ(v int32) predicate.Order
- func PriceGT(v int32) predicate.Order
- func PriceGTE(v int32) predicate.Order
- func PriceIn(vs ...int32) predicate.Order
- func PriceLT(v int32) predicate.Order
- func PriceLTE(v int32) predicate.Order
- func PriceNEQ(v int32) predicate.Order
- func PriceNotIn(vs ...int32) predicate.Order
- func RefundPrice(v int32) predicate.Order
- func RefundPriceEQ(v int32) predicate.Order
- func RefundPriceGT(v int32) predicate.Order
- func RefundPriceGTE(v int32) predicate.Order
- func RefundPriceIn(vs ...int32) predicate.Order
- func RefundPriceLT(v int32) predicate.Order
- func RefundPriceLTE(v int32) predicate.Order
- func RefundPriceNEQ(v int32) predicate.Order
- func RefundPriceNotIn(vs ...int32) predicate.Order
- func Status(v uint8) predicate.Order
- func StatusEQ(v uint8) predicate.Order
- func StatusGT(v uint8) predicate.Order
- func StatusGTE(v uint8) predicate.Order
- func StatusIn(vs ...uint8) predicate.Order
- func StatusIsNil() predicate.Order
- func StatusLT(v uint8) predicate.Order
- func StatusLTE(v uint8) predicate.Order
- func StatusNEQ(v uint8) predicate.Order
- func StatusNotIn(vs ...uint8) predicate.Order
- func StatusNotNil() predicate.Order
- func Subject(v string) predicate.Order
- func SubjectContains(v string) predicate.Order
- func SubjectContainsFold(v string) predicate.Order
- func SubjectEQ(v string) predicate.Order
- func SubjectEqualFold(v string) predicate.Order
- func SubjectGT(v string) predicate.Order
- func SubjectGTE(v string) predicate.Order
- func SubjectHasPrefix(v string) predicate.Order
- func SubjectHasSuffix(v string) predicate.Order
- func SubjectIn(vs ...string) predicate.Order
- func SubjectLT(v string) predicate.Order
- func SubjectLTE(v string) predicate.Order
- func SubjectNEQ(v string) predicate.Order
- func SubjectNotIn(vs ...string) predicate.Order
- func SuccessTime(v time.Time) predicate.Order
- func SuccessTimeEQ(v time.Time) predicate.Order
- func SuccessTimeGT(v time.Time) predicate.Order
- func SuccessTimeGTE(v time.Time) predicate.Order
- func SuccessTimeIn(vs ...time.Time) predicate.Order
- func SuccessTimeIsNil() predicate.Order
- func SuccessTimeLT(v time.Time) predicate.Order
- func SuccessTimeLTE(v time.Time) predicate.Order
- func SuccessTimeNEQ(v time.Time) predicate.Order
- func SuccessTimeNotIn(vs ...time.Time) predicate.Order
- func SuccessTimeNotNil() predicate.Order
- func UpdatedAt(v time.Time) predicate.Order
- func UpdatedAtEQ(v time.Time) predicate.Order
- func UpdatedAtGT(v time.Time) predicate.Order
- func UpdatedAtGTE(v time.Time) predicate.Order
- func UpdatedAtIn(vs ...time.Time) predicate.Order
- func UpdatedAtLT(v time.Time) predicate.Order
- func UpdatedAtLTE(v time.Time) predicate.Order
- func UpdatedAtNEQ(v time.Time) predicate.Order
- func UpdatedAtNotIn(vs ...time.Time) predicate.Order
- func UserIP(v string) predicate.Order
- func UserIPContains(v string) predicate.Order
- func UserIPContainsFold(v string) predicate.Order
- func UserIPEQ(v string) predicate.Order
- func UserIPEqualFold(v string) predicate.Order
- func UserIPGT(v string) predicate.Order
- func UserIPGTE(v string) predicate.Order
- func UserIPHasPrefix(v string) predicate.Order
- func UserIPHasSuffix(v string) predicate.Order
- func UserIPIn(vs ...string) predicate.Order
- func UserIPLT(v string) predicate.Order
- func UserIPLTE(v string) predicate.Order
- func UserIPNEQ(v string) predicate.Order
- func UserIPNotIn(vs ...string) predicate.Order
- func ValidColumn(column string) bool
- type OrderOption
- func ByBody(opts ...sql.OrderTermOption) OrderOption
- func ByChannelCode(opts ...sql.OrderTermOption) OrderOption
- func ByChannelFeePrice(opts ...sql.OrderTermOption) OrderOption
- func ByChannelFeeRate(opts ...sql.OrderTermOption) OrderOption
- func ByChannelOrderNo(opts ...sql.OrderTermOption) OrderOption
- func ByChannelUserID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByExpireTime(opts ...sql.OrderTermOption) OrderOption
- func ByExtensionID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMerchantOrderID(opts ...sql.OrderTermOption) OrderOption
- func ByNo(opts ...sql.OrderTermOption) OrderOption
- func ByNotifyTime(opts ...sql.OrderTermOption) OrderOption
- func ByPrice(opts ...sql.OrderTermOption) OrderOption
- func ByRefundPrice(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySubject(opts ...sql.OrderTermOption) OrderOption
- func BySuccessTime(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserIP(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the order type in the database. Label = "order" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldChannelCode holds the string denoting the channel_code field in the database. FieldChannelCode = "channel_code" // FieldMerchantOrderID holds the string denoting the merchant_order_id field in the database. FieldMerchantOrderID = "merchant_order_id" // FieldSubject holds the string denoting the subject field in the database. FieldSubject = "subject" // FieldBody holds the string denoting the body field in the database. FieldBody = "body" // FieldPrice holds the string denoting the price field in the database. FieldPrice = "price" // FieldChannelFeeRate holds the string denoting the channel_fee_rate field in the database. FieldChannelFeeRate = "channel_fee_rate" // FieldChannelFeePrice holds the string denoting the channel_fee_price field in the database. FieldChannelFeePrice = "channel_fee_price" // FieldUserIP holds the string denoting the user_ip field in the database. FieldUserIP = "user_ip" // FieldExpireTime holds the string denoting the expire_time field in the database. FieldExpireTime = "expire_time" // FieldSuccessTime holds the string denoting the success_time field in the database. FieldSuccessTime = "success_time" // FieldNotifyTime holds the string denoting the notify_time field in the database. FieldNotifyTime = "notify_time" // FieldExtensionID holds the string denoting the extension_id field in the database. FieldExtensionID = "extension_id" // FieldNo holds the string denoting the no field in the database. FieldNo = "no" // FieldRefundPrice holds the string denoting the refund_price field in the database. FieldRefundPrice = "refund_price" // FieldChannelUserID holds the string denoting the channel_user_id field in the database. FieldChannelUserID = "channel_user_id" // FieldChannelOrderNo holds the string denoting the channel_order_no field in the database. FieldChannelOrderNo = "channel_order_no" // Table holds the table name of the order in the database. Table = "pay_order" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // 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 // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus uint8 )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/agui-coder/simple-admin-pay-rpc/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldStatus, FieldDeletedAt, FieldChannelCode, FieldMerchantOrderID, FieldSubject, FieldBody, FieldPrice, FieldChannelFeeRate, FieldChannelFeePrice, FieldUserIP, FieldExpireTime, FieldSuccessTime, FieldNotifyTime, FieldExtensionID, FieldNo, FieldRefundPrice, FieldChannelUserID, FieldChannelOrderNo, }
Columns holds all SQL columns for order fields.
Functions ¶
func BodyContains ¶
BodyContains applies the Contains predicate on the "body" field.
func BodyContainsFold ¶
BodyContainsFold applies the ContainsFold predicate on the "body" field.
func BodyEqualFold ¶
BodyEqualFold applies the EqualFold predicate on the "body" field.
func BodyHasPrefix ¶
BodyHasPrefix applies the HasPrefix predicate on the "body" field.
func BodyHasSuffix ¶
BodyHasSuffix applies the HasSuffix predicate on the "body" field.
func ChannelCode ¶
ChannelCode applies equality check predicate on the "channel_code" field. It's identical to ChannelCodeEQ.
func ChannelCodeContains ¶
ChannelCodeContains applies the Contains predicate on the "channel_code" field.
func ChannelCodeContainsFold ¶
ChannelCodeContainsFold applies the ContainsFold predicate on the "channel_code" field.
func ChannelCodeEQ ¶
ChannelCodeEQ applies the EQ predicate on the "channel_code" field.
func ChannelCodeEqualFold ¶
ChannelCodeEqualFold applies the EqualFold predicate on the "channel_code" field.
func ChannelCodeGT ¶
ChannelCodeGT applies the GT predicate on the "channel_code" field.
func ChannelCodeGTE ¶
ChannelCodeGTE applies the GTE predicate on the "channel_code" field.
func ChannelCodeHasPrefix ¶
ChannelCodeHasPrefix applies the HasPrefix predicate on the "channel_code" field.
func ChannelCodeHasSuffix ¶
ChannelCodeHasSuffix applies the HasSuffix predicate on the "channel_code" field.
func ChannelCodeIn ¶
ChannelCodeIn applies the In predicate on the "channel_code" field.
func ChannelCodeIsNil ¶
ChannelCodeIsNil applies the IsNil predicate on the "channel_code" field.
func ChannelCodeLT ¶
ChannelCodeLT applies the LT predicate on the "channel_code" field.
func ChannelCodeLTE ¶
ChannelCodeLTE applies the LTE predicate on the "channel_code" field.
func ChannelCodeNEQ ¶
ChannelCodeNEQ applies the NEQ predicate on the "channel_code" field.
func ChannelCodeNotIn ¶
ChannelCodeNotIn applies the NotIn predicate on the "channel_code" field.
func ChannelCodeNotNil ¶
ChannelCodeNotNil applies the NotNil predicate on the "channel_code" field.
func ChannelFeePrice ¶
ChannelFeePrice applies equality check predicate on the "channel_fee_price" field. It's identical to ChannelFeePriceEQ.
func ChannelFeePriceEQ ¶
ChannelFeePriceEQ applies the EQ predicate on the "channel_fee_price" field.
func ChannelFeePriceGT ¶
ChannelFeePriceGT applies the GT predicate on the "channel_fee_price" field.
func ChannelFeePriceGTE ¶
ChannelFeePriceGTE applies the GTE predicate on the "channel_fee_price" field.
func ChannelFeePriceIn ¶
ChannelFeePriceIn applies the In predicate on the "channel_fee_price" field.
func ChannelFeePriceIsNil ¶
ChannelFeePriceIsNil applies the IsNil predicate on the "channel_fee_price" field.
func ChannelFeePriceLT ¶
ChannelFeePriceLT applies the LT predicate on the "channel_fee_price" field.
func ChannelFeePriceLTE ¶
ChannelFeePriceLTE applies the LTE predicate on the "channel_fee_price" field.
func ChannelFeePriceNEQ ¶
ChannelFeePriceNEQ applies the NEQ predicate on the "channel_fee_price" field.
func ChannelFeePriceNotIn ¶
ChannelFeePriceNotIn applies the NotIn predicate on the "channel_fee_price" field.
func ChannelFeePriceNotNil ¶
ChannelFeePriceNotNil applies the NotNil predicate on the "channel_fee_price" field.
func ChannelFeeRate ¶
ChannelFeeRate applies equality check predicate on the "channel_fee_rate" field. It's identical to ChannelFeeRateEQ.
func ChannelFeeRateEQ ¶
ChannelFeeRateEQ applies the EQ predicate on the "channel_fee_rate" field.
func ChannelFeeRateGT ¶
ChannelFeeRateGT applies the GT predicate on the "channel_fee_rate" field.
func ChannelFeeRateGTE ¶
ChannelFeeRateGTE applies the GTE predicate on the "channel_fee_rate" field.
func ChannelFeeRateIn ¶
ChannelFeeRateIn applies the In predicate on the "channel_fee_rate" field.
func ChannelFeeRateIsNil ¶
ChannelFeeRateIsNil applies the IsNil predicate on the "channel_fee_rate" field.
func ChannelFeeRateLT ¶
ChannelFeeRateLT applies the LT predicate on the "channel_fee_rate" field.
func ChannelFeeRateLTE ¶
ChannelFeeRateLTE applies the LTE predicate on the "channel_fee_rate" field.
func ChannelFeeRateNEQ ¶
ChannelFeeRateNEQ applies the NEQ predicate on the "channel_fee_rate" field.
func ChannelFeeRateNotIn ¶
ChannelFeeRateNotIn applies the NotIn predicate on the "channel_fee_rate" field.
func ChannelFeeRateNotNil ¶
ChannelFeeRateNotNil applies the NotNil predicate on the "channel_fee_rate" field.
func ChannelOrderNo ¶
ChannelOrderNo applies equality check predicate on the "channel_order_no" field. It's identical to ChannelOrderNoEQ.
func ChannelOrderNoContains ¶
ChannelOrderNoContains applies the Contains predicate on the "channel_order_no" field.
func ChannelOrderNoContainsFold ¶
ChannelOrderNoContainsFold applies the ContainsFold predicate on the "channel_order_no" field.
func ChannelOrderNoEQ ¶
ChannelOrderNoEQ applies the EQ predicate on the "channel_order_no" field.
func ChannelOrderNoEqualFold ¶
ChannelOrderNoEqualFold applies the EqualFold predicate on the "channel_order_no" field.
func ChannelOrderNoGT ¶
ChannelOrderNoGT applies the GT predicate on the "channel_order_no" field.
func ChannelOrderNoGTE ¶
ChannelOrderNoGTE applies the GTE predicate on the "channel_order_no" field.
func ChannelOrderNoHasPrefix ¶
ChannelOrderNoHasPrefix applies the HasPrefix predicate on the "channel_order_no" field.
func ChannelOrderNoHasSuffix ¶
ChannelOrderNoHasSuffix applies the HasSuffix predicate on the "channel_order_no" field.
func ChannelOrderNoIn ¶
ChannelOrderNoIn applies the In predicate on the "channel_order_no" field.
func ChannelOrderNoIsNil ¶
ChannelOrderNoIsNil applies the IsNil predicate on the "channel_order_no" field.
func ChannelOrderNoLT ¶
ChannelOrderNoLT applies the LT predicate on the "channel_order_no" field.
func ChannelOrderNoLTE ¶
ChannelOrderNoLTE applies the LTE predicate on the "channel_order_no" field.
func ChannelOrderNoNEQ ¶
ChannelOrderNoNEQ applies the NEQ predicate on the "channel_order_no" field.
func ChannelOrderNoNotIn ¶
ChannelOrderNoNotIn applies the NotIn predicate on the "channel_order_no" field.
func ChannelOrderNoNotNil ¶
ChannelOrderNoNotNil applies the NotNil predicate on the "channel_order_no" field.
func ChannelUserID ¶
ChannelUserID applies equality check predicate on the "channel_user_id" field. It's identical to ChannelUserIDEQ.
func ChannelUserIDContains ¶
ChannelUserIDContains applies the Contains predicate on the "channel_user_id" field.
func ChannelUserIDContainsFold ¶
ChannelUserIDContainsFold applies the ContainsFold predicate on the "channel_user_id" field.
func ChannelUserIDEQ ¶
ChannelUserIDEQ applies the EQ predicate on the "channel_user_id" field.
func ChannelUserIDEqualFold ¶
ChannelUserIDEqualFold applies the EqualFold predicate on the "channel_user_id" field.
func ChannelUserIDGT ¶
ChannelUserIDGT applies the GT predicate on the "channel_user_id" field.
func ChannelUserIDGTE ¶
ChannelUserIDGTE applies the GTE predicate on the "channel_user_id" field.
func ChannelUserIDHasPrefix ¶
ChannelUserIDHasPrefix applies the HasPrefix predicate on the "channel_user_id" field.
func ChannelUserIDHasSuffix ¶
ChannelUserIDHasSuffix applies the HasSuffix predicate on the "channel_user_id" field.
func ChannelUserIDIn ¶
ChannelUserIDIn applies the In predicate on the "channel_user_id" field.
func ChannelUserIDIsNil ¶
ChannelUserIDIsNil applies the IsNil predicate on the "channel_user_id" field.
func ChannelUserIDLT ¶
ChannelUserIDLT applies the LT predicate on the "channel_user_id" field.
func ChannelUserIDLTE ¶
ChannelUserIDLTE applies the LTE predicate on the "channel_user_id" field.
func ChannelUserIDNEQ ¶
ChannelUserIDNEQ applies the NEQ predicate on the "channel_user_id" field.
func ChannelUserIDNotIn ¶
ChannelUserIDNotIn applies the NotIn predicate on the "channel_user_id" field.
func ChannelUserIDNotNil ¶
ChannelUserIDNotNil applies the NotNil predicate on the "channel_user_id" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func ExpireTime ¶
ExpireTime applies equality check predicate on the "expire_time" field. It's identical to ExpireTimeEQ.
func ExpireTimeEQ ¶
ExpireTimeEQ applies the EQ predicate on the "expire_time" field.
func ExpireTimeGT ¶
ExpireTimeGT applies the GT predicate on the "expire_time" field.
func ExpireTimeGTE ¶
ExpireTimeGTE applies the GTE predicate on the "expire_time" field.
func ExpireTimeIn ¶
ExpireTimeIn applies the In predicate on the "expire_time" field.
func ExpireTimeLT ¶
ExpireTimeLT applies the LT predicate on the "expire_time" field.
func ExpireTimeLTE ¶
ExpireTimeLTE applies the LTE predicate on the "expire_time" field.
func ExpireTimeNEQ ¶
ExpireTimeNEQ applies the NEQ predicate on the "expire_time" field.
func ExpireTimeNotIn ¶
ExpireTimeNotIn applies the NotIn predicate on the "expire_time" field.
func ExtensionID ¶
ExtensionID applies equality check predicate on the "extension_id" field. It's identical to ExtensionIDEQ.
func ExtensionIDEQ ¶
ExtensionIDEQ applies the EQ predicate on the "extension_id" field.
func ExtensionIDGT ¶
ExtensionIDGT applies the GT predicate on the "extension_id" field.
func ExtensionIDGTE ¶
ExtensionIDGTE applies the GTE predicate on the "extension_id" field.
func ExtensionIDIn ¶
ExtensionIDIn applies the In predicate on the "extension_id" field.
func ExtensionIDIsNil ¶
ExtensionIDIsNil applies the IsNil predicate on the "extension_id" field.
func ExtensionIDLT ¶
ExtensionIDLT applies the LT predicate on the "extension_id" field.
func ExtensionIDLTE ¶
ExtensionIDLTE applies the LTE predicate on the "extension_id" field.
func ExtensionIDNEQ ¶
ExtensionIDNEQ applies the NEQ predicate on the "extension_id" field.
func ExtensionIDNotIn ¶
ExtensionIDNotIn applies the NotIn predicate on the "extension_id" field.
func ExtensionIDNotNil ¶
ExtensionIDNotNil applies the NotNil predicate on the "extension_id" field.
func MerchantOrderID ¶
MerchantOrderID applies equality check predicate on the "merchant_order_id" field. It's identical to MerchantOrderIDEQ.
func MerchantOrderIDContains ¶
MerchantOrderIDContains applies the Contains predicate on the "merchant_order_id" field.
func MerchantOrderIDContainsFold ¶
MerchantOrderIDContainsFold applies the ContainsFold predicate on the "merchant_order_id" field.
func MerchantOrderIDEQ ¶
MerchantOrderIDEQ applies the EQ predicate on the "merchant_order_id" field.
func MerchantOrderIDEqualFold ¶
MerchantOrderIDEqualFold applies the EqualFold predicate on the "merchant_order_id" field.
func MerchantOrderIDGT ¶
MerchantOrderIDGT applies the GT predicate on the "merchant_order_id" field.
func MerchantOrderIDGTE ¶
MerchantOrderIDGTE applies the GTE predicate on the "merchant_order_id" field.
func MerchantOrderIDHasPrefix ¶
MerchantOrderIDHasPrefix applies the HasPrefix predicate on the "merchant_order_id" field.
func MerchantOrderIDHasSuffix ¶
MerchantOrderIDHasSuffix applies the HasSuffix predicate on the "merchant_order_id" field.
func MerchantOrderIDIn ¶
MerchantOrderIDIn applies the In predicate on the "merchant_order_id" field.
func MerchantOrderIDLT ¶
MerchantOrderIDLT applies the LT predicate on the "merchant_order_id" field.
func MerchantOrderIDLTE ¶
MerchantOrderIDLTE applies the LTE predicate on the "merchant_order_id" field.
func MerchantOrderIDNEQ ¶
MerchantOrderIDNEQ applies the NEQ predicate on the "merchant_order_id" field.
func MerchantOrderIDNotIn ¶
MerchantOrderIDNotIn applies the NotIn predicate on the "merchant_order_id" field.
func NoContains ¶
NoContains applies the Contains predicate on the "no" field.
func NoContainsFold ¶
NoContainsFold applies the ContainsFold predicate on the "no" field.
func NoEqualFold ¶
NoEqualFold applies the EqualFold predicate on the "no" field.
func NoHasPrefix ¶
NoHasPrefix applies the HasPrefix predicate on the "no" field.
func NoHasSuffix ¶
NoHasSuffix applies the HasSuffix predicate on the "no" field.
func NotifyTime ¶
NotifyTime applies equality check predicate on the "notify_time" field. It's identical to NotifyTimeEQ.
func NotifyTimeEQ ¶
NotifyTimeEQ applies the EQ predicate on the "notify_time" field.
func NotifyTimeGT ¶
NotifyTimeGT applies the GT predicate on the "notify_time" field.
func NotifyTimeGTE ¶
NotifyTimeGTE applies the GTE predicate on the "notify_time" field.
func NotifyTimeIn ¶
NotifyTimeIn applies the In predicate on the "notify_time" field.
func NotifyTimeIsNil ¶
NotifyTimeIsNil applies the IsNil predicate on the "notify_time" field.
func NotifyTimeLT ¶
NotifyTimeLT applies the LT predicate on the "notify_time" field.
func NotifyTimeLTE ¶
NotifyTimeLTE applies the LTE predicate on the "notify_time" field.
func NotifyTimeNEQ ¶
NotifyTimeNEQ applies the NEQ predicate on the "notify_time" field.
func NotifyTimeNotIn ¶
NotifyTimeNotIn applies the NotIn predicate on the "notify_time" field.
func NotifyTimeNotNil ¶
NotifyTimeNotNil applies the NotNil predicate on the "notify_time" field.
func Price ¶
Price applies equality check predicate on the "price" field. It's identical to PriceEQ.
func PriceNotIn ¶
PriceNotIn applies the NotIn predicate on the "price" field.
func RefundPrice ¶
RefundPrice applies equality check predicate on the "refund_price" field. It's identical to RefundPriceEQ.
func RefundPriceEQ ¶
RefundPriceEQ applies the EQ predicate on the "refund_price" field.
func RefundPriceGT ¶
RefundPriceGT applies the GT predicate on the "refund_price" field.
func RefundPriceGTE ¶
RefundPriceGTE applies the GTE predicate on the "refund_price" field.
func RefundPriceIn ¶
RefundPriceIn applies the In predicate on the "refund_price" field.
func RefundPriceLT ¶
RefundPriceLT applies the LT predicate on the "refund_price" field.
func RefundPriceLTE ¶
RefundPriceLTE applies the LTE predicate on the "refund_price" field.
func RefundPriceNEQ ¶
RefundPriceNEQ applies the NEQ predicate on the "refund_price" field.
func RefundPriceNotIn ¶
RefundPriceNotIn applies the NotIn predicate on the "refund_price" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func Subject ¶
Subject applies equality check predicate on the "subject" field. It's identical to SubjectEQ.
func SubjectContains ¶
SubjectContains applies the Contains predicate on the "subject" field.
func SubjectContainsFold ¶
SubjectContainsFold applies the ContainsFold predicate on the "subject" field.
func SubjectEqualFold ¶
SubjectEqualFold applies the EqualFold predicate on the "subject" field.
func SubjectGTE ¶
SubjectGTE applies the GTE predicate on the "subject" field.
func SubjectHasPrefix ¶
SubjectHasPrefix applies the HasPrefix predicate on the "subject" field.
func SubjectHasSuffix ¶
SubjectHasSuffix applies the HasSuffix predicate on the "subject" field.
func SubjectLTE ¶
SubjectLTE applies the LTE predicate on the "subject" field.
func SubjectNEQ ¶
SubjectNEQ applies the NEQ predicate on the "subject" field.
func SubjectNotIn ¶
SubjectNotIn applies the NotIn predicate on the "subject" field.
func SuccessTime ¶
SuccessTime applies equality check predicate on the "success_time" field. It's identical to SuccessTimeEQ.
func SuccessTimeEQ ¶
SuccessTimeEQ applies the EQ predicate on the "success_time" field.
func SuccessTimeGT ¶
SuccessTimeGT applies the GT predicate on the "success_time" field.
func SuccessTimeGTE ¶
SuccessTimeGTE applies the GTE predicate on the "success_time" field.
func SuccessTimeIn ¶
SuccessTimeIn applies the In predicate on the "success_time" field.
func SuccessTimeIsNil ¶
SuccessTimeIsNil applies the IsNil predicate on the "success_time" field.
func SuccessTimeLT ¶
SuccessTimeLT applies the LT predicate on the "success_time" field.
func SuccessTimeLTE ¶
SuccessTimeLTE applies the LTE predicate on the "success_time" field.
func SuccessTimeNEQ ¶
SuccessTimeNEQ applies the NEQ predicate on the "success_time" field.
func SuccessTimeNotIn ¶
SuccessTimeNotIn applies the NotIn predicate on the "success_time" field.
func SuccessTimeNotNil ¶
SuccessTimeNotNil applies the NotNil predicate on the "success_time" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserIP ¶
UserIP applies equality check predicate on the "user_ip" field. It's identical to UserIPEQ.
func UserIPContains ¶
UserIPContains applies the Contains predicate on the "user_ip" field.
func UserIPContainsFold ¶
UserIPContainsFold applies the ContainsFold predicate on the "user_ip" field.
func UserIPEqualFold ¶
UserIPEqualFold applies the EqualFold predicate on the "user_ip" field.
func UserIPHasPrefix ¶
UserIPHasPrefix applies the HasPrefix predicate on the "user_ip" field.
func UserIPHasSuffix ¶
UserIPHasSuffix applies the HasSuffix predicate on the "user_ip" field.
func UserIPNotIn ¶
UserIPNotIn applies the NotIn predicate on the "user_ip" 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 Order queries.
func ByBody ¶
func ByBody(opts ...sql.OrderTermOption) OrderOption
ByBody orders the results by the body field.
func ByChannelCode ¶
func ByChannelCode(opts ...sql.OrderTermOption) OrderOption
ByChannelCode orders the results by the channel_code field.
func ByChannelFeePrice ¶
func ByChannelFeePrice(opts ...sql.OrderTermOption) OrderOption
ByChannelFeePrice orders the results by the channel_fee_price field.
func ByChannelFeeRate ¶
func ByChannelFeeRate(opts ...sql.OrderTermOption) OrderOption
ByChannelFeeRate orders the results by the channel_fee_rate field.
func ByChannelOrderNo ¶
func ByChannelOrderNo(opts ...sql.OrderTermOption) OrderOption
ByChannelOrderNo orders the results by the channel_order_no field.
func ByChannelUserID ¶
func ByChannelUserID(opts ...sql.OrderTermOption) OrderOption
ByChannelUserID orders the results by the channel_user_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByExpireTime ¶
func ByExpireTime(opts ...sql.OrderTermOption) OrderOption
ByExpireTime orders the results by the expire_time field.
func ByExtensionID ¶
func ByExtensionID(opts ...sql.OrderTermOption) OrderOption
ByExtensionID orders the results by the extension_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMerchantOrderID ¶
func ByMerchantOrderID(opts ...sql.OrderTermOption) OrderOption
ByMerchantOrderID orders the results by the merchant_order_id field.
func ByNo ¶
func ByNo(opts ...sql.OrderTermOption) OrderOption
ByNo orders the results by the no field.
func ByNotifyTime ¶
func ByNotifyTime(opts ...sql.OrderTermOption) OrderOption
ByNotifyTime orders the results by the notify_time field.
func ByPrice ¶
func ByPrice(opts ...sql.OrderTermOption) OrderOption
ByPrice orders the results by the price field.
func ByRefundPrice ¶
func ByRefundPrice(opts ...sql.OrderTermOption) OrderOption
ByRefundPrice orders the results by the refund_price field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySubject ¶
func BySubject(opts ...sql.OrderTermOption) OrderOption
BySubject orders the results by the subject field.
func BySuccessTime ¶
func BySuccessTime(opts ...sql.OrderTermOption) OrderOption
BySuccessTime orders the results by the success_time field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserIP ¶
func ByUserIP(opts ...sql.OrderTermOption) OrderOption
ByUserIP orders the results by the user_ip field.