orderextension

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 orderextension type in the database.
	Label = "order_extension"
	// 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"
	// FieldNo holds the string denoting the no field in the database.
	FieldNo = "no"
	// FieldOrderID holds the string denoting the order_id field in the database.
	FieldOrderID = "order_id"
	// FieldChannelCode holds the string denoting the channel_code field in the database.
	FieldChannelCode = "channel_code"
	// FieldUserIP holds the string denoting the user_ip field in the database.
	FieldUserIP = "user_ip"
	// FieldChannelExtras holds the string denoting the channel_extras field in the database.
	FieldChannelExtras = "channel_extras"
	// FieldChannelErrorCode holds the string denoting the channel_error_code field in the database.
	FieldChannelErrorCode = "channel_error_code"
	// FieldChannelErrorMsg holds the string denoting the channel_error_msg field in the database.
	FieldChannelErrorMsg = "channel_error_msg"
	// FieldChannelNotifyData holds the string denoting the channel_notify_data field in the database.
	FieldChannelNotifyData = "channel_notify_data"
	// Table holds the table name of the orderextension in the database.
	Table = "pay_order_extension"
)

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
	// 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"

Columns holds all SQL columns for orderextension fields.

Functions

func And

And groups predicates with the AND operator between them.

func ChannelCode

func ChannelCode(v string) predicate.OrderExtension

ChannelCode applies equality check predicate on the "channel_code" field. It's identical to ChannelCodeEQ.

func ChannelCodeContains

func ChannelCodeContains(v string) predicate.OrderExtension

ChannelCodeContains applies the Contains predicate on the "channel_code" field.

func ChannelCodeContainsFold

func ChannelCodeContainsFold(v string) predicate.OrderExtension

ChannelCodeContainsFold applies the ContainsFold predicate on the "channel_code" field.

func ChannelCodeEQ

func ChannelCodeEQ(v string) predicate.OrderExtension

ChannelCodeEQ applies the EQ predicate on the "channel_code" field.

func ChannelCodeEqualFold

func ChannelCodeEqualFold(v string) predicate.OrderExtension

ChannelCodeEqualFold applies the EqualFold predicate on the "channel_code" field.

func ChannelCodeGT

func ChannelCodeGT(v string) predicate.OrderExtension

ChannelCodeGT applies the GT predicate on the "channel_code" field.

func ChannelCodeGTE

func ChannelCodeGTE(v string) predicate.OrderExtension

ChannelCodeGTE applies the GTE predicate on the "channel_code" field.

func ChannelCodeHasPrefix

func ChannelCodeHasPrefix(v string) predicate.OrderExtension

ChannelCodeHasPrefix applies the HasPrefix predicate on the "channel_code" field.

func ChannelCodeHasSuffix

func ChannelCodeHasSuffix(v string) predicate.OrderExtension

ChannelCodeHasSuffix applies the HasSuffix predicate on the "channel_code" field.

func ChannelCodeIn

func ChannelCodeIn(vs ...string) predicate.OrderExtension

ChannelCodeIn applies the In predicate on the "channel_code" field.

func ChannelCodeLT

func ChannelCodeLT(v string) predicate.OrderExtension

ChannelCodeLT applies the LT predicate on the "channel_code" field.

func ChannelCodeLTE

func ChannelCodeLTE(v string) predicate.OrderExtension

ChannelCodeLTE applies the LTE predicate on the "channel_code" field.

func ChannelCodeNEQ

func ChannelCodeNEQ(v string) predicate.OrderExtension

ChannelCodeNEQ applies the NEQ predicate on the "channel_code" field.

func ChannelCodeNotIn

func ChannelCodeNotIn(vs ...string) predicate.OrderExtension

ChannelCodeNotIn applies the NotIn predicate on the "channel_code" field.

func ChannelErrorCode

func ChannelErrorCode(v string) predicate.OrderExtension

ChannelErrorCode applies equality check predicate on the "channel_error_code" field. It's identical to ChannelErrorCodeEQ.

func ChannelErrorCodeContains

func ChannelErrorCodeContains(v string) predicate.OrderExtension

ChannelErrorCodeContains applies the Contains predicate on the "channel_error_code" field.

func ChannelErrorCodeContainsFold

func ChannelErrorCodeContainsFold(v string) predicate.OrderExtension

ChannelErrorCodeContainsFold applies the ContainsFold predicate on the "channel_error_code" field.

func ChannelErrorCodeEQ

func ChannelErrorCodeEQ(v string) predicate.OrderExtension

ChannelErrorCodeEQ applies the EQ predicate on the "channel_error_code" field.

func ChannelErrorCodeEqualFold

func ChannelErrorCodeEqualFold(v string) predicate.OrderExtension

ChannelErrorCodeEqualFold applies the EqualFold predicate on the "channel_error_code" field.

func ChannelErrorCodeGT

func ChannelErrorCodeGT(v string) predicate.OrderExtension

ChannelErrorCodeGT applies the GT predicate on the "channel_error_code" field.

func ChannelErrorCodeGTE

func ChannelErrorCodeGTE(v string) predicate.OrderExtension

ChannelErrorCodeGTE applies the GTE predicate on the "channel_error_code" field.

func ChannelErrorCodeHasPrefix

func ChannelErrorCodeHasPrefix(v string) predicate.OrderExtension

ChannelErrorCodeHasPrefix applies the HasPrefix predicate on the "channel_error_code" field.

func ChannelErrorCodeHasSuffix

func ChannelErrorCodeHasSuffix(v string) predicate.OrderExtension

ChannelErrorCodeHasSuffix applies the HasSuffix predicate on the "channel_error_code" field.

func ChannelErrorCodeIn

func ChannelErrorCodeIn(vs ...string) predicate.OrderExtension

ChannelErrorCodeIn applies the In predicate on the "channel_error_code" field.

func ChannelErrorCodeIsNil

func ChannelErrorCodeIsNil() predicate.OrderExtension

ChannelErrorCodeIsNil applies the IsNil predicate on the "channel_error_code" field.

func ChannelErrorCodeLT

func ChannelErrorCodeLT(v string) predicate.OrderExtension

ChannelErrorCodeLT applies the LT predicate on the "channel_error_code" field.

func ChannelErrorCodeLTE

func ChannelErrorCodeLTE(v string) predicate.OrderExtension

ChannelErrorCodeLTE applies the LTE predicate on the "channel_error_code" field.

func ChannelErrorCodeNEQ

func ChannelErrorCodeNEQ(v string) predicate.OrderExtension

ChannelErrorCodeNEQ applies the NEQ predicate on the "channel_error_code" field.

func ChannelErrorCodeNotIn

func ChannelErrorCodeNotIn(vs ...string) predicate.OrderExtension

ChannelErrorCodeNotIn applies the NotIn predicate on the "channel_error_code" field.

func ChannelErrorCodeNotNil

func ChannelErrorCodeNotNil() predicate.OrderExtension

ChannelErrorCodeNotNil applies the NotNil predicate on the "channel_error_code" field.

func ChannelErrorMsg

func ChannelErrorMsg(v string) predicate.OrderExtension

ChannelErrorMsg applies equality check predicate on the "channel_error_msg" field. It's identical to ChannelErrorMsgEQ.

func ChannelErrorMsgContains

func ChannelErrorMsgContains(v string) predicate.OrderExtension

ChannelErrorMsgContains applies the Contains predicate on the "channel_error_msg" field.

func ChannelErrorMsgContainsFold

func ChannelErrorMsgContainsFold(v string) predicate.OrderExtension

ChannelErrorMsgContainsFold applies the ContainsFold predicate on the "channel_error_msg" field.

func ChannelErrorMsgEQ

func ChannelErrorMsgEQ(v string) predicate.OrderExtension

ChannelErrorMsgEQ applies the EQ predicate on the "channel_error_msg" field.

func ChannelErrorMsgEqualFold

func ChannelErrorMsgEqualFold(v string) predicate.OrderExtension

ChannelErrorMsgEqualFold applies the EqualFold predicate on the "channel_error_msg" field.

func ChannelErrorMsgGT

func ChannelErrorMsgGT(v string) predicate.OrderExtension

ChannelErrorMsgGT applies the GT predicate on the "channel_error_msg" field.

func ChannelErrorMsgGTE

func ChannelErrorMsgGTE(v string) predicate.OrderExtension

ChannelErrorMsgGTE applies the GTE predicate on the "channel_error_msg" field.

func ChannelErrorMsgHasPrefix

func ChannelErrorMsgHasPrefix(v string) predicate.OrderExtension

ChannelErrorMsgHasPrefix applies the HasPrefix predicate on the "channel_error_msg" field.

func ChannelErrorMsgHasSuffix

func ChannelErrorMsgHasSuffix(v string) predicate.OrderExtension

ChannelErrorMsgHasSuffix applies the HasSuffix predicate on the "channel_error_msg" field.

func ChannelErrorMsgIn

func ChannelErrorMsgIn(vs ...string) predicate.OrderExtension

ChannelErrorMsgIn applies the In predicate on the "channel_error_msg" field.

func ChannelErrorMsgIsNil

func ChannelErrorMsgIsNil() predicate.OrderExtension

ChannelErrorMsgIsNil applies the IsNil predicate on the "channel_error_msg" field.

func ChannelErrorMsgLT

func ChannelErrorMsgLT(v string) predicate.OrderExtension

ChannelErrorMsgLT applies the LT predicate on the "channel_error_msg" field.

func ChannelErrorMsgLTE

func ChannelErrorMsgLTE(v string) predicate.OrderExtension

ChannelErrorMsgLTE applies the LTE predicate on the "channel_error_msg" field.

func ChannelErrorMsgNEQ

func ChannelErrorMsgNEQ(v string) predicate.OrderExtension

ChannelErrorMsgNEQ applies the NEQ predicate on the "channel_error_msg" field.

func ChannelErrorMsgNotIn

func ChannelErrorMsgNotIn(vs ...string) predicate.OrderExtension

ChannelErrorMsgNotIn applies the NotIn predicate on the "channel_error_msg" field.

func ChannelErrorMsgNotNil

func ChannelErrorMsgNotNil() predicate.OrderExtension

ChannelErrorMsgNotNil applies the NotNil predicate on the "channel_error_msg" field.

func ChannelExtrasIsNil

func ChannelExtrasIsNil() predicate.OrderExtension

ChannelExtrasIsNil applies the IsNil predicate on the "channel_extras" field.

func ChannelExtrasNotNil

func ChannelExtrasNotNil() predicate.OrderExtension

ChannelExtrasNotNil applies the NotNil predicate on the "channel_extras" field.

func ChannelNotifyData

func ChannelNotifyData(v string) predicate.OrderExtension

ChannelNotifyData applies equality check predicate on the "channel_notify_data" field. It's identical to ChannelNotifyDataEQ.

func ChannelNotifyDataContains

func ChannelNotifyDataContains(v string) predicate.OrderExtension

ChannelNotifyDataContains applies the Contains predicate on the "channel_notify_data" field.

func ChannelNotifyDataContainsFold

func ChannelNotifyDataContainsFold(v string) predicate.OrderExtension

ChannelNotifyDataContainsFold applies the ContainsFold predicate on the "channel_notify_data" field.

func ChannelNotifyDataEQ

func ChannelNotifyDataEQ(v string) predicate.OrderExtension

ChannelNotifyDataEQ applies the EQ predicate on the "channel_notify_data" field.

func ChannelNotifyDataEqualFold

func ChannelNotifyDataEqualFold(v string) predicate.OrderExtension

ChannelNotifyDataEqualFold applies the EqualFold predicate on the "channel_notify_data" field.

func ChannelNotifyDataGT

func ChannelNotifyDataGT(v string) predicate.OrderExtension

ChannelNotifyDataGT applies the GT predicate on the "channel_notify_data" field.

func ChannelNotifyDataGTE

func ChannelNotifyDataGTE(v string) predicate.OrderExtension

ChannelNotifyDataGTE applies the GTE predicate on the "channel_notify_data" field.

func ChannelNotifyDataHasPrefix

func ChannelNotifyDataHasPrefix(v string) predicate.OrderExtension

ChannelNotifyDataHasPrefix applies the HasPrefix predicate on the "channel_notify_data" field.

func ChannelNotifyDataHasSuffix

func ChannelNotifyDataHasSuffix(v string) predicate.OrderExtension

ChannelNotifyDataHasSuffix applies the HasSuffix predicate on the "channel_notify_data" field.

func ChannelNotifyDataIn

func ChannelNotifyDataIn(vs ...string) predicate.OrderExtension

ChannelNotifyDataIn applies the In predicate on the "channel_notify_data" field.

func ChannelNotifyDataIsNil

func ChannelNotifyDataIsNil() predicate.OrderExtension

ChannelNotifyDataIsNil applies the IsNil predicate on the "channel_notify_data" field.

func ChannelNotifyDataLT

func ChannelNotifyDataLT(v string) predicate.OrderExtension

ChannelNotifyDataLT applies the LT predicate on the "channel_notify_data" field.

func ChannelNotifyDataLTE

func ChannelNotifyDataLTE(v string) predicate.OrderExtension

ChannelNotifyDataLTE applies the LTE predicate on the "channel_notify_data" field.

func ChannelNotifyDataNEQ

func ChannelNotifyDataNEQ(v string) predicate.OrderExtension

ChannelNotifyDataNEQ applies the NEQ predicate on the "channel_notify_data" field.

func ChannelNotifyDataNotIn

func ChannelNotifyDataNotIn(vs ...string) predicate.OrderExtension

ChannelNotifyDataNotIn applies the NotIn predicate on the "channel_notify_data" field.

func ChannelNotifyDataNotNil

func ChannelNotifyDataNotNil() predicate.OrderExtension

ChannelNotifyDataNotNil applies the NotNil predicate on the "channel_notify_data" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.OrderExtension

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.OrderExtension

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.OrderExtension

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.OrderExtension

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.OrderExtension

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.OrderExtension

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.OrderExtension

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.OrderExtension

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.OrderExtension

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.OrderExtension

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.OrderExtension

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.OrderExtension

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.OrderExtension

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.OrderExtension

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.OrderExtension

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.OrderExtension

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func No

No applies equality check predicate on the "no" field. It's identical to NoEQ.

func NoContains

func NoContains(v string) predicate.OrderExtension

NoContains applies the Contains predicate on the "no" field.

func NoContainsFold

func NoContainsFold(v string) predicate.OrderExtension

NoContainsFold applies the ContainsFold predicate on the "no" field.

func NoEQ

NoEQ applies the EQ predicate on the "no" field.

func NoEqualFold

func NoEqualFold(v string) predicate.OrderExtension

NoEqualFold applies the EqualFold predicate on the "no" field.

func NoGT

NoGT applies the GT predicate on the "no" field.

func NoGTE

NoGTE applies the GTE predicate on the "no" field.

func NoHasPrefix

func NoHasPrefix(v string) predicate.OrderExtension

NoHasPrefix applies the HasPrefix predicate on the "no" field.

func NoHasSuffix

func NoHasSuffix(v string) predicate.OrderExtension

NoHasSuffix applies the HasSuffix predicate on the "no" field.

func NoIn

func NoIn(vs ...string) predicate.OrderExtension

NoIn applies the In predicate on the "no" field.

func NoLT

NoLT applies the LT predicate on the "no" field.

func NoLTE

NoLTE applies the LTE predicate on the "no" field.

func NoNEQ

NoNEQ applies the NEQ predicate on the "no" field.

func NoNotIn

func NoNotIn(vs ...string) predicate.OrderExtension

NoNotIn applies the NotIn predicate on the "no" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OrderID

func OrderID(v uint64) predicate.OrderExtension

OrderID applies equality check predicate on the "order_id" field. It's identical to OrderIDEQ.

func OrderIDEQ

func OrderIDEQ(v uint64) predicate.OrderExtension

OrderIDEQ applies the EQ predicate on the "order_id" field.

func OrderIDGT

func OrderIDGT(v uint64) predicate.OrderExtension

OrderIDGT applies the GT predicate on the "order_id" field.

func OrderIDGTE

func OrderIDGTE(v uint64) predicate.OrderExtension

OrderIDGTE applies the GTE predicate on the "order_id" field.

func OrderIDIn

func OrderIDIn(vs ...uint64) predicate.OrderExtension

OrderIDIn applies the In predicate on the "order_id" field.

func OrderIDLT

func OrderIDLT(v uint64) predicate.OrderExtension

OrderIDLT applies the LT predicate on the "order_id" field.

func OrderIDLTE

func OrderIDLTE(v uint64) predicate.OrderExtension

OrderIDLTE applies the LTE predicate on the "order_id" field.

func OrderIDNEQ

func OrderIDNEQ(v uint64) predicate.OrderExtension

OrderIDNEQ applies the NEQ predicate on the "order_id" field.

func OrderIDNotIn

func OrderIDNotIn(vs ...uint64) predicate.OrderExtension

OrderIDNotIn applies the NotIn predicate on the "order_id" field.

func Status

func Status(v uint8) predicate.OrderExtension

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v uint8) predicate.OrderExtension

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

func StatusGT(v uint8) predicate.OrderExtension

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v uint8) predicate.OrderExtension

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...uint8) predicate.OrderExtension

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.OrderExtension

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

func StatusLT(v uint8) predicate.OrderExtension

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v uint8) predicate.OrderExtension

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v uint8) predicate.OrderExtension

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...uint8) predicate.OrderExtension

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.OrderExtension

StatusNotNil applies the NotNil predicate on the "status" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.OrderExtension

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.OrderExtension

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.OrderExtension

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.OrderExtension

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.OrderExtension

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.OrderExtension

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.OrderExtension

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

func UpdatedAtNotIn

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

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

func UserIPContains(v string) predicate.OrderExtension

UserIPContains applies the Contains predicate on the "user_ip" field.

func UserIPContainsFold

func UserIPContainsFold(v string) predicate.OrderExtension

UserIPContainsFold applies the ContainsFold predicate on the "user_ip" field.

func UserIPEQ

func UserIPEQ(v string) predicate.OrderExtension

UserIPEQ applies the EQ predicate on the "user_ip" field.

func UserIPEqualFold

func UserIPEqualFold(v string) predicate.OrderExtension

UserIPEqualFold applies the EqualFold predicate on the "user_ip" field.

func UserIPGT

func UserIPGT(v string) predicate.OrderExtension

UserIPGT applies the GT predicate on the "user_ip" field.

func UserIPGTE

func UserIPGTE(v string) predicate.OrderExtension

UserIPGTE applies the GTE predicate on the "user_ip" field.

func UserIPHasPrefix

func UserIPHasPrefix(v string) predicate.OrderExtension

UserIPHasPrefix applies the HasPrefix predicate on the "user_ip" field.

func UserIPHasSuffix

func UserIPHasSuffix(v string) predicate.OrderExtension

UserIPHasSuffix applies the HasSuffix predicate on the "user_ip" field.

func UserIPIn

func UserIPIn(vs ...string) predicate.OrderExtension

UserIPIn applies the In predicate on the "user_ip" field.

func UserIPLT

func UserIPLT(v string) predicate.OrderExtension

UserIPLT applies the LT predicate on the "user_ip" field.

func UserIPLTE

func UserIPLTE(v string) predicate.OrderExtension

UserIPLTE applies the LTE predicate on the "user_ip" field.

func UserIPNEQ

func UserIPNEQ(v string) predicate.OrderExtension

UserIPNEQ applies the NEQ predicate on the "user_ip" field.

func UserIPNotIn

func UserIPNotIn(vs ...string) predicate.OrderExtension

UserIPNotIn applies the NotIn predicate on the "user_ip" 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 OrderExtension queries.

func ByChannelCode

func ByChannelCode(opts ...sql.OrderTermOption) OrderOption

ByChannelCode orders the results by the channel_code field.

func ByChannelErrorCode

func ByChannelErrorCode(opts ...sql.OrderTermOption) OrderOption

ByChannelErrorCode orders the results by the channel_error_code field.

func ByChannelErrorMsg

func ByChannelErrorMsg(opts ...sql.OrderTermOption) OrderOption

ByChannelErrorMsg orders the results by the channel_error_msg field.

func ByChannelNotifyData

func ByChannelNotifyData(opts ...sql.OrderTermOption) OrderOption

ByChannelNotifyData orders the results by the channel_notify_data 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 ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByNo

func ByNo(opts ...sql.OrderTermOption) OrderOption

ByNo orders the results by the no field.

func ByOrderID

func ByOrderID(opts ...sql.OrderTermOption) OrderOption

ByOrderID orders the results by the order_id field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status 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.

Jump to

Keyboard shortcuts

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