demoorder

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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"

Columns holds all SQL columns for demoorder fields.

Functions

func And

func And(predicates ...predicate.DemoOrder) predicate.DemoOrder

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.DemoOrder

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.DemoOrder

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.DemoOrder

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.DemoOrder

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.DemoOrder

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.DemoOrder

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.DemoOrder

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.DemoOrder

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.DemoOrder

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.DemoOrder

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.DemoOrder

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.DemoOrder

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.DemoOrder

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.DemoOrder

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.DemoOrder

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.DemoOrder

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.DemoOrder

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.DemoOrder

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.DemoOrder

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.DemoOrder

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func ID

func ID(id uint64) predicate.DemoOrder

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint64) predicate.DemoOrder

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint64) predicate.DemoOrder

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint64) predicate.DemoOrder

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint64) predicate.DemoOrder

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint64) predicate.DemoOrder

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint64) predicate.DemoOrder

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint64) predicate.DemoOrder

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint64) predicate.DemoOrder

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.DemoOrder) predicate.DemoOrder

Or groups predicates with the OR operator between them.

func PayChannelCode

func PayChannelCode(v string) predicate.DemoOrder

PayChannelCode applies equality check predicate on the "pay_channel_code" field. It's identical to PayChannelCodeEQ.

func PayChannelCodeContains

func PayChannelCodeContains(v string) predicate.DemoOrder

PayChannelCodeContains applies the Contains predicate on the "pay_channel_code" field.

func PayChannelCodeContainsFold

func PayChannelCodeContainsFold(v string) predicate.DemoOrder

PayChannelCodeContainsFold applies the ContainsFold predicate on the "pay_channel_code" field.

func PayChannelCodeEQ

func PayChannelCodeEQ(v string) predicate.DemoOrder

PayChannelCodeEQ applies the EQ predicate on the "pay_channel_code" field.

func PayChannelCodeEqualFold

func PayChannelCodeEqualFold(v string) predicate.DemoOrder

PayChannelCodeEqualFold applies the EqualFold predicate on the "pay_channel_code" field.

func PayChannelCodeGT

func PayChannelCodeGT(v string) predicate.DemoOrder

PayChannelCodeGT applies the GT predicate on the "pay_channel_code" field.

func PayChannelCodeGTE

func PayChannelCodeGTE(v string) predicate.DemoOrder

PayChannelCodeGTE applies the GTE predicate on the "pay_channel_code" field.

func PayChannelCodeHasPrefix

func PayChannelCodeHasPrefix(v string) predicate.DemoOrder

PayChannelCodeHasPrefix applies the HasPrefix predicate on the "pay_channel_code" field.

func PayChannelCodeHasSuffix

func PayChannelCodeHasSuffix(v string) predicate.DemoOrder

PayChannelCodeHasSuffix applies the HasSuffix predicate on the "pay_channel_code" field.

func PayChannelCodeIn

func PayChannelCodeIn(vs ...string) predicate.DemoOrder

PayChannelCodeIn applies the In predicate on the "pay_channel_code" field.

func PayChannelCodeIsNil

func PayChannelCodeIsNil() predicate.DemoOrder

PayChannelCodeIsNil applies the IsNil predicate on the "pay_channel_code" field.

func PayChannelCodeLT

func PayChannelCodeLT(v string) predicate.DemoOrder

PayChannelCodeLT applies the LT predicate on the "pay_channel_code" field.

func PayChannelCodeLTE

func PayChannelCodeLTE(v string) predicate.DemoOrder

PayChannelCodeLTE applies the LTE predicate on the "pay_channel_code" field.

func PayChannelCodeNEQ

func PayChannelCodeNEQ(v string) predicate.DemoOrder

PayChannelCodeNEQ applies the NEQ predicate on the "pay_channel_code" field.

func PayChannelCodeNotIn

func PayChannelCodeNotIn(vs ...string) predicate.DemoOrder

PayChannelCodeNotIn applies the NotIn predicate on the "pay_channel_code" field.

func PayChannelCodeNotNil

func PayChannelCodeNotNil() predicate.DemoOrder

PayChannelCodeNotNil applies the NotNil predicate on the "pay_channel_code" field.

func PayOrderId

func PayOrderId(v uint64) predicate.DemoOrder

PayOrderId applies equality check predicate on the "pay_orderId" field. It's identical to PayOrderIdEQ.

func PayOrderIdEQ

func PayOrderIdEQ(v uint64) predicate.DemoOrder

PayOrderIdEQ applies the EQ predicate on the "pay_orderId" field.

func PayOrderIdGT

func PayOrderIdGT(v uint64) predicate.DemoOrder

PayOrderIdGT applies the GT predicate on the "pay_orderId" field.

func PayOrderIdGTE

func PayOrderIdGTE(v uint64) predicate.DemoOrder

PayOrderIdGTE applies the GTE predicate on the "pay_orderId" field.

func PayOrderIdIn

func PayOrderIdIn(vs ...uint64) predicate.DemoOrder

PayOrderIdIn applies the In predicate on the "pay_orderId" field.

func PayOrderIdIsNil

func PayOrderIdIsNil() predicate.DemoOrder

PayOrderIdIsNil applies the IsNil predicate on the "pay_orderId" field.

func PayOrderIdLT

func PayOrderIdLT(v uint64) predicate.DemoOrder

PayOrderIdLT applies the LT predicate on the "pay_orderId" field.

func PayOrderIdLTE

func PayOrderIdLTE(v uint64) predicate.DemoOrder

PayOrderIdLTE applies the LTE predicate on the "pay_orderId" field.

func PayOrderIdNEQ

func PayOrderIdNEQ(v uint64) predicate.DemoOrder

PayOrderIdNEQ applies the NEQ predicate on the "pay_orderId" field.

func PayOrderIdNotIn

func PayOrderIdNotIn(vs ...uint64) predicate.DemoOrder

PayOrderIdNotIn applies the NotIn predicate on the "pay_orderId" field.

func PayOrderIdNotNil

func PayOrderIdNotNil() predicate.DemoOrder

PayOrderIdNotNil applies the NotNil predicate on the "pay_orderId" field.

func PayRefundID

func PayRefundID(v uint64) predicate.DemoOrder

PayRefundID applies equality check predicate on the "pay_refund_id" field. It's identical to PayRefundIDEQ.

func PayRefundIDEQ

func PayRefundIDEQ(v uint64) predicate.DemoOrder

PayRefundIDEQ applies the EQ predicate on the "pay_refund_id" field.

func PayRefundIDGT

func PayRefundIDGT(v uint64) predicate.DemoOrder

PayRefundIDGT applies the GT predicate on the "pay_refund_id" field.

func PayRefundIDGTE

func PayRefundIDGTE(v uint64) predicate.DemoOrder

PayRefundIDGTE applies the GTE predicate on the "pay_refund_id" field.

func PayRefundIDIn

func PayRefundIDIn(vs ...uint64) predicate.DemoOrder

PayRefundIDIn applies the In predicate on the "pay_refund_id" field.

func PayRefundIDIsNil

func PayRefundIDIsNil() predicate.DemoOrder

PayRefundIDIsNil applies the IsNil predicate on the "pay_refund_id" field.

func PayRefundIDLT

func PayRefundIDLT(v uint64) predicate.DemoOrder

PayRefundIDLT applies the LT predicate on the "pay_refund_id" field.

func PayRefundIDLTE

func PayRefundIDLTE(v uint64) predicate.DemoOrder

PayRefundIDLTE applies the LTE predicate on the "pay_refund_id" field.

func PayRefundIDNEQ

func PayRefundIDNEQ(v uint64) predicate.DemoOrder

PayRefundIDNEQ applies the NEQ predicate on the "pay_refund_id" field.

func PayRefundIDNotIn

func PayRefundIDNotIn(vs ...uint64) predicate.DemoOrder

PayRefundIDNotIn applies the NotIn predicate on the "pay_refund_id" field.

func PayRefundIDNotNil

func PayRefundIDNotNil() predicate.DemoOrder

PayRefundIDNotNil applies the NotNil predicate on the "pay_refund_id" field.

func PayStatus

func PayStatus(v bool) predicate.DemoOrder

PayStatus applies equality check predicate on the "pay_status" field. It's identical to PayStatusEQ.

func PayStatusEQ

func PayStatusEQ(v bool) predicate.DemoOrder

PayStatusEQ applies the EQ predicate on the "pay_status" field.

func PayStatusNEQ

func PayStatusNEQ(v bool) predicate.DemoOrder

PayStatusNEQ applies the NEQ predicate on the "pay_status" field.

func PayTime

func PayTime(v time.Time) predicate.DemoOrder

PayTime applies equality check predicate on the "pay_time" field. It's identical to PayTimeEQ.

func PayTimeEQ

func PayTimeEQ(v time.Time) predicate.DemoOrder

PayTimeEQ applies the EQ predicate on the "pay_time" field.

func PayTimeGT

func PayTimeGT(v time.Time) predicate.DemoOrder

PayTimeGT applies the GT predicate on the "pay_time" field.

func PayTimeGTE

func PayTimeGTE(v time.Time) predicate.DemoOrder

PayTimeGTE applies the GTE predicate on the "pay_time" field.

func PayTimeIn

func PayTimeIn(vs ...time.Time) predicate.DemoOrder

PayTimeIn applies the In predicate on the "pay_time" field.

func PayTimeIsNil

func PayTimeIsNil() predicate.DemoOrder

PayTimeIsNil applies the IsNil predicate on the "pay_time" field.

func PayTimeLT

func PayTimeLT(v time.Time) predicate.DemoOrder

PayTimeLT applies the LT predicate on the "pay_time" field.

func PayTimeLTE

func PayTimeLTE(v time.Time) predicate.DemoOrder

PayTimeLTE applies the LTE predicate on the "pay_time" field.

func PayTimeNEQ

func PayTimeNEQ(v time.Time) predicate.DemoOrder

PayTimeNEQ applies the NEQ predicate on the "pay_time" field.

func PayTimeNotIn

func PayTimeNotIn(vs ...time.Time) predicate.DemoOrder

PayTimeNotIn applies the NotIn predicate on the "pay_time" field.

func PayTimeNotNil

func PayTimeNotNil() predicate.DemoOrder

PayTimeNotNil applies the NotNil predicate on the "pay_time" field.

func Price

func Price(v int32) predicate.DemoOrder

Price applies equality check predicate on the "price" field. It's identical to PriceEQ.

func PriceEQ

func PriceEQ(v int32) predicate.DemoOrder

PriceEQ applies the EQ predicate on the "price" field.

func PriceGT

func PriceGT(v int32) predicate.DemoOrder

PriceGT applies the GT predicate on the "price" field.

func PriceGTE

func PriceGTE(v int32) predicate.DemoOrder

PriceGTE applies the GTE predicate on the "price" field.

func PriceIn

func PriceIn(vs ...int32) predicate.DemoOrder

PriceIn applies the In predicate on the "price" field.

func PriceLT

func PriceLT(v int32) predicate.DemoOrder

PriceLT applies the LT predicate on the "price" field.

func PriceLTE

func PriceLTE(v int32) predicate.DemoOrder

PriceLTE applies the LTE predicate on the "price" field.

func PriceNEQ

func PriceNEQ(v int32) predicate.DemoOrder

PriceNEQ applies the NEQ predicate on the "price" field.

func PriceNotIn

func PriceNotIn(vs ...int32) predicate.DemoOrder

PriceNotIn applies the NotIn predicate on the "price" field.

func RefundPrice

func RefundPrice(v int32) predicate.DemoOrder

RefundPrice applies equality check predicate on the "refund_price" field. It's identical to RefundPriceEQ.

func RefundPriceEQ

func RefundPriceEQ(v int32) predicate.DemoOrder

RefundPriceEQ applies the EQ predicate on the "refund_price" field.

func RefundPriceGT

func RefundPriceGT(v int32) predicate.DemoOrder

RefundPriceGT applies the GT predicate on the "refund_price" field.

func RefundPriceGTE

func RefundPriceGTE(v int32) predicate.DemoOrder

RefundPriceGTE applies the GTE predicate on the "refund_price" field.

func RefundPriceIn

func RefundPriceIn(vs ...int32) predicate.DemoOrder

RefundPriceIn applies the In predicate on the "refund_price" field.

func RefundPriceIsNil

func RefundPriceIsNil() predicate.DemoOrder

RefundPriceIsNil applies the IsNil predicate on the "refund_price" field.

func RefundPriceLT

func RefundPriceLT(v int32) predicate.DemoOrder

RefundPriceLT applies the LT predicate on the "refund_price" field.

func RefundPriceLTE

func RefundPriceLTE(v int32) predicate.DemoOrder

RefundPriceLTE applies the LTE predicate on the "refund_price" field.

func RefundPriceNEQ

func RefundPriceNEQ(v int32) predicate.DemoOrder

RefundPriceNEQ applies the NEQ predicate on the "refund_price" field.

func RefundPriceNotIn

func RefundPriceNotIn(vs ...int32) predicate.DemoOrder

RefundPriceNotIn applies the NotIn predicate on the "refund_price" field.

func RefundPriceNotNil

func RefundPriceNotNil() predicate.DemoOrder

RefundPriceNotNil applies the NotNil predicate on the "refund_price" field.

func RefundTime

func RefundTime(v time.Time) predicate.DemoOrder

RefundTime applies equality check predicate on the "refund_time" field. It's identical to RefundTimeEQ.

func RefundTimeEQ

func RefundTimeEQ(v time.Time) predicate.DemoOrder

RefundTimeEQ applies the EQ predicate on the "refund_time" field.

func RefundTimeGT

func RefundTimeGT(v time.Time) predicate.DemoOrder

RefundTimeGT applies the GT predicate on the "refund_time" field.

func RefundTimeGTE

func RefundTimeGTE(v time.Time) predicate.DemoOrder

RefundTimeGTE applies the GTE predicate on the "refund_time" field.

func RefundTimeIn

func RefundTimeIn(vs ...time.Time) predicate.DemoOrder

RefundTimeIn applies the In predicate on the "refund_time" field.

func RefundTimeIsNil

func RefundTimeIsNil() predicate.DemoOrder

RefundTimeIsNil applies the IsNil predicate on the "refund_time" field.

func RefundTimeLT

func RefundTimeLT(v time.Time) predicate.DemoOrder

RefundTimeLT applies the LT predicate on the "refund_time" field.

func RefundTimeLTE

func RefundTimeLTE(v time.Time) predicate.DemoOrder

RefundTimeLTE applies the LTE predicate on the "refund_time" field.

func RefundTimeNEQ

func RefundTimeNEQ(v time.Time) predicate.DemoOrder

RefundTimeNEQ applies the NEQ predicate on the "refund_time" field.

func RefundTimeNotIn

func RefundTimeNotIn(vs ...time.Time) predicate.DemoOrder

RefundTimeNotIn applies the NotIn predicate on the "refund_time" field.

func RefundTimeNotNil

func RefundTimeNotNil() predicate.DemoOrder

RefundTimeNotNil applies the NotNil predicate on the "refund_time" field.

func SpuID

func SpuID(v uint64) predicate.DemoOrder

SpuID applies equality check predicate on the "spu_id" field. It's identical to SpuIDEQ.

func SpuIDEQ

func SpuIDEQ(v uint64) predicate.DemoOrder

SpuIDEQ applies the EQ predicate on the "spu_id" field.

func SpuIDGT

func SpuIDGT(v uint64) predicate.DemoOrder

SpuIDGT applies the GT predicate on the "spu_id" field.

func SpuIDGTE

func SpuIDGTE(v uint64) predicate.DemoOrder

SpuIDGTE applies the GTE predicate on the "spu_id" field.

func SpuIDIn

func SpuIDIn(vs ...uint64) predicate.DemoOrder

SpuIDIn applies the In predicate on the "spu_id" field.

func SpuIDLT

func SpuIDLT(v uint64) predicate.DemoOrder

SpuIDLT applies the LT predicate on the "spu_id" field.

func SpuIDLTE

func SpuIDLTE(v uint64) predicate.DemoOrder

SpuIDLTE applies the LTE predicate on the "spu_id" field.

func SpuIDNEQ

func SpuIDNEQ(v uint64) predicate.DemoOrder

SpuIDNEQ applies the NEQ predicate on the "spu_id" field.

func SpuIDNotIn

func SpuIDNotIn(vs ...uint64) predicate.DemoOrder

SpuIDNotIn applies the NotIn predicate on the "spu_id" field.

func SpuName

func SpuName(v string) predicate.DemoOrder

SpuName applies equality check predicate on the "spu_name" field. It's identical to SpuNameEQ.

func SpuNameContains

func SpuNameContains(v string) predicate.DemoOrder

SpuNameContains applies the Contains predicate on the "spu_name" field.

func SpuNameContainsFold

func SpuNameContainsFold(v string) predicate.DemoOrder

SpuNameContainsFold applies the ContainsFold predicate on the "spu_name" field.

func SpuNameEQ

func SpuNameEQ(v string) predicate.DemoOrder

SpuNameEQ applies the EQ predicate on the "spu_name" field.

func SpuNameEqualFold

func SpuNameEqualFold(v string) predicate.DemoOrder

SpuNameEqualFold applies the EqualFold predicate on the "spu_name" field.

func SpuNameGT

func SpuNameGT(v string) predicate.DemoOrder

SpuNameGT applies the GT predicate on the "spu_name" field.

func SpuNameGTE

func SpuNameGTE(v string) predicate.DemoOrder

SpuNameGTE applies the GTE predicate on the "spu_name" field.

func SpuNameHasPrefix

func SpuNameHasPrefix(v string) predicate.DemoOrder

SpuNameHasPrefix applies the HasPrefix predicate on the "spu_name" field.

func SpuNameHasSuffix

func SpuNameHasSuffix(v string) predicate.DemoOrder

SpuNameHasSuffix applies the HasSuffix predicate on the "spu_name" field.

func SpuNameIn

func SpuNameIn(vs ...string) predicate.DemoOrder

SpuNameIn applies the In predicate on the "spu_name" field.

func SpuNameLT

func SpuNameLT(v string) predicate.DemoOrder

SpuNameLT applies the LT predicate on the "spu_name" field.

func SpuNameLTE

func SpuNameLTE(v string) predicate.DemoOrder

SpuNameLTE applies the LTE predicate on the "spu_name" field.

func SpuNameNEQ

func SpuNameNEQ(v string) predicate.DemoOrder

SpuNameNEQ applies the NEQ predicate on the "spu_name" field.

func SpuNameNotIn

func SpuNameNotIn(vs ...string) predicate.DemoOrder

SpuNameNotIn applies the NotIn predicate on the "spu_name" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.DemoOrder

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.DemoOrder

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.DemoOrder

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.DemoOrder

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.DemoOrder

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.DemoOrder

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.DemoOrder

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.DemoOrder

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.DemoOrder

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UserID

func UserID(v string) predicate.DemoOrder

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDContains

func UserIDContains(v string) predicate.DemoOrder

UserIDContains applies the Contains predicate on the "user_id" field.

func UserIDContainsFold

func UserIDContainsFold(v string) predicate.DemoOrder

UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.

func UserIDEQ

func UserIDEQ(v string) predicate.DemoOrder

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDEqualFold

func UserIDEqualFold(v string) predicate.DemoOrder

UserIDEqualFold applies the EqualFold predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v string) predicate.DemoOrder

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v string) predicate.DemoOrder

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDHasPrefix

func UserIDHasPrefix(v string) predicate.DemoOrder

UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.

func UserIDHasSuffix

func UserIDHasSuffix(v string) predicate.DemoOrder

UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...string) predicate.DemoOrder

UserIDIn applies the In predicate on the "user_id" field.

func UserIDLT

func UserIDLT(v string) predicate.DemoOrder

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v string) predicate.DemoOrder

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v string) predicate.DemoOrder

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...string) predicate.DemoOrder

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL