proxyuser

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the proxyuser type in the database.
	Label = "proxy_user"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldPassword holds the string denoting the password field in the database.
	FieldPassword = "password"
	// FieldAlgo holds the string denoting the algo field in the database.
	FieldAlgo = "algo"
	// FieldSalt holds the string denoting the salt field in the database.
	FieldSalt = "salt"
	// FieldAvatar holds the string denoting the avatar field in the database.
	FieldAvatar = "avatar"
	// FieldBalance holds the string denoting the balance field in the database.
	FieldBalance = "balance"
	// FieldTelegram holds the string denoting the telegram field in the database.
	FieldTelegram = "telegram"
	// FieldReferCode holds the string denoting the refer_code field in the database.
	FieldReferCode = "refer_code"
	// FieldRefererID holds the string denoting the referer_id field in the database.
	FieldRefererID = "referer_id"
	// FieldCommission holds the string denoting the commission field in the database.
	FieldCommission = "commission"
	// FieldReferralPercentage holds the string denoting the referral_percentage field in the database.
	FieldReferralPercentage = "referral_percentage"
	// FieldOnlyFirstPurchase holds the string denoting the only_first_purchase field in the database.
	FieldOnlyFirstPurchase = "only_first_purchase"
	// FieldGiftAmount holds the string denoting the gift_amount field in the database.
	FieldGiftAmount = "gift_amount"
	// FieldEnable holds the string denoting the enable field in the database.
	FieldEnable = "enable"
	// FieldIsAdmin holds the string denoting the is_admin field in the database.
	FieldIsAdmin = "is_admin"
	// FieldValidEmail holds the string denoting the valid_email field in the database.
	FieldValidEmail = "valid_email"
	// FieldEnableEmailNotify holds the string denoting the enable_email_notify field in the database.
	FieldEnableEmailNotify = "enable_email_notify"
	// FieldEnableTelegramNotify holds the string denoting the enable_telegram_notify field in the database.
	FieldEnableTelegramNotify = "enable_telegram_notify"
	// FieldEnableBalanceNotify holds the string denoting the enable_balance_notify field in the database.
	FieldEnableBalanceNotify = "enable_balance_notify"
	// FieldEnableLoginNotify holds the string denoting the enable_login_notify field in the database.
	FieldEnableLoginNotify = "enable_login_notify"
	// FieldEnableSubscribeNotify holds the string denoting the enable_subscribe_notify field in the database.
	FieldEnableSubscribeNotify = "enable_subscribe_notify"
	// FieldEnableTradeNotify holds the string denoting the enable_trade_notify field in the database.
	FieldEnableTradeNotify = "enable_trade_notify"
	// FieldRules holds the string denoting the rules field in the database.
	FieldRules = "rules"
	// 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"
	// FieldIsDel holds the string denoting the is_del field in the database.
	FieldIsDel = "is_del"
	// EdgeRedemptionRecords holds the string denoting the redemption_records edge name in mutations.
	EdgeRedemptionRecords = "redemption_records"
	// EdgeWithdrawals holds the string denoting the withdrawals edge name in mutations.
	EdgeWithdrawals = "withdrawals"
	// Table holds the table name of the proxyuser in the database.
	Table = "user"
	// RedemptionRecordsTable is the table that holds the redemption_records relation/edge.
	RedemptionRecordsTable = "redemption_record"
	// RedemptionRecordsInverseTable is the table name for the ProxyRedemptionRecord entity.
	// It exists in this package in order to avoid circular dependency with the "proxyredemptionrecord" package.
	RedemptionRecordsInverseTable = "redemption_record"
	// RedemptionRecordsColumn is the table column denoting the redemption_records relation/edge.
	RedemptionRecordsColumn = "user_id"
	// WithdrawalsTable is the table that holds the withdrawals relation/edge.
	WithdrawalsTable = "user_withdrawal"
	// WithdrawalsInverseTable is the table name for the ProxyUserWithdrawal entity.
	// It exists in this package in order to avoid circular dependency with the "proxyuserwithdrawal" package.
	WithdrawalsInverseTable = "user_withdrawal"
	// WithdrawalsColumn is the table column denoting the withdrawals relation/edge.
	WithdrawalsColumn = "user_id"
)

Variables

View Source
var (
	// PasswordValidator is a validator for the "password" field. It is called by the builders before save.
	PasswordValidator func(string) error
	// DefaultAlgo holds the default value on creation for the "algo" field.
	DefaultAlgo string
	// AlgoValidator is a validator for the "algo" field. It is called by the builders before save.
	AlgoValidator func(string) error
	// SaltValidator is a validator for the "salt" field. It is called by the builders before save.
	SaltValidator func(string) error
	// DefaultBalance holds the default value on creation for the "balance" field.
	DefaultBalance int64
	// ReferCodeValidator is a validator for the "refer_code" field. It is called by the builders before save.
	ReferCodeValidator func(string) error
	// DefaultCommission holds the default value on creation for the "commission" field.
	DefaultCommission int64
	// DefaultReferralPercentage holds the default value on creation for the "referral_percentage" field.
	DefaultReferralPercentage int8
	// DefaultOnlyFirstPurchase holds the default value on creation for the "only_first_purchase" field.
	DefaultOnlyFirstPurchase bool
	// DefaultGiftAmount holds the default value on creation for the "gift_amount" field.
	DefaultGiftAmount int64
	// DefaultEnable holds the default value on creation for the "enable" field.
	DefaultEnable bool
	// DefaultIsAdmin holds the default value on creation for the "is_admin" field.
	DefaultIsAdmin bool
	// DefaultValidEmail holds the default value on creation for the "valid_email" field.
	DefaultValidEmail bool
	// DefaultEnableEmailNotify holds the default value on creation for the "enable_email_notify" field.
	DefaultEnableEmailNotify bool
	// DefaultEnableTelegramNotify holds the default value on creation for the "enable_telegram_notify" field.
	DefaultEnableTelegramNotify bool
	// DefaultEnableBalanceNotify holds the default value on creation for the "enable_balance_notify" field.
	DefaultEnableBalanceNotify bool
	// DefaultEnableLoginNotify holds the default value on creation for the "enable_login_notify" field.
	DefaultEnableLoginNotify bool
	// DefaultEnableSubscribeNotify holds the default value on creation for the "enable_subscribe_notify" field.
	DefaultEnableSubscribeNotify bool
	// DefaultEnableTradeNotify holds the default value on creation for the "enable_trade_notify" field.
	DefaultEnableTradeNotify bool
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(int64) error
)

Columns holds all SQL columns for proxyuser fields.

Functions

func Algo

func Algo(v string) predicate.ProxyUser

Algo applies equality check predicate on the "algo" field. It's identical to AlgoEQ.

func AlgoContains

func AlgoContains(v string) predicate.ProxyUser

AlgoContains applies the Contains predicate on the "algo" field.

func AlgoContainsFold

func AlgoContainsFold(v string) predicate.ProxyUser

AlgoContainsFold applies the ContainsFold predicate on the "algo" field.

func AlgoEQ

func AlgoEQ(v string) predicate.ProxyUser

AlgoEQ applies the EQ predicate on the "algo" field.

func AlgoEqualFold

func AlgoEqualFold(v string) predicate.ProxyUser

AlgoEqualFold applies the EqualFold predicate on the "algo" field.

func AlgoGT

func AlgoGT(v string) predicate.ProxyUser

AlgoGT applies the GT predicate on the "algo" field.

func AlgoGTE

func AlgoGTE(v string) predicate.ProxyUser

AlgoGTE applies the GTE predicate on the "algo" field.

func AlgoHasPrefix

func AlgoHasPrefix(v string) predicate.ProxyUser

AlgoHasPrefix applies the HasPrefix predicate on the "algo" field.

func AlgoHasSuffix

func AlgoHasSuffix(v string) predicate.ProxyUser

AlgoHasSuffix applies the HasSuffix predicate on the "algo" field.

func AlgoIn

func AlgoIn(vs ...string) predicate.ProxyUser

AlgoIn applies the In predicate on the "algo" field.

func AlgoLT

func AlgoLT(v string) predicate.ProxyUser

AlgoLT applies the LT predicate on the "algo" field.

func AlgoLTE

func AlgoLTE(v string) predicate.ProxyUser

AlgoLTE applies the LTE predicate on the "algo" field.

func AlgoNEQ

func AlgoNEQ(v string) predicate.ProxyUser

AlgoNEQ applies the NEQ predicate on the "algo" field.

func AlgoNotIn

func AlgoNotIn(vs ...string) predicate.ProxyUser

AlgoNotIn applies the NotIn predicate on the "algo" field.

func And

func And(predicates ...predicate.ProxyUser) predicate.ProxyUser

And groups predicates with the AND operator between them.

func Avatar

func Avatar(v string) predicate.ProxyUser

Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.

func AvatarContains

func AvatarContains(v string) predicate.ProxyUser

AvatarContains applies the Contains predicate on the "avatar" field.

func AvatarContainsFold

func AvatarContainsFold(v string) predicate.ProxyUser

AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.

func AvatarEQ

func AvatarEQ(v string) predicate.ProxyUser

AvatarEQ applies the EQ predicate on the "avatar" field.

func AvatarEqualFold

func AvatarEqualFold(v string) predicate.ProxyUser

AvatarEqualFold applies the EqualFold predicate on the "avatar" field.

func AvatarGT

func AvatarGT(v string) predicate.ProxyUser

AvatarGT applies the GT predicate on the "avatar" field.

func AvatarGTE

func AvatarGTE(v string) predicate.ProxyUser

AvatarGTE applies the GTE predicate on the "avatar" field.

func AvatarHasPrefix

func AvatarHasPrefix(v string) predicate.ProxyUser

AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.

func AvatarHasSuffix

func AvatarHasSuffix(v string) predicate.ProxyUser

AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.

func AvatarIn

func AvatarIn(vs ...string) predicate.ProxyUser

AvatarIn applies the In predicate on the "avatar" field.

func AvatarIsNil

func AvatarIsNil() predicate.ProxyUser

AvatarIsNil applies the IsNil predicate on the "avatar" field.

func AvatarLT

func AvatarLT(v string) predicate.ProxyUser

AvatarLT applies the LT predicate on the "avatar" field.

func AvatarLTE

func AvatarLTE(v string) predicate.ProxyUser

AvatarLTE applies the LTE predicate on the "avatar" field.

func AvatarNEQ

func AvatarNEQ(v string) predicate.ProxyUser

AvatarNEQ applies the NEQ predicate on the "avatar" field.

func AvatarNotIn

func AvatarNotIn(vs ...string) predicate.ProxyUser

AvatarNotIn applies the NotIn predicate on the "avatar" field.

func AvatarNotNil

func AvatarNotNil() predicate.ProxyUser

AvatarNotNil applies the NotNil predicate on the "avatar" field.

func Balance

func Balance(v int64) predicate.ProxyUser

Balance applies equality check predicate on the "balance" field. It's identical to BalanceEQ.

func BalanceEQ

func BalanceEQ(v int64) predicate.ProxyUser

BalanceEQ applies the EQ predicate on the "balance" field.

func BalanceGT

func BalanceGT(v int64) predicate.ProxyUser

BalanceGT applies the GT predicate on the "balance" field.

func BalanceGTE

func BalanceGTE(v int64) predicate.ProxyUser

BalanceGTE applies the GTE predicate on the "balance" field.

func BalanceIn

func BalanceIn(vs ...int64) predicate.ProxyUser

BalanceIn applies the In predicate on the "balance" field.

func BalanceIsNil

func BalanceIsNil() predicate.ProxyUser

BalanceIsNil applies the IsNil predicate on the "balance" field.

func BalanceLT

func BalanceLT(v int64) predicate.ProxyUser

BalanceLT applies the LT predicate on the "balance" field.

func BalanceLTE

func BalanceLTE(v int64) predicate.ProxyUser

BalanceLTE applies the LTE predicate on the "balance" field.

func BalanceNEQ

func BalanceNEQ(v int64) predicate.ProxyUser

BalanceNEQ applies the NEQ predicate on the "balance" field.

func BalanceNotIn

func BalanceNotIn(vs ...int64) predicate.ProxyUser

BalanceNotIn applies the NotIn predicate on the "balance" field.

func BalanceNotNil

func BalanceNotNil() predicate.ProxyUser

BalanceNotNil applies the NotNil predicate on the "balance" field.

func Commission

func Commission(v int64) predicate.ProxyUser

Commission applies equality check predicate on the "commission" field. It's identical to CommissionEQ.

func CommissionEQ

func CommissionEQ(v int64) predicate.ProxyUser

CommissionEQ applies the EQ predicate on the "commission" field.

func CommissionGT

func CommissionGT(v int64) predicate.ProxyUser

CommissionGT applies the GT predicate on the "commission" field.

func CommissionGTE

func CommissionGTE(v int64) predicate.ProxyUser

CommissionGTE applies the GTE predicate on the "commission" field.

func CommissionIn

func CommissionIn(vs ...int64) predicate.ProxyUser

CommissionIn applies the In predicate on the "commission" field.

func CommissionIsNil

func CommissionIsNil() predicate.ProxyUser

CommissionIsNil applies the IsNil predicate on the "commission" field.

func CommissionLT

func CommissionLT(v int64) predicate.ProxyUser

CommissionLT applies the LT predicate on the "commission" field.

func CommissionLTE

func CommissionLTE(v int64) predicate.ProxyUser

CommissionLTE applies the LTE predicate on the "commission" field.

func CommissionNEQ

func CommissionNEQ(v int64) predicate.ProxyUser

CommissionNEQ applies the NEQ predicate on the "commission" field.

func CommissionNotIn

func CommissionNotIn(vs ...int64) predicate.ProxyUser

CommissionNotIn applies the NotIn predicate on the "commission" field.

func CommissionNotNil

func CommissionNotNil() predicate.ProxyUser

CommissionNotNil applies the NotNil predicate on the "commission" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ProxyUser

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ProxyUser

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ProxyUser

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ProxyUser

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ProxyUser

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ProxyUser

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ProxyUser

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.ProxyUser

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.ProxyUser

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.ProxyUser

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.ProxyUser

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.ProxyUser

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.ProxyUser

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.ProxyUser

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.ProxyUser

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.ProxyUser

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

func Enable

func Enable(v bool) predicate.ProxyUser

Enable applies equality check predicate on the "enable" field. It's identical to EnableEQ.

func EnableBalanceNotify

func EnableBalanceNotify(v bool) predicate.ProxyUser

EnableBalanceNotify applies equality check predicate on the "enable_balance_notify" field. It's identical to EnableBalanceNotifyEQ.

func EnableBalanceNotifyEQ

func EnableBalanceNotifyEQ(v bool) predicate.ProxyUser

EnableBalanceNotifyEQ applies the EQ predicate on the "enable_balance_notify" field.

func EnableBalanceNotifyNEQ

func EnableBalanceNotifyNEQ(v bool) predicate.ProxyUser

EnableBalanceNotifyNEQ applies the NEQ predicate on the "enable_balance_notify" field.

func EnableEQ

func EnableEQ(v bool) predicate.ProxyUser

EnableEQ applies the EQ predicate on the "enable" field.

func EnableEmailNotify

func EnableEmailNotify(v bool) predicate.ProxyUser

EnableEmailNotify applies equality check predicate on the "enable_email_notify" field. It's identical to EnableEmailNotifyEQ.

func EnableEmailNotifyEQ

func EnableEmailNotifyEQ(v bool) predicate.ProxyUser

EnableEmailNotifyEQ applies the EQ predicate on the "enable_email_notify" field.

func EnableEmailNotifyNEQ

func EnableEmailNotifyNEQ(v bool) predicate.ProxyUser

EnableEmailNotifyNEQ applies the NEQ predicate on the "enable_email_notify" field.

func EnableLoginNotify

func EnableLoginNotify(v bool) predicate.ProxyUser

EnableLoginNotify applies equality check predicate on the "enable_login_notify" field. It's identical to EnableLoginNotifyEQ.

func EnableLoginNotifyEQ

func EnableLoginNotifyEQ(v bool) predicate.ProxyUser

EnableLoginNotifyEQ applies the EQ predicate on the "enable_login_notify" field.

func EnableLoginNotifyNEQ

func EnableLoginNotifyNEQ(v bool) predicate.ProxyUser

EnableLoginNotifyNEQ applies the NEQ predicate on the "enable_login_notify" field.

func EnableNEQ

func EnableNEQ(v bool) predicate.ProxyUser

EnableNEQ applies the NEQ predicate on the "enable" field.

func EnableSubscribeNotify

func EnableSubscribeNotify(v bool) predicate.ProxyUser

EnableSubscribeNotify applies equality check predicate on the "enable_subscribe_notify" field. It's identical to EnableSubscribeNotifyEQ.

func EnableSubscribeNotifyEQ

func EnableSubscribeNotifyEQ(v bool) predicate.ProxyUser

EnableSubscribeNotifyEQ applies the EQ predicate on the "enable_subscribe_notify" field.

func EnableSubscribeNotifyNEQ

func EnableSubscribeNotifyNEQ(v bool) predicate.ProxyUser

EnableSubscribeNotifyNEQ applies the NEQ predicate on the "enable_subscribe_notify" field.

func EnableTelegramNotify

func EnableTelegramNotify(v bool) predicate.ProxyUser

EnableTelegramNotify applies equality check predicate on the "enable_telegram_notify" field. It's identical to EnableTelegramNotifyEQ.

func EnableTelegramNotifyEQ

func EnableTelegramNotifyEQ(v bool) predicate.ProxyUser

EnableTelegramNotifyEQ applies the EQ predicate on the "enable_telegram_notify" field.

func EnableTelegramNotifyNEQ

func EnableTelegramNotifyNEQ(v bool) predicate.ProxyUser

EnableTelegramNotifyNEQ applies the NEQ predicate on the "enable_telegram_notify" field.

func EnableTradeNotify

func EnableTradeNotify(v bool) predicate.ProxyUser

EnableTradeNotify applies equality check predicate on the "enable_trade_notify" field. It's identical to EnableTradeNotifyEQ.

func EnableTradeNotifyEQ

func EnableTradeNotifyEQ(v bool) predicate.ProxyUser

EnableTradeNotifyEQ applies the EQ predicate on the "enable_trade_notify" field.

func EnableTradeNotifyNEQ

func EnableTradeNotifyNEQ(v bool) predicate.ProxyUser

EnableTradeNotifyNEQ applies the NEQ predicate on the "enable_trade_notify" field.

func GiftAmount

func GiftAmount(v int64) predicate.ProxyUser

GiftAmount applies equality check predicate on the "gift_amount" field. It's identical to GiftAmountEQ.

func GiftAmountEQ

func GiftAmountEQ(v int64) predicate.ProxyUser

GiftAmountEQ applies the EQ predicate on the "gift_amount" field.

func GiftAmountGT

func GiftAmountGT(v int64) predicate.ProxyUser

GiftAmountGT applies the GT predicate on the "gift_amount" field.

func GiftAmountGTE

func GiftAmountGTE(v int64) predicate.ProxyUser

GiftAmountGTE applies the GTE predicate on the "gift_amount" field.

func GiftAmountIn

func GiftAmountIn(vs ...int64) predicate.ProxyUser

GiftAmountIn applies the In predicate on the "gift_amount" field.

func GiftAmountIsNil

func GiftAmountIsNil() predicate.ProxyUser

GiftAmountIsNil applies the IsNil predicate on the "gift_amount" field.

func GiftAmountLT

func GiftAmountLT(v int64) predicate.ProxyUser

GiftAmountLT applies the LT predicate on the "gift_amount" field.

func GiftAmountLTE

func GiftAmountLTE(v int64) predicate.ProxyUser

GiftAmountLTE applies the LTE predicate on the "gift_amount" field.

func GiftAmountNEQ

func GiftAmountNEQ(v int64) predicate.ProxyUser

GiftAmountNEQ applies the NEQ predicate on the "gift_amount" field.

func GiftAmountNotIn

func GiftAmountNotIn(vs ...int64) predicate.ProxyUser

GiftAmountNotIn applies the NotIn predicate on the "gift_amount" field.

func GiftAmountNotNil

func GiftAmountNotNil() predicate.ProxyUser

GiftAmountNotNil applies the NotNil predicate on the "gift_amount" field.

func HasRedemptionRecords

func HasRedemptionRecords() predicate.ProxyUser

HasRedemptionRecords applies the HasEdge predicate on the "redemption_records" edge.

func HasRedemptionRecordsWith

func HasRedemptionRecordsWith(preds ...predicate.ProxyRedemptionRecord) predicate.ProxyUser

HasRedemptionRecordsWith applies the HasEdge predicate on the "redemption_records" edge with a given conditions (other predicates).

func HasWithdrawals

func HasWithdrawals() predicate.ProxyUser

HasWithdrawals applies the HasEdge predicate on the "withdrawals" edge.

func HasWithdrawalsWith

func HasWithdrawalsWith(preds ...predicate.ProxyUserWithdrawal) predicate.ProxyUser

HasWithdrawalsWith applies the HasEdge predicate on the "withdrawals" edge with a given conditions (other predicates).

func ID

func ID(id int64) predicate.ProxyUser

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.ProxyUser

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.ProxyUser

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.ProxyUser

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.ProxyUser

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.ProxyUser

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.ProxyUser

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.ProxyUser

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.ProxyUser

IDNotIn applies the NotIn predicate on the ID field.

func IsAdmin

func IsAdmin(v bool) predicate.ProxyUser

IsAdmin applies equality check predicate on the "is_admin" field. It's identical to IsAdminEQ.

func IsAdminEQ

func IsAdminEQ(v bool) predicate.ProxyUser

IsAdminEQ applies the EQ predicate on the "is_admin" field.

func IsAdminNEQ

func IsAdminNEQ(v bool) predicate.ProxyUser

IsAdminNEQ applies the NEQ predicate on the "is_admin" field.

func IsDel

func IsDel(v uint64) predicate.ProxyUser

IsDel applies equality check predicate on the "is_del" field. It's identical to IsDelEQ.

func IsDelEQ

func IsDelEQ(v uint64) predicate.ProxyUser

IsDelEQ applies the EQ predicate on the "is_del" field.

func IsDelGT

func IsDelGT(v uint64) predicate.ProxyUser

IsDelGT applies the GT predicate on the "is_del" field.

func IsDelGTE

func IsDelGTE(v uint64) predicate.ProxyUser

IsDelGTE applies the GTE predicate on the "is_del" field.

func IsDelIn

func IsDelIn(vs ...uint64) predicate.ProxyUser

IsDelIn applies the In predicate on the "is_del" field.

func IsDelIsNil

func IsDelIsNil() predicate.ProxyUser

IsDelIsNil applies the IsNil predicate on the "is_del" field.

func IsDelLT

func IsDelLT(v uint64) predicate.ProxyUser

IsDelLT applies the LT predicate on the "is_del" field.

func IsDelLTE

func IsDelLTE(v uint64) predicate.ProxyUser

IsDelLTE applies the LTE predicate on the "is_del" field.

func IsDelNEQ

func IsDelNEQ(v uint64) predicate.ProxyUser

IsDelNEQ applies the NEQ predicate on the "is_del" field.

func IsDelNotIn

func IsDelNotIn(vs ...uint64) predicate.ProxyUser

IsDelNotIn applies the NotIn predicate on the "is_del" field.

func IsDelNotNil

func IsDelNotNil() predicate.ProxyUser

IsDelNotNil applies the NotNil predicate on the "is_del" field.

func Not

Not applies the not operator on the given predicate.

func OnlyFirstPurchase

func OnlyFirstPurchase(v bool) predicate.ProxyUser

OnlyFirstPurchase applies equality check predicate on the "only_first_purchase" field. It's identical to OnlyFirstPurchaseEQ.

func OnlyFirstPurchaseEQ

func OnlyFirstPurchaseEQ(v bool) predicate.ProxyUser

OnlyFirstPurchaseEQ applies the EQ predicate on the "only_first_purchase" field.

func OnlyFirstPurchaseNEQ

func OnlyFirstPurchaseNEQ(v bool) predicate.ProxyUser

OnlyFirstPurchaseNEQ applies the NEQ predicate on the "only_first_purchase" field.

func Or

func Or(predicates ...predicate.ProxyUser) predicate.ProxyUser

Or groups predicates with the OR operator between them.

func Password

func Password(v string) predicate.ProxyUser

Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.

func PasswordContains

func PasswordContains(v string) predicate.ProxyUser

PasswordContains applies the Contains predicate on the "password" field.

func PasswordContainsFold

func PasswordContainsFold(v string) predicate.ProxyUser

PasswordContainsFold applies the ContainsFold predicate on the "password" field.

func PasswordEQ

func PasswordEQ(v string) predicate.ProxyUser

PasswordEQ applies the EQ predicate on the "password" field.

func PasswordEqualFold

func PasswordEqualFold(v string) predicate.ProxyUser

PasswordEqualFold applies the EqualFold predicate on the "password" field.

func PasswordGT

func PasswordGT(v string) predicate.ProxyUser

PasswordGT applies the GT predicate on the "password" field.

func PasswordGTE

func PasswordGTE(v string) predicate.ProxyUser

PasswordGTE applies the GTE predicate on the "password" field.

func PasswordHasPrefix

func PasswordHasPrefix(v string) predicate.ProxyUser

PasswordHasPrefix applies the HasPrefix predicate on the "password" field.

func PasswordHasSuffix

func PasswordHasSuffix(v string) predicate.ProxyUser

PasswordHasSuffix applies the HasSuffix predicate on the "password" field.

func PasswordIn

func PasswordIn(vs ...string) predicate.ProxyUser

PasswordIn applies the In predicate on the "password" field.

func PasswordLT

func PasswordLT(v string) predicate.ProxyUser

PasswordLT applies the LT predicate on the "password" field.

func PasswordLTE

func PasswordLTE(v string) predicate.ProxyUser

PasswordLTE applies the LTE predicate on the "password" field.

func PasswordNEQ

func PasswordNEQ(v string) predicate.ProxyUser

PasswordNEQ applies the NEQ predicate on the "password" field.

func PasswordNotIn

func PasswordNotIn(vs ...string) predicate.ProxyUser

PasswordNotIn applies the NotIn predicate on the "password" field.

func ReferCode

func ReferCode(v string) predicate.ProxyUser

ReferCode applies equality check predicate on the "refer_code" field. It's identical to ReferCodeEQ.

func ReferCodeContains

func ReferCodeContains(v string) predicate.ProxyUser

ReferCodeContains applies the Contains predicate on the "refer_code" field.

func ReferCodeContainsFold

func ReferCodeContainsFold(v string) predicate.ProxyUser

ReferCodeContainsFold applies the ContainsFold predicate on the "refer_code" field.

func ReferCodeEQ

func ReferCodeEQ(v string) predicate.ProxyUser

ReferCodeEQ applies the EQ predicate on the "refer_code" field.

func ReferCodeEqualFold

func ReferCodeEqualFold(v string) predicate.ProxyUser

ReferCodeEqualFold applies the EqualFold predicate on the "refer_code" field.

func ReferCodeGT

func ReferCodeGT(v string) predicate.ProxyUser

ReferCodeGT applies the GT predicate on the "refer_code" field.

func ReferCodeGTE

func ReferCodeGTE(v string) predicate.ProxyUser

ReferCodeGTE applies the GTE predicate on the "refer_code" field.

func ReferCodeHasPrefix

func ReferCodeHasPrefix(v string) predicate.ProxyUser

ReferCodeHasPrefix applies the HasPrefix predicate on the "refer_code" field.

func ReferCodeHasSuffix

func ReferCodeHasSuffix(v string) predicate.ProxyUser

ReferCodeHasSuffix applies the HasSuffix predicate on the "refer_code" field.

func ReferCodeIn

func ReferCodeIn(vs ...string) predicate.ProxyUser

ReferCodeIn applies the In predicate on the "refer_code" field.

func ReferCodeIsNil

func ReferCodeIsNil() predicate.ProxyUser

ReferCodeIsNil applies the IsNil predicate on the "refer_code" field.

func ReferCodeLT

func ReferCodeLT(v string) predicate.ProxyUser

ReferCodeLT applies the LT predicate on the "refer_code" field.

func ReferCodeLTE

func ReferCodeLTE(v string) predicate.ProxyUser

ReferCodeLTE applies the LTE predicate on the "refer_code" field.

func ReferCodeNEQ

func ReferCodeNEQ(v string) predicate.ProxyUser

ReferCodeNEQ applies the NEQ predicate on the "refer_code" field.

func ReferCodeNotIn

func ReferCodeNotIn(vs ...string) predicate.ProxyUser

ReferCodeNotIn applies the NotIn predicate on the "refer_code" field.

func ReferCodeNotNil

func ReferCodeNotNil() predicate.ProxyUser

ReferCodeNotNil applies the NotNil predicate on the "refer_code" field.

func RefererID

func RefererID(v int64) predicate.ProxyUser

RefererID applies equality check predicate on the "referer_id" field. It's identical to RefererIDEQ.

func RefererIDEQ

func RefererIDEQ(v int64) predicate.ProxyUser

RefererIDEQ applies the EQ predicate on the "referer_id" field.

func RefererIDGT

func RefererIDGT(v int64) predicate.ProxyUser

RefererIDGT applies the GT predicate on the "referer_id" field.

func RefererIDGTE

func RefererIDGTE(v int64) predicate.ProxyUser

RefererIDGTE applies the GTE predicate on the "referer_id" field.

func RefererIDIn

func RefererIDIn(vs ...int64) predicate.ProxyUser

RefererIDIn applies the In predicate on the "referer_id" field.

func RefererIDIsNil

func RefererIDIsNil() predicate.ProxyUser

RefererIDIsNil applies the IsNil predicate on the "referer_id" field.

func RefererIDLT

func RefererIDLT(v int64) predicate.ProxyUser

RefererIDLT applies the LT predicate on the "referer_id" field.

func RefererIDLTE

func RefererIDLTE(v int64) predicate.ProxyUser

RefererIDLTE applies the LTE predicate on the "referer_id" field.

func RefererIDNEQ

func RefererIDNEQ(v int64) predicate.ProxyUser

RefererIDNEQ applies the NEQ predicate on the "referer_id" field.

func RefererIDNotIn

func RefererIDNotIn(vs ...int64) predicate.ProxyUser

RefererIDNotIn applies the NotIn predicate on the "referer_id" field.

func RefererIDNotNil

func RefererIDNotNil() predicate.ProxyUser

RefererIDNotNil applies the NotNil predicate on the "referer_id" field.

func ReferralPercentage

func ReferralPercentage(v int8) predicate.ProxyUser

ReferralPercentage applies equality check predicate on the "referral_percentage" field. It's identical to ReferralPercentageEQ.

func ReferralPercentageEQ

func ReferralPercentageEQ(v int8) predicate.ProxyUser

ReferralPercentageEQ applies the EQ predicate on the "referral_percentage" field.

func ReferralPercentageGT

func ReferralPercentageGT(v int8) predicate.ProxyUser

ReferralPercentageGT applies the GT predicate on the "referral_percentage" field.

func ReferralPercentageGTE

func ReferralPercentageGTE(v int8) predicate.ProxyUser

ReferralPercentageGTE applies the GTE predicate on the "referral_percentage" field.

func ReferralPercentageIn

func ReferralPercentageIn(vs ...int8) predicate.ProxyUser

ReferralPercentageIn applies the In predicate on the "referral_percentage" field.

func ReferralPercentageLT

func ReferralPercentageLT(v int8) predicate.ProxyUser

ReferralPercentageLT applies the LT predicate on the "referral_percentage" field.

func ReferralPercentageLTE

func ReferralPercentageLTE(v int8) predicate.ProxyUser

ReferralPercentageLTE applies the LTE predicate on the "referral_percentage" field.

func ReferralPercentageNEQ

func ReferralPercentageNEQ(v int8) predicate.ProxyUser

ReferralPercentageNEQ applies the NEQ predicate on the "referral_percentage" field.

func ReferralPercentageNotIn

func ReferralPercentageNotIn(vs ...int8) predicate.ProxyUser

ReferralPercentageNotIn applies the NotIn predicate on the "referral_percentage" field.

func Rules

func Rules(v string) predicate.ProxyUser

Rules applies equality check predicate on the "rules" field. It's identical to RulesEQ.

func RulesContains

func RulesContains(v string) predicate.ProxyUser

RulesContains applies the Contains predicate on the "rules" field.

func RulesContainsFold

func RulesContainsFold(v string) predicate.ProxyUser

RulesContainsFold applies the ContainsFold predicate on the "rules" field.

func RulesEQ

func RulesEQ(v string) predicate.ProxyUser

RulesEQ applies the EQ predicate on the "rules" field.

func RulesEqualFold

func RulesEqualFold(v string) predicate.ProxyUser

RulesEqualFold applies the EqualFold predicate on the "rules" field.

func RulesGT

func RulesGT(v string) predicate.ProxyUser

RulesGT applies the GT predicate on the "rules" field.

func RulesGTE

func RulesGTE(v string) predicate.ProxyUser

RulesGTE applies the GTE predicate on the "rules" field.

func RulesHasPrefix

func RulesHasPrefix(v string) predicate.ProxyUser

RulesHasPrefix applies the HasPrefix predicate on the "rules" field.

func RulesHasSuffix

func RulesHasSuffix(v string) predicate.ProxyUser

RulesHasSuffix applies the HasSuffix predicate on the "rules" field.

func RulesIn

func RulesIn(vs ...string) predicate.ProxyUser

RulesIn applies the In predicate on the "rules" field.

func RulesIsNil

func RulesIsNil() predicate.ProxyUser

RulesIsNil applies the IsNil predicate on the "rules" field.

func RulesLT

func RulesLT(v string) predicate.ProxyUser

RulesLT applies the LT predicate on the "rules" field.

func RulesLTE

func RulesLTE(v string) predicate.ProxyUser

RulesLTE applies the LTE predicate on the "rules" field.

func RulesNEQ

func RulesNEQ(v string) predicate.ProxyUser

RulesNEQ applies the NEQ predicate on the "rules" field.

func RulesNotIn

func RulesNotIn(vs ...string) predicate.ProxyUser

RulesNotIn applies the NotIn predicate on the "rules" field.

func RulesNotNil

func RulesNotNil() predicate.ProxyUser

RulesNotNil applies the NotNil predicate on the "rules" field.

func Salt

func Salt(v string) predicate.ProxyUser

Salt applies equality check predicate on the "salt" field. It's identical to SaltEQ.

func SaltContains

func SaltContains(v string) predicate.ProxyUser

SaltContains applies the Contains predicate on the "salt" field.

func SaltContainsFold

func SaltContainsFold(v string) predicate.ProxyUser

SaltContainsFold applies the ContainsFold predicate on the "salt" field.

func SaltEQ

func SaltEQ(v string) predicate.ProxyUser

SaltEQ applies the EQ predicate on the "salt" field.

func SaltEqualFold

func SaltEqualFold(v string) predicate.ProxyUser

SaltEqualFold applies the EqualFold predicate on the "salt" field.

func SaltGT

func SaltGT(v string) predicate.ProxyUser

SaltGT applies the GT predicate on the "salt" field.

func SaltGTE

func SaltGTE(v string) predicate.ProxyUser

SaltGTE applies the GTE predicate on the "salt" field.

func SaltHasPrefix

func SaltHasPrefix(v string) predicate.ProxyUser

SaltHasPrefix applies the HasPrefix predicate on the "salt" field.

func SaltHasSuffix

func SaltHasSuffix(v string) predicate.ProxyUser

SaltHasSuffix applies the HasSuffix predicate on the "salt" field.

func SaltIn

func SaltIn(vs ...string) predicate.ProxyUser

SaltIn applies the In predicate on the "salt" field.

func SaltIsNil

func SaltIsNil() predicate.ProxyUser

SaltIsNil applies the IsNil predicate on the "salt" field.

func SaltLT

func SaltLT(v string) predicate.ProxyUser

SaltLT applies the LT predicate on the "salt" field.

func SaltLTE

func SaltLTE(v string) predicate.ProxyUser

SaltLTE applies the LTE predicate on the "salt" field.

func SaltNEQ

func SaltNEQ(v string) predicate.ProxyUser

SaltNEQ applies the NEQ predicate on the "salt" field.

func SaltNotIn

func SaltNotIn(vs ...string) predicate.ProxyUser

SaltNotIn applies the NotIn predicate on the "salt" field.

func SaltNotNil

func SaltNotNil() predicate.ProxyUser

SaltNotNil applies the NotNil predicate on the "salt" field.

func Telegram

func Telegram(v int64) predicate.ProxyUser

Telegram applies equality check predicate on the "telegram" field. It's identical to TelegramEQ.

func TelegramEQ

func TelegramEQ(v int64) predicate.ProxyUser

TelegramEQ applies the EQ predicate on the "telegram" field.

func TelegramGT

func TelegramGT(v int64) predicate.ProxyUser

TelegramGT applies the GT predicate on the "telegram" field.

func TelegramGTE

func TelegramGTE(v int64) predicate.ProxyUser

TelegramGTE applies the GTE predicate on the "telegram" field.

func TelegramIn

func TelegramIn(vs ...int64) predicate.ProxyUser

TelegramIn applies the In predicate on the "telegram" field.

func TelegramIsNil

func TelegramIsNil() predicate.ProxyUser

TelegramIsNil applies the IsNil predicate on the "telegram" field.

func TelegramLT

func TelegramLT(v int64) predicate.ProxyUser

TelegramLT applies the LT predicate on the "telegram" field.

func TelegramLTE

func TelegramLTE(v int64) predicate.ProxyUser

TelegramLTE applies the LTE predicate on the "telegram" field.

func TelegramNEQ

func TelegramNEQ(v int64) predicate.ProxyUser

TelegramNEQ applies the NEQ predicate on the "telegram" field.

func TelegramNotIn

func TelegramNotIn(vs ...int64) predicate.ProxyUser

TelegramNotIn applies the NotIn predicate on the "telegram" field.

func TelegramNotNil

func TelegramNotNil() predicate.ProxyUser

TelegramNotNil applies the NotNil predicate on the "telegram" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ProxyUser

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ProxyUser

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ProxyUser

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ProxyUser

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ProxyUser

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ProxyUser

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ProxyUser

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

func ValidEmail

func ValidEmail(v bool) predicate.ProxyUser

ValidEmail applies equality check predicate on the "valid_email" field. It's identical to ValidEmailEQ.

func ValidEmailEQ

func ValidEmailEQ(v bool) predicate.ProxyUser

ValidEmailEQ applies the EQ predicate on the "valid_email" field.

func ValidEmailNEQ

func ValidEmailNEQ(v bool) predicate.ProxyUser

ValidEmailNEQ applies the NEQ predicate on the "valid_email" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ProxyUser queries.

func ByAlgo

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

ByAlgo orders the results by the algo field.

func ByAvatar

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

ByAvatar orders the results by the avatar field.

func ByBalance

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

ByBalance orders the results by the balance field.

func ByCommission

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

ByCommission orders the results by the commission 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 ByEnable

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

ByEnable orders the results by the enable field.

func ByEnableBalanceNotify

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

ByEnableBalanceNotify orders the results by the enable_balance_notify field.

func ByEnableEmailNotify

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

ByEnableEmailNotify orders the results by the enable_email_notify field.

func ByEnableLoginNotify

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

ByEnableLoginNotify orders the results by the enable_login_notify field.

func ByEnableSubscribeNotify

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

ByEnableSubscribeNotify orders the results by the enable_subscribe_notify field.

func ByEnableTelegramNotify

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

ByEnableTelegramNotify orders the results by the enable_telegram_notify field.

func ByEnableTradeNotify

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

ByEnableTradeNotify orders the results by the enable_trade_notify field.

func ByGiftAmount

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

ByGiftAmount orders the results by the gift_amount field.

func ByID

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

ByID orders the results by the id field.

func ByIsAdmin

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

ByIsAdmin orders the results by the is_admin field.

func ByIsDel

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

ByIsDel orders the results by the is_del field.

func ByOnlyFirstPurchase

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

ByOnlyFirstPurchase orders the results by the only_first_purchase field.

func ByPassword

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

ByPassword orders the results by the password field.

func ByRedemptionRecords

func ByRedemptionRecords(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByRedemptionRecords orders the results by redemption_records terms.

func ByRedemptionRecordsCount

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

ByRedemptionRecordsCount orders the results by redemption_records count.

func ByReferCode

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

ByReferCode orders the results by the refer_code field.

func ByRefererID

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

ByRefererID orders the results by the referer_id field.

func ByReferralPercentage

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

ByReferralPercentage orders the results by the referral_percentage field.

func ByRules

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

ByRules orders the results by the rules field.

func BySalt

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

BySalt orders the results by the salt field.

func ByTelegram

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

ByTelegram orders the results by the telegram field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByValidEmail

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

ByValidEmail orders the results by the valid_email field.

func ByWithdrawals

func ByWithdrawals(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByWithdrawals orders the results by withdrawals terms.

func ByWithdrawalsCount

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

ByWithdrawalsCount orders the results by withdrawals count.

Jump to

Keyboard shortcuts

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