Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DemoOrder) predicate.DemoOrder
- func CreatedAt(v time.Time) predicate.DemoOrder
- func CreatedAtEQ(v time.Time) predicate.DemoOrder
- func CreatedAtGT(v time.Time) predicate.DemoOrder
- func CreatedAtGTE(v time.Time) predicate.DemoOrder
- func CreatedAtIn(vs ...time.Time) predicate.DemoOrder
- func CreatedAtLT(v time.Time) predicate.DemoOrder
- func CreatedAtLTE(v time.Time) predicate.DemoOrder
- func CreatedAtNEQ(v time.Time) predicate.DemoOrder
- func CreatedAtNotIn(vs ...time.Time) predicate.DemoOrder
- func DeletedAt(v time.Time) predicate.DemoOrder
- func DeletedAtEQ(v time.Time) predicate.DemoOrder
- func DeletedAtGT(v time.Time) predicate.DemoOrder
- func DeletedAtGTE(v time.Time) predicate.DemoOrder
- func DeletedAtIn(vs ...time.Time) predicate.DemoOrder
- func DeletedAtIsNil() predicate.DemoOrder
- func DeletedAtLT(v time.Time) predicate.DemoOrder
- func DeletedAtLTE(v time.Time) predicate.DemoOrder
- func DeletedAtNEQ(v time.Time) predicate.DemoOrder
- func DeletedAtNotIn(vs ...time.Time) predicate.DemoOrder
- func DeletedAtNotNil() predicate.DemoOrder
- func ID(id uint64) predicate.DemoOrder
- func IDEQ(id uint64) predicate.DemoOrder
- func IDGT(id uint64) predicate.DemoOrder
- func IDGTE(id uint64) predicate.DemoOrder
- func IDIn(ids ...uint64) predicate.DemoOrder
- func IDLT(id uint64) predicate.DemoOrder
- func IDLTE(id uint64) predicate.DemoOrder
- func IDNEQ(id uint64) predicate.DemoOrder
- func IDNotIn(ids ...uint64) predicate.DemoOrder
- func Not(p predicate.DemoOrder) predicate.DemoOrder
- func Or(predicates ...predicate.DemoOrder) predicate.DemoOrder
- func PayChannelCode(v string) predicate.DemoOrder
- func PayChannelCodeContains(v string) predicate.DemoOrder
- func PayChannelCodeContainsFold(v string) predicate.DemoOrder
- func PayChannelCodeEQ(v string) predicate.DemoOrder
- func PayChannelCodeEqualFold(v string) predicate.DemoOrder
- func PayChannelCodeGT(v string) predicate.DemoOrder
- func PayChannelCodeGTE(v string) predicate.DemoOrder
- func PayChannelCodeHasPrefix(v string) predicate.DemoOrder
- func PayChannelCodeHasSuffix(v string) predicate.DemoOrder
- func PayChannelCodeIn(vs ...string) predicate.DemoOrder
- func PayChannelCodeIsNil() predicate.DemoOrder
- func PayChannelCodeLT(v string) predicate.DemoOrder
- func PayChannelCodeLTE(v string) predicate.DemoOrder
- func PayChannelCodeNEQ(v string) predicate.DemoOrder
- func PayChannelCodeNotIn(vs ...string) predicate.DemoOrder
- func PayChannelCodeNotNil() predicate.DemoOrder
- func PayOrderId(v uint64) predicate.DemoOrder
- func PayOrderIdEQ(v uint64) predicate.DemoOrder
- func PayOrderIdGT(v uint64) predicate.DemoOrder
- func PayOrderIdGTE(v uint64) predicate.DemoOrder
- func PayOrderIdIn(vs ...uint64) predicate.DemoOrder
- func PayOrderIdIsNil() predicate.DemoOrder
- func PayOrderIdLT(v uint64) predicate.DemoOrder
- func PayOrderIdLTE(v uint64) predicate.DemoOrder
- func PayOrderIdNEQ(v uint64) predicate.DemoOrder
- func PayOrderIdNotIn(vs ...uint64) predicate.DemoOrder
- func PayOrderIdNotNil() predicate.DemoOrder
- func PayRefundID(v uint64) predicate.DemoOrder
- func PayRefundIDEQ(v uint64) predicate.DemoOrder
- func PayRefundIDGT(v uint64) predicate.DemoOrder
- func PayRefundIDGTE(v uint64) predicate.DemoOrder
- func PayRefundIDIn(vs ...uint64) predicate.DemoOrder
- func PayRefundIDIsNil() predicate.DemoOrder
- func PayRefundIDLT(v uint64) predicate.DemoOrder
- func PayRefundIDLTE(v uint64) predicate.DemoOrder
- func PayRefundIDNEQ(v uint64) predicate.DemoOrder
- func PayRefundIDNotIn(vs ...uint64) predicate.DemoOrder
- func PayRefundIDNotNil() predicate.DemoOrder
- func PayStatus(v bool) predicate.DemoOrder
- func PayStatusEQ(v bool) predicate.DemoOrder
- func PayStatusNEQ(v bool) predicate.DemoOrder
- func PayTime(v time.Time) predicate.DemoOrder
- func PayTimeEQ(v time.Time) predicate.DemoOrder
- func PayTimeGT(v time.Time) predicate.DemoOrder
- func PayTimeGTE(v time.Time) predicate.DemoOrder
- func PayTimeIn(vs ...time.Time) predicate.DemoOrder
- func PayTimeIsNil() predicate.DemoOrder
- func PayTimeLT(v time.Time) predicate.DemoOrder
- func PayTimeLTE(v time.Time) predicate.DemoOrder
- func PayTimeNEQ(v time.Time) predicate.DemoOrder
- func PayTimeNotIn(vs ...time.Time) predicate.DemoOrder
- func PayTimeNotNil() predicate.DemoOrder
- func Price(v int32) predicate.DemoOrder
- func PriceEQ(v int32) predicate.DemoOrder
- func PriceGT(v int32) predicate.DemoOrder
- func PriceGTE(v int32) predicate.DemoOrder
- func PriceIn(vs ...int32) predicate.DemoOrder
- func PriceLT(v int32) predicate.DemoOrder
- func PriceLTE(v int32) predicate.DemoOrder
- func PriceNEQ(v int32) predicate.DemoOrder
- func PriceNotIn(vs ...int32) predicate.DemoOrder
- func RefundPrice(v int32) predicate.DemoOrder
- func RefundPriceEQ(v int32) predicate.DemoOrder
- func RefundPriceGT(v int32) predicate.DemoOrder
- func RefundPriceGTE(v int32) predicate.DemoOrder
- func RefundPriceIn(vs ...int32) predicate.DemoOrder
- func RefundPriceIsNil() predicate.DemoOrder
- func RefundPriceLT(v int32) predicate.DemoOrder
- func RefundPriceLTE(v int32) predicate.DemoOrder
- func RefundPriceNEQ(v int32) predicate.DemoOrder
- func RefundPriceNotIn(vs ...int32) predicate.DemoOrder
- func RefundPriceNotNil() predicate.DemoOrder
- func RefundTime(v time.Time) predicate.DemoOrder
- func RefundTimeEQ(v time.Time) predicate.DemoOrder
- func RefundTimeGT(v time.Time) predicate.DemoOrder
- func RefundTimeGTE(v time.Time) predicate.DemoOrder
- func RefundTimeIn(vs ...time.Time) predicate.DemoOrder
- func RefundTimeIsNil() predicate.DemoOrder
- func RefundTimeLT(v time.Time) predicate.DemoOrder
- func RefundTimeLTE(v time.Time) predicate.DemoOrder
- func RefundTimeNEQ(v time.Time) predicate.DemoOrder
- func RefundTimeNotIn(vs ...time.Time) predicate.DemoOrder
- func RefundTimeNotNil() predicate.DemoOrder
- func SpuID(v uint64) predicate.DemoOrder
- func SpuIDEQ(v uint64) predicate.DemoOrder
- func SpuIDGT(v uint64) predicate.DemoOrder
- func SpuIDGTE(v uint64) predicate.DemoOrder
- func SpuIDIn(vs ...uint64) predicate.DemoOrder
- func SpuIDLT(v uint64) predicate.DemoOrder
- func SpuIDLTE(v uint64) predicate.DemoOrder
- func SpuIDNEQ(v uint64) predicate.DemoOrder
- func SpuIDNotIn(vs ...uint64) predicate.DemoOrder
- func SpuName(v string) predicate.DemoOrder
- func SpuNameContains(v string) predicate.DemoOrder
- func SpuNameContainsFold(v string) predicate.DemoOrder
- func SpuNameEQ(v string) predicate.DemoOrder
- func SpuNameEqualFold(v string) predicate.DemoOrder
- func SpuNameGT(v string) predicate.DemoOrder
- func SpuNameGTE(v string) predicate.DemoOrder
- func SpuNameHasPrefix(v string) predicate.DemoOrder
- func SpuNameHasSuffix(v string) predicate.DemoOrder
- func SpuNameIn(vs ...string) predicate.DemoOrder
- func SpuNameLT(v string) predicate.DemoOrder
- func SpuNameLTE(v string) predicate.DemoOrder
- func SpuNameNEQ(v string) predicate.DemoOrder
- func SpuNameNotIn(vs ...string) predicate.DemoOrder
- func UpdatedAt(v time.Time) predicate.DemoOrder
- func UpdatedAtEQ(v time.Time) predicate.DemoOrder
- func UpdatedAtGT(v time.Time) predicate.DemoOrder
- func UpdatedAtGTE(v time.Time) predicate.DemoOrder
- func UpdatedAtIn(vs ...time.Time) predicate.DemoOrder
- func UpdatedAtLT(v time.Time) predicate.DemoOrder
- func UpdatedAtLTE(v time.Time) predicate.DemoOrder
- func UpdatedAtNEQ(v time.Time) predicate.DemoOrder
- func UpdatedAtNotIn(vs ...time.Time) predicate.DemoOrder
- func UserID(v string) predicate.DemoOrder
- func UserIDContains(v string) predicate.DemoOrder
- func UserIDContainsFold(v string) predicate.DemoOrder
- func UserIDEQ(v string) predicate.DemoOrder
- func UserIDEqualFold(v string) predicate.DemoOrder
- func UserIDGT(v string) predicate.DemoOrder
- func UserIDGTE(v string) predicate.DemoOrder
- func UserIDHasPrefix(v string) predicate.DemoOrder
- func UserIDHasSuffix(v string) predicate.DemoOrder
- func UserIDIn(vs ...string) predicate.DemoOrder
- func UserIDLT(v string) predicate.DemoOrder
- func UserIDLTE(v string) predicate.DemoOrder
- func UserIDNEQ(v string) predicate.DemoOrder
- func UserIDNotIn(vs ...string) predicate.DemoOrder
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPayChannelCode(opts ...sql.OrderTermOption) OrderOption
- func ByPayOrderId(opts ...sql.OrderTermOption) OrderOption
- func ByPayRefundID(opts ...sql.OrderTermOption) OrderOption
- func ByPayStatus(opts ...sql.OrderTermOption) OrderOption
- func ByPayTime(opts ...sql.OrderTermOption) OrderOption
- func ByPrice(opts ...sql.OrderTermOption) OrderOption
- func ByRefundPrice(opts ...sql.OrderTermOption) OrderOption
- func ByRefundTime(opts ...sql.OrderTermOption) OrderOption
- func BySpuID(opts ...sql.OrderTermOption) OrderOption
- func BySpuName(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 demoorder type in the database. Label = "demo_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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldSpuID holds the string denoting the spu_id field in the database. FieldSpuID = "spu_id" // FieldSpuName holds the string denoting the spu_name field in the database. FieldSpuName = "spu_name" // FieldPrice holds the string denoting the price field in the database. FieldPrice = "price" // FieldPayStatus holds the string denoting the pay_status field in the database. FieldPayStatus = "pay_status" // FieldPayOrderId holds the string denoting the pay_orderid field in the database. FieldPayOrderId = "pay_order_id" // FieldPayTime holds the string denoting the pay_time field in the database. FieldPayTime = "pay_time" // FieldPayChannelCode holds the string denoting the pay_channel_code field in the database. FieldPayChannelCode = "pay_channel_code" // FieldPayRefundID holds the string denoting the pay_refund_id field in the database. FieldPayRefundID = "pay_refund_id" // FieldRefundPrice holds the string denoting the refund_price field in the database. FieldRefundPrice = "refund_price" // FieldRefundTime holds the string denoting the refund_time field in the database. FieldRefundTime = "refund_time" // Table holds the table name of the demoorder in the database. Table = "pay_demo_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 )
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, FieldDeletedAt, FieldUserID, FieldSpuID, FieldSpuName, FieldPrice, FieldPayStatus, FieldPayOrderId, FieldPayTime, FieldPayChannelCode, FieldPayRefundID, FieldRefundPrice, FieldRefundTime, }
Columns holds all SQL columns for demoorder fields.
Functions ¶
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 PayChannelCode ¶
PayChannelCode applies equality check predicate on the "pay_channel_code" field. It's identical to PayChannelCodeEQ.
func PayChannelCodeContains ¶
PayChannelCodeContains applies the Contains predicate on the "pay_channel_code" field.
func PayChannelCodeContainsFold ¶
PayChannelCodeContainsFold applies the ContainsFold predicate on the "pay_channel_code" field.
func PayChannelCodeEQ ¶
PayChannelCodeEQ applies the EQ predicate on the "pay_channel_code" field.
func PayChannelCodeEqualFold ¶
PayChannelCodeEqualFold applies the EqualFold predicate on the "pay_channel_code" field.
func PayChannelCodeGT ¶
PayChannelCodeGT applies the GT predicate on the "pay_channel_code" field.
func PayChannelCodeGTE ¶
PayChannelCodeGTE applies the GTE predicate on the "pay_channel_code" field.
func PayChannelCodeHasPrefix ¶
PayChannelCodeHasPrefix applies the HasPrefix predicate on the "pay_channel_code" field.
func PayChannelCodeHasSuffix ¶
PayChannelCodeHasSuffix applies the HasSuffix predicate on the "pay_channel_code" field.
func PayChannelCodeIn ¶
PayChannelCodeIn applies the In predicate on the "pay_channel_code" field.
func PayChannelCodeIsNil ¶
PayChannelCodeIsNil applies the IsNil predicate on the "pay_channel_code" field.
func PayChannelCodeLT ¶
PayChannelCodeLT applies the LT predicate on the "pay_channel_code" field.
func PayChannelCodeLTE ¶
PayChannelCodeLTE applies the LTE predicate on the "pay_channel_code" field.
func PayChannelCodeNEQ ¶
PayChannelCodeNEQ applies the NEQ predicate on the "pay_channel_code" field.
func PayChannelCodeNotIn ¶
PayChannelCodeNotIn applies the NotIn predicate on the "pay_channel_code" field.
func PayChannelCodeNotNil ¶
PayChannelCodeNotNil applies the NotNil predicate on the "pay_channel_code" field.
func PayOrderId ¶
PayOrderId applies equality check predicate on the "pay_orderId" field. It's identical to PayOrderIdEQ.
func PayOrderIdEQ ¶
PayOrderIdEQ applies the EQ predicate on the "pay_orderId" field.
func PayOrderIdGT ¶
PayOrderIdGT applies the GT predicate on the "pay_orderId" field.
func PayOrderIdGTE ¶
PayOrderIdGTE applies the GTE predicate on the "pay_orderId" field.
func PayOrderIdIn ¶
PayOrderIdIn applies the In predicate on the "pay_orderId" field.
func PayOrderIdIsNil ¶
PayOrderIdIsNil applies the IsNil predicate on the "pay_orderId" field.
func PayOrderIdLT ¶
PayOrderIdLT applies the LT predicate on the "pay_orderId" field.
func PayOrderIdLTE ¶
PayOrderIdLTE applies the LTE predicate on the "pay_orderId" field.
func PayOrderIdNEQ ¶
PayOrderIdNEQ applies the NEQ predicate on the "pay_orderId" field.
func PayOrderIdNotIn ¶
PayOrderIdNotIn applies the NotIn predicate on the "pay_orderId" field.
func PayOrderIdNotNil ¶
PayOrderIdNotNil applies the NotNil predicate on the "pay_orderId" field.
func PayRefundID ¶
PayRefundID applies equality check predicate on the "pay_refund_id" field. It's identical to PayRefundIDEQ.
func PayRefundIDEQ ¶
PayRefundIDEQ applies the EQ predicate on the "pay_refund_id" field.
func PayRefundIDGT ¶
PayRefundIDGT applies the GT predicate on the "pay_refund_id" field.
func PayRefundIDGTE ¶
PayRefundIDGTE applies the GTE predicate on the "pay_refund_id" field.
func PayRefundIDIn ¶
PayRefundIDIn applies the In predicate on the "pay_refund_id" field.
func PayRefundIDIsNil ¶
PayRefundIDIsNil applies the IsNil predicate on the "pay_refund_id" field.
func PayRefundIDLT ¶
PayRefundIDLT applies the LT predicate on the "pay_refund_id" field.
func PayRefundIDLTE ¶
PayRefundIDLTE applies the LTE predicate on the "pay_refund_id" field.
func PayRefundIDNEQ ¶
PayRefundIDNEQ applies the NEQ predicate on the "pay_refund_id" field.
func PayRefundIDNotIn ¶
PayRefundIDNotIn applies the NotIn predicate on the "pay_refund_id" field.
func PayRefundIDNotNil ¶
PayRefundIDNotNil applies the NotNil predicate on the "pay_refund_id" field.
func PayStatus ¶
PayStatus applies equality check predicate on the "pay_status" field. It's identical to PayStatusEQ.
func PayStatusEQ ¶
PayStatusEQ applies the EQ predicate on the "pay_status" field.
func PayStatusNEQ ¶
PayStatusNEQ applies the NEQ predicate on the "pay_status" field.
func PayTime ¶
PayTime applies equality check predicate on the "pay_time" field. It's identical to PayTimeEQ.
func PayTimeGTE ¶
PayTimeGTE applies the GTE predicate on the "pay_time" field.
func PayTimeIsNil ¶
PayTimeIsNil applies the IsNil predicate on the "pay_time" field.
func PayTimeLTE ¶
PayTimeLTE applies the LTE predicate on the "pay_time" field.
func PayTimeNEQ ¶
PayTimeNEQ applies the NEQ predicate on the "pay_time" field.
func PayTimeNotIn ¶
PayTimeNotIn applies the NotIn predicate on the "pay_time" field.
func PayTimeNotNil ¶
PayTimeNotNil applies the NotNil predicate on the "pay_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 RefundPriceIsNil ¶
RefundPriceIsNil applies the IsNil 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 RefundPriceNotNil ¶
RefundPriceNotNil applies the NotNil predicate on the "refund_price" field.
func RefundTime ¶
RefundTime applies equality check predicate on the "refund_time" field. It's identical to RefundTimeEQ.
func RefundTimeEQ ¶
RefundTimeEQ applies the EQ predicate on the "refund_time" field.
func RefundTimeGT ¶
RefundTimeGT applies the GT predicate on the "refund_time" field.
func RefundTimeGTE ¶
RefundTimeGTE applies the GTE predicate on the "refund_time" field.
func RefundTimeIn ¶
RefundTimeIn applies the In predicate on the "refund_time" field.
func RefundTimeIsNil ¶
RefundTimeIsNil applies the IsNil predicate on the "refund_time" field.
func RefundTimeLT ¶
RefundTimeLT applies the LT predicate on the "refund_time" field.
func RefundTimeLTE ¶
RefundTimeLTE applies the LTE predicate on the "refund_time" field.
func RefundTimeNEQ ¶
RefundTimeNEQ applies the NEQ predicate on the "refund_time" field.
func RefundTimeNotIn ¶
RefundTimeNotIn applies the NotIn predicate on the "refund_time" field.
func RefundTimeNotNil ¶
RefundTimeNotNil applies the NotNil predicate on the "refund_time" field.
func SpuID ¶
SpuID applies equality check predicate on the "spu_id" field. It's identical to SpuIDEQ.
func SpuIDNotIn ¶
SpuIDNotIn applies the NotIn predicate on the "spu_id" field.
func SpuName ¶
SpuName applies equality check predicate on the "spu_name" field. It's identical to SpuNameEQ.
func SpuNameContains ¶
SpuNameContains applies the Contains predicate on the "spu_name" field.
func SpuNameContainsFold ¶
SpuNameContainsFold applies the ContainsFold predicate on the "spu_name" field.
func SpuNameEqualFold ¶
SpuNameEqualFold applies the EqualFold predicate on the "spu_name" field.
func SpuNameGTE ¶
SpuNameGTE applies the GTE predicate on the "spu_name" field.
func SpuNameHasPrefix ¶
SpuNameHasPrefix applies the HasPrefix predicate on the "spu_name" field.
func SpuNameHasSuffix ¶
SpuNameHasSuffix applies the HasSuffix predicate on the "spu_name" field.
func SpuNameLTE ¶
SpuNameLTE applies the LTE predicate on the "spu_name" field.
func SpuNameNEQ ¶
SpuNameNEQ applies the NEQ predicate on the "spu_name" field.
func SpuNameNotIn ¶
SpuNameNotIn applies the NotIn predicate on the "spu_name" 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 UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEqualFold ¶
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDHasPrefix ¶
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDNotIn ¶
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 DemoOrder queries.
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 ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPayChannelCode ¶
func ByPayChannelCode(opts ...sql.OrderTermOption) OrderOption
ByPayChannelCode orders the results by the pay_channel_code field.
func ByPayOrderId ¶
func ByPayOrderId(opts ...sql.OrderTermOption) OrderOption
ByPayOrderId orders the results by the pay_orderId field.
func ByPayRefundID ¶
func ByPayRefundID(opts ...sql.OrderTermOption) OrderOption
ByPayRefundID orders the results by the pay_refund_id field.
func ByPayStatus ¶
func ByPayStatus(opts ...sql.OrderTermOption) OrderOption
ByPayStatus orders the results by the pay_status field.
func ByPayTime ¶
func ByPayTime(opts ...sql.OrderTermOption) OrderOption
ByPayTime orders the results by the pay_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 ByRefundTime ¶
func ByRefundTime(opts ...sql.OrderTermOption) OrderOption
ByRefundTime orders the results by the refund_time field.
func BySpuID ¶
func BySpuID(opts ...sql.OrderTermOption) OrderOption
BySpuID orders the results by the spu_id field.
func BySpuName ¶
func BySpuName(opts ...sql.OrderTermOption) OrderOption
BySpuName orders the results by the spu_name 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.