Documentation
¶
Index ¶
- Constants
- Variables
- func Algo(v string) predicate.ProxyUser
- func AlgoContains(v string) predicate.ProxyUser
- func AlgoContainsFold(v string) predicate.ProxyUser
- func AlgoEQ(v string) predicate.ProxyUser
- func AlgoEqualFold(v string) predicate.ProxyUser
- func AlgoGT(v string) predicate.ProxyUser
- func AlgoGTE(v string) predicate.ProxyUser
- func AlgoHasPrefix(v string) predicate.ProxyUser
- func AlgoHasSuffix(v string) predicate.ProxyUser
- func AlgoIn(vs ...string) predicate.ProxyUser
- func AlgoLT(v string) predicate.ProxyUser
- func AlgoLTE(v string) predicate.ProxyUser
- func AlgoNEQ(v string) predicate.ProxyUser
- func AlgoNotIn(vs ...string) predicate.ProxyUser
- func And(predicates ...predicate.ProxyUser) predicate.ProxyUser
- func Avatar(v string) predicate.ProxyUser
- func AvatarContains(v string) predicate.ProxyUser
- func AvatarContainsFold(v string) predicate.ProxyUser
- func AvatarEQ(v string) predicate.ProxyUser
- func AvatarEqualFold(v string) predicate.ProxyUser
- func AvatarGT(v string) predicate.ProxyUser
- func AvatarGTE(v string) predicate.ProxyUser
- func AvatarHasPrefix(v string) predicate.ProxyUser
- func AvatarHasSuffix(v string) predicate.ProxyUser
- func AvatarIn(vs ...string) predicate.ProxyUser
- func AvatarIsNil() predicate.ProxyUser
- func AvatarLT(v string) predicate.ProxyUser
- func AvatarLTE(v string) predicate.ProxyUser
- func AvatarNEQ(v string) predicate.ProxyUser
- func AvatarNotIn(vs ...string) predicate.ProxyUser
- func AvatarNotNil() predicate.ProxyUser
- func Balance(v int64) predicate.ProxyUser
- func BalanceEQ(v int64) predicate.ProxyUser
- func BalanceGT(v int64) predicate.ProxyUser
- func BalanceGTE(v int64) predicate.ProxyUser
- func BalanceIn(vs ...int64) predicate.ProxyUser
- func BalanceIsNil() predicate.ProxyUser
- func BalanceLT(v int64) predicate.ProxyUser
- func BalanceLTE(v int64) predicate.ProxyUser
- func BalanceNEQ(v int64) predicate.ProxyUser
- func BalanceNotIn(vs ...int64) predicate.ProxyUser
- func BalanceNotNil() predicate.ProxyUser
- func Commission(v int64) predicate.ProxyUser
- func CommissionEQ(v int64) predicate.ProxyUser
- func CommissionGT(v int64) predicate.ProxyUser
- func CommissionGTE(v int64) predicate.ProxyUser
- func CommissionIn(vs ...int64) predicate.ProxyUser
- func CommissionIsNil() predicate.ProxyUser
- func CommissionLT(v int64) predicate.ProxyUser
- func CommissionLTE(v int64) predicate.ProxyUser
- func CommissionNEQ(v int64) predicate.ProxyUser
- func CommissionNotIn(vs ...int64) predicate.ProxyUser
- func CommissionNotNil() predicate.ProxyUser
- func CreatedAt(v time.Time) predicate.ProxyUser
- func CreatedAtEQ(v time.Time) predicate.ProxyUser
- func CreatedAtGT(v time.Time) predicate.ProxyUser
- func CreatedAtGTE(v time.Time) predicate.ProxyUser
- func CreatedAtIn(vs ...time.Time) predicate.ProxyUser
- func CreatedAtLT(v time.Time) predicate.ProxyUser
- func CreatedAtLTE(v time.Time) predicate.ProxyUser
- func CreatedAtNEQ(v time.Time) predicate.ProxyUser
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyUser
- func DeletedAt(v time.Time) predicate.ProxyUser
- func DeletedAtEQ(v time.Time) predicate.ProxyUser
- func DeletedAtGT(v time.Time) predicate.ProxyUser
- func DeletedAtGTE(v time.Time) predicate.ProxyUser
- func DeletedAtIn(vs ...time.Time) predicate.ProxyUser
- func DeletedAtIsNil() predicate.ProxyUser
- func DeletedAtLT(v time.Time) predicate.ProxyUser
- func DeletedAtLTE(v time.Time) predicate.ProxyUser
- func DeletedAtNEQ(v time.Time) predicate.ProxyUser
- func DeletedAtNotIn(vs ...time.Time) predicate.ProxyUser
- func DeletedAtNotNil() predicate.ProxyUser
- func Enable(v bool) predicate.ProxyUser
- func EnableBalanceNotify(v bool) predicate.ProxyUser
- func EnableBalanceNotifyEQ(v bool) predicate.ProxyUser
- func EnableBalanceNotifyNEQ(v bool) predicate.ProxyUser
- func EnableEQ(v bool) predicate.ProxyUser
- func EnableEmailNotify(v bool) predicate.ProxyUser
- func EnableEmailNotifyEQ(v bool) predicate.ProxyUser
- func EnableEmailNotifyNEQ(v bool) predicate.ProxyUser
- func EnableLoginNotify(v bool) predicate.ProxyUser
- func EnableLoginNotifyEQ(v bool) predicate.ProxyUser
- func EnableLoginNotifyNEQ(v bool) predicate.ProxyUser
- func EnableNEQ(v bool) predicate.ProxyUser
- func EnableSubscribeNotify(v bool) predicate.ProxyUser
- func EnableSubscribeNotifyEQ(v bool) predicate.ProxyUser
- func EnableSubscribeNotifyNEQ(v bool) predicate.ProxyUser
- func EnableTelegramNotify(v bool) predicate.ProxyUser
- func EnableTelegramNotifyEQ(v bool) predicate.ProxyUser
- func EnableTelegramNotifyNEQ(v bool) predicate.ProxyUser
- func EnableTradeNotify(v bool) predicate.ProxyUser
- func EnableTradeNotifyEQ(v bool) predicate.ProxyUser
- func EnableTradeNotifyNEQ(v bool) predicate.ProxyUser
- func GiftAmount(v int64) predicate.ProxyUser
- func GiftAmountEQ(v int64) predicate.ProxyUser
- func GiftAmountGT(v int64) predicate.ProxyUser
- func GiftAmountGTE(v int64) predicate.ProxyUser
- func GiftAmountIn(vs ...int64) predicate.ProxyUser
- func GiftAmountIsNil() predicate.ProxyUser
- func GiftAmountLT(v int64) predicate.ProxyUser
- func GiftAmountLTE(v int64) predicate.ProxyUser
- func GiftAmountNEQ(v int64) predicate.ProxyUser
- func GiftAmountNotIn(vs ...int64) predicate.ProxyUser
- func GiftAmountNotNil() predicate.ProxyUser
- func HasRedemptionRecords() predicate.ProxyUser
- func HasRedemptionRecordsWith(preds ...predicate.ProxyRedemptionRecord) predicate.ProxyUser
- func HasWithdrawals() predicate.ProxyUser
- func HasWithdrawalsWith(preds ...predicate.ProxyUserWithdrawal) predicate.ProxyUser
- func ID(id int64) predicate.ProxyUser
- func IDEQ(id int64) predicate.ProxyUser
- func IDGT(id int64) predicate.ProxyUser
- func IDGTE(id int64) predicate.ProxyUser
- func IDIn(ids ...int64) predicate.ProxyUser
- func IDLT(id int64) predicate.ProxyUser
- func IDLTE(id int64) predicate.ProxyUser
- func IDNEQ(id int64) predicate.ProxyUser
- func IDNotIn(ids ...int64) predicate.ProxyUser
- func IsAdmin(v bool) predicate.ProxyUser
- func IsAdminEQ(v bool) predicate.ProxyUser
- func IsAdminNEQ(v bool) predicate.ProxyUser
- func IsDel(v uint64) predicate.ProxyUser
- func IsDelEQ(v uint64) predicate.ProxyUser
- func IsDelGT(v uint64) predicate.ProxyUser
- func IsDelGTE(v uint64) predicate.ProxyUser
- func IsDelIn(vs ...uint64) predicate.ProxyUser
- func IsDelIsNil() predicate.ProxyUser
- func IsDelLT(v uint64) predicate.ProxyUser
- func IsDelLTE(v uint64) predicate.ProxyUser
- func IsDelNEQ(v uint64) predicate.ProxyUser
- func IsDelNotIn(vs ...uint64) predicate.ProxyUser
- func IsDelNotNil() predicate.ProxyUser
- func Not(p predicate.ProxyUser) predicate.ProxyUser
- func OnlyFirstPurchase(v bool) predicate.ProxyUser
- func OnlyFirstPurchaseEQ(v bool) predicate.ProxyUser
- func OnlyFirstPurchaseNEQ(v bool) predicate.ProxyUser
- func Or(predicates ...predicate.ProxyUser) predicate.ProxyUser
- func Password(v string) predicate.ProxyUser
- func PasswordContains(v string) predicate.ProxyUser
- func PasswordContainsFold(v string) predicate.ProxyUser
- func PasswordEQ(v string) predicate.ProxyUser
- func PasswordEqualFold(v string) predicate.ProxyUser
- func PasswordGT(v string) predicate.ProxyUser
- func PasswordGTE(v string) predicate.ProxyUser
- func PasswordHasPrefix(v string) predicate.ProxyUser
- func PasswordHasSuffix(v string) predicate.ProxyUser
- func PasswordIn(vs ...string) predicate.ProxyUser
- func PasswordLT(v string) predicate.ProxyUser
- func PasswordLTE(v string) predicate.ProxyUser
- func PasswordNEQ(v string) predicate.ProxyUser
- func PasswordNotIn(vs ...string) predicate.ProxyUser
- func ReferCode(v string) predicate.ProxyUser
- func ReferCodeContains(v string) predicate.ProxyUser
- func ReferCodeContainsFold(v string) predicate.ProxyUser
- func ReferCodeEQ(v string) predicate.ProxyUser
- func ReferCodeEqualFold(v string) predicate.ProxyUser
- func ReferCodeGT(v string) predicate.ProxyUser
- func ReferCodeGTE(v string) predicate.ProxyUser
- func ReferCodeHasPrefix(v string) predicate.ProxyUser
- func ReferCodeHasSuffix(v string) predicate.ProxyUser
- func ReferCodeIn(vs ...string) predicate.ProxyUser
- func ReferCodeIsNil() predicate.ProxyUser
- func ReferCodeLT(v string) predicate.ProxyUser
- func ReferCodeLTE(v string) predicate.ProxyUser
- func ReferCodeNEQ(v string) predicate.ProxyUser
- func ReferCodeNotIn(vs ...string) predicate.ProxyUser
- func ReferCodeNotNil() predicate.ProxyUser
- func RefererID(v int64) predicate.ProxyUser
- func RefererIDEQ(v int64) predicate.ProxyUser
- func RefererIDGT(v int64) predicate.ProxyUser
- func RefererIDGTE(v int64) predicate.ProxyUser
- func RefererIDIn(vs ...int64) predicate.ProxyUser
- func RefererIDIsNil() predicate.ProxyUser
- func RefererIDLT(v int64) predicate.ProxyUser
- func RefererIDLTE(v int64) predicate.ProxyUser
- func RefererIDNEQ(v int64) predicate.ProxyUser
- func RefererIDNotIn(vs ...int64) predicate.ProxyUser
- func RefererIDNotNil() predicate.ProxyUser
- func ReferralPercentage(v int8) predicate.ProxyUser
- func ReferralPercentageEQ(v int8) predicate.ProxyUser
- func ReferralPercentageGT(v int8) predicate.ProxyUser
- func ReferralPercentageGTE(v int8) predicate.ProxyUser
- func ReferralPercentageIn(vs ...int8) predicate.ProxyUser
- func ReferralPercentageLT(v int8) predicate.ProxyUser
- func ReferralPercentageLTE(v int8) predicate.ProxyUser
- func ReferralPercentageNEQ(v int8) predicate.ProxyUser
- func ReferralPercentageNotIn(vs ...int8) predicate.ProxyUser
- func Rules(v string) predicate.ProxyUser
- func RulesContains(v string) predicate.ProxyUser
- func RulesContainsFold(v string) predicate.ProxyUser
- func RulesEQ(v string) predicate.ProxyUser
- func RulesEqualFold(v string) predicate.ProxyUser
- func RulesGT(v string) predicate.ProxyUser
- func RulesGTE(v string) predicate.ProxyUser
- func RulesHasPrefix(v string) predicate.ProxyUser
- func RulesHasSuffix(v string) predicate.ProxyUser
- func RulesIn(vs ...string) predicate.ProxyUser
- func RulesIsNil() predicate.ProxyUser
- func RulesLT(v string) predicate.ProxyUser
- func RulesLTE(v string) predicate.ProxyUser
- func RulesNEQ(v string) predicate.ProxyUser
- func RulesNotIn(vs ...string) predicate.ProxyUser
- func RulesNotNil() predicate.ProxyUser
- func Salt(v string) predicate.ProxyUser
- func SaltContains(v string) predicate.ProxyUser
- func SaltContainsFold(v string) predicate.ProxyUser
- func SaltEQ(v string) predicate.ProxyUser
- func SaltEqualFold(v string) predicate.ProxyUser
- func SaltGT(v string) predicate.ProxyUser
- func SaltGTE(v string) predicate.ProxyUser
- func SaltHasPrefix(v string) predicate.ProxyUser
- func SaltHasSuffix(v string) predicate.ProxyUser
- func SaltIn(vs ...string) predicate.ProxyUser
- func SaltIsNil() predicate.ProxyUser
- func SaltLT(v string) predicate.ProxyUser
- func SaltLTE(v string) predicate.ProxyUser
- func SaltNEQ(v string) predicate.ProxyUser
- func SaltNotIn(vs ...string) predicate.ProxyUser
- func SaltNotNil() predicate.ProxyUser
- func Telegram(v int64) predicate.ProxyUser
- func TelegramEQ(v int64) predicate.ProxyUser
- func TelegramGT(v int64) predicate.ProxyUser
- func TelegramGTE(v int64) predicate.ProxyUser
- func TelegramIn(vs ...int64) predicate.ProxyUser
- func TelegramIsNil() predicate.ProxyUser
- func TelegramLT(v int64) predicate.ProxyUser
- func TelegramLTE(v int64) predicate.ProxyUser
- func TelegramNEQ(v int64) predicate.ProxyUser
- func TelegramNotIn(vs ...int64) predicate.ProxyUser
- func TelegramNotNil() predicate.ProxyUser
- func UpdatedAt(v time.Time) predicate.ProxyUser
- func UpdatedAtEQ(v time.Time) predicate.ProxyUser
- func UpdatedAtGT(v time.Time) predicate.ProxyUser
- func UpdatedAtGTE(v time.Time) predicate.ProxyUser
- func UpdatedAtIn(vs ...time.Time) predicate.ProxyUser
- func UpdatedAtLT(v time.Time) predicate.ProxyUser
- func UpdatedAtLTE(v time.Time) predicate.ProxyUser
- func UpdatedAtNEQ(v time.Time) predicate.ProxyUser
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyUser
- func ValidColumn(column string) bool
- func ValidEmail(v bool) predicate.ProxyUser
- func ValidEmailEQ(v bool) predicate.ProxyUser
- func ValidEmailNEQ(v bool) predicate.ProxyUser
- type OrderOption
- func ByAlgo(opts ...sql.OrderTermOption) OrderOption
- func ByAvatar(opts ...sql.OrderTermOption) OrderOption
- func ByBalance(opts ...sql.OrderTermOption) OrderOption
- func ByCommission(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEnable(opts ...sql.OrderTermOption) OrderOption
- func ByEnableBalanceNotify(opts ...sql.OrderTermOption) OrderOption
- func ByEnableEmailNotify(opts ...sql.OrderTermOption) OrderOption
- func ByEnableLoginNotify(opts ...sql.OrderTermOption) OrderOption
- func ByEnableSubscribeNotify(opts ...sql.OrderTermOption) OrderOption
- func ByEnableTelegramNotify(opts ...sql.OrderTermOption) OrderOption
- func ByEnableTradeNotify(opts ...sql.OrderTermOption) OrderOption
- func ByGiftAmount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsAdmin(opts ...sql.OrderTermOption) OrderOption
- func ByIsDel(opts ...sql.OrderTermOption) OrderOption
- func ByOnlyFirstPurchase(opts ...sql.OrderTermOption) OrderOption
- func ByPassword(opts ...sql.OrderTermOption) OrderOption
- func ByRedemptionRecords(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRedemptionRecordsCount(opts ...sql.OrderTermOption) OrderOption
- func ByReferCode(opts ...sql.OrderTermOption) OrderOption
- func ByRefererID(opts ...sql.OrderTermOption) OrderOption
- func ByReferralPercentage(opts ...sql.OrderTermOption) OrderOption
- func ByRules(opts ...sql.OrderTermOption) OrderOption
- func BySalt(opts ...sql.OrderTermOption) OrderOption
- func ByTelegram(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByValidEmail(opts ...sql.OrderTermOption) OrderOption
- func ByWithdrawals(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWithdrawalsCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldPassword, FieldAlgo, FieldSalt, FieldAvatar, FieldBalance, FieldTelegram, FieldReferCode, FieldRefererID, FieldCommission, FieldReferralPercentage, FieldOnlyFirstPurchase, FieldGiftAmount, FieldEnable, FieldIsAdmin, FieldValidEmail, FieldEnableEmailNotify, FieldEnableTelegramNotify, FieldEnableBalanceNotify, FieldEnableLoginNotify, FieldEnableSubscribeNotify, FieldEnableTradeNotify, FieldRules, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldIsDel, }
Columns holds all SQL columns for proxyuser fields.
Functions ¶
func AlgoContains ¶
AlgoContains applies the Contains predicate on the "algo" field.
func AlgoContainsFold ¶
AlgoContainsFold applies the ContainsFold predicate on the "algo" field.
func AlgoEqualFold ¶
AlgoEqualFold applies the EqualFold predicate on the "algo" field.
func AlgoHasPrefix ¶
AlgoHasPrefix applies the HasPrefix predicate on the "algo" field.
func AlgoHasSuffix ¶
AlgoHasSuffix applies the HasSuffix predicate on the "algo" field.
func Avatar ¶
Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
func AvatarContains ¶
AvatarContains applies the Contains predicate on the "avatar" field.
func AvatarContainsFold ¶
AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
func AvatarEqualFold ¶
AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
func AvatarHasPrefix ¶
AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
func AvatarHasSuffix ¶
AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
func AvatarIsNil ¶
AvatarIsNil applies the IsNil predicate on the "avatar" field.
func AvatarNotIn ¶
AvatarNotIn applies the NotIn predicate on the "avatar" field.
func AvatarNotNil ¶
AvatarNotNil applies the NotNil predicate on the "avatar" field.
func Balance ¶
Balance applies equality check predicate on the "balance" field. It's identical to BalanceEQ.
func BalanceGTE ¶
BalanceGTE applies the GTE predicate on the "balance" field.
func BalanceIsNil ¶
BalanceIsNil applies the IsNil predicate on the "balance" field.
func BalanceLTE ¶
BalanceLTE applies the LTE predicate on the "balance" field.
func BalanceNEQ ¶
BalanceNEQ applies the NEQ predicate on the "balance" field.
func BalanceNotIn ¶
BalanceNotIn applies the NotIn predicate on the "balance" field.
func BalanceNotNil ¶
BalanceNotNil applies the NotNil predicate on the "balance" field.
func Commission ¶
Commission applies equality check predicate on the "commission" field. It's identical to CommissionEQ.
func CommissionEQ ¶
CommissionEQ applies the EQ predicate on the "commission" field.
func CommissionGT ¶
CommissionGT applies the GT predicate on the "commission" field.
func CommissionGTE ¶
CommissionGTE applies the GTE predicate on the "commission" field.
func CommissionIn ¶
CommissionIn applies the In predicate on the "commission" field.
func CommissionIsNil ¶
CommissionIsNil applies the IsNil predicate on the "commission" field.
func CommissionLT ¶
CommissionLT applies the LT predicate on the "commission" field.
func CommissionLTE ¶
CommissionLTE applies the LTE predicate on the "commission" field.
func CommissionNEQ ¶
CommissionNEQ applies the NEQ predicate on the "commission" field.
func CommissionNotIn ¶
CommissionNotIn applies the NotIn predicate on the "commission" field.
func CommissionNotNil ¶
CommissionNotNil applies the NotNil predicate on the "commission" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Enable ¶
Enable applies equality check predicate on the "enable" field. It's identical to EnableEQ.
func EnableBalanceNotify ¶
EnableBalanceNotify applies equality check predicate on the "enable_balance_notify" field. It's identical to EnableBalanceNotifyEQ.
func EnableBalanceNotifyEQ ¶
EnableBalanceNotifyEQ applies the EQ predicate on the "enable_balance_notify" field.
func EnableBalanceNotifyNEQ ¶
EnableBalanceNotifyNEQ applies the NEQ predicate on the "enable_balance_notify" field.
func EnableEmailNotify ¶
EnableEmailNotify applies equality check predicate on the "enable_email_notify" field. It's identical to EnableEmailNotifyEQ.
func EnableEmailNotifyEQ ¶
EnableEmailNotifyEQ applies the EQ predicate on the "enable_email_notify" field.
func EnableEmailNotifyNEQ ¶
EnableEmailNotifyNEQ applies the NEQ predicate on the "enable_email_notify" field.
func EnableLoginNotify ¶
EnableLoginNotify applies equality check predicate on the "enable_login_notify" field. It's identical to EnableLoginNotifyEQ.
func EnableLoginNotifyEQ ¶
EnableLoginNotifyEQ applies the EQ predicate on the "enable_login_notify" field.
func EnableLoginNotifyNEQ ¶
EnableLoginNotifyNEQ applies the NEQ predicate on the "enable_login_notify" field.
func EnableSubscribeNotify ¶
EnableSubscribeNotify applies equality check predicate on the "enable_subscribe_notify" field. It's identical to EnableSubscribeNotifyEQ.
func EnableSubscribeNotifyEQ ¶
EnableSubscribeNotifyEQ applies the EQ predicate on the "enable_subscribe_notify" field.
func EnableSubscribeNotifyNEQ ¶
EnableSubscribeNotifyNEQ applies the NEQ predicate on the "enable_subscribe_notify" field.
func EnableTelegramNotify ¶
EnableTelegramNotify applies equality check predicate on the "enable_telegram_notify" field. It's identical to EnableTelegramNotifyEQ.
func EnableTelegramNotifyEQ ¶
EnableTelegramNotifyEQ applies the EQ predicate on the "enable_telegram_notify" field.
func EnableTelegramNotifyNEQ ¶
EnableTelegramNotifyNEQ applies the NEQ predicate on the "enable_telegram_notify" field.
func EnableTradeNotify ¶
EnableTradeNotify applies equality check predicate on the "enable_trade_notify" field. It's identical to EnableTradeNotifyEQ.
func EnableTradeNotifyEQ ¶
EnableTradeNotifyEQ applies the EQ predicate on the "enable_trade_notify" field.
func EnableTradeNotifyNEQ ¶
EnableTradeNotifyNEQ applies the NEQ predicate on the "enable_trade_notify" field.
func GiftAmount ¶
GiftAmount applies equality check predicate on the "gift_amount" field. It's identical to GiftAmountEQ.
func GiftAmountEQ ¶
GiftAmountEQ applies the EQ predicate on the "gift_amount" field.
func GiftAmountGT ¶
GiftAmountGT applies the GT predicate on the "gift_amount" field.
func GiftAmountGTE ¶
GiftAmountGTE applies the GTE predicate on the "gift_amount" field.
func GiftAmountIn ¶
GiftAmountIn applies the In predicate on the "gift_amount" field.
func GiftAmountIsNil ¶
GiftAmountIsNil applies the IsNil predicate on the "gift_amount" field.
func GiftAmountLT ¶
GiftAmountLT applies the LT predicate on the "gift_amount" field.
func GiftAmountLTE ¶
GiftAmountLTE applies the LTE predicate on the "gift_amount" field.
func GiftAmountNEQ ¶
GiftAmountNEQ applies the NEQ predicate on the "gift_amount" field.
func GiftAmountNotIn ¶
GiftAmountNotIn applies the NotIn predicate on the "gift_amount" field.
func GiftAmountNotNil ¶
GiftAmountNotNil applies the NotNil predicate on the "gift_amount" field.
func HasRedemptionRecords ¶
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 ¶
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 IsAdmin ¶
IsAdmin applies equality check predicate on the "is_admin" field. It's identical to IsAdminEQ.
func IsAdminNEQ ¶
IsAdminNEQ applies the NEQ predicate on the "is_admin" field.
func IsDel ¶
IsDel applies equality check predicate on the "is_del" field. It's identical to IsDelEQ.
func IsDelIsNil ¶
IsDelIsNil applies the IsNil predicate on the "is_del" field.
func IsDelNotIn ¶
IsDelNotIn applies the NotIn predicate on the "is_del" field.
func IsDelNotNil ¶
IsDelNotNil applies the NotNil predicate on the "is_del" field.
func OnlyFirstPurchase ¶
OnlyFirstPurchase applies equality check predicate on the "only_first_purchase" field. It's identical to OnlyFirstPurchaseEQ.
func OnlyFirstPurchaseEQ ¶
OnlyFirstPurchaseEQ applies the EQ predicate on the "only_first_purchase" field.
func OnlyFirstPurchaseNEQ ¶
OnlyFirstPurchaseNEQ applies the NEQ predicate on the "only_first_purchase" field.
func Password ¶
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
PasswordIn applies the In predicate on the "password" field.
func PasswordLT ¶
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
PasswordNotIn applies the NotIn predicate on the "password" field.
func ReferCode ¶
ReferCode applies equality check predicate on the "refer_code" field. It's identical to ReferCodeEQ.
func ReferCodeContains ¶
ReferCodeContains applies the Contains predicate on the "refer_code" field.
func ReferCodeContainsFold ¶
ReferCodeContainsFold applies the ContainsFold predicate on the "refer_code" field.
func ReferCodeEQ ¶
ReferCodeEQ applies the EQ predicate on the "refer_code" field.
func ReferCodeEqualFold ¶
ReferCodeEqualFold applies the EqualFold predicate on the "refer_code" field.
func ReferCodeGT ¶
ReferCodeGT applies the GT predicate on the "refer_code" field.
func ReferCodeGTE ¶
ReferCodeGTE applies the GTE predicate on the "refer_code" field.
func ReferCodeHasPrefix ¶
ReferCodeHasPrefix applies the HasPrefix predicate on the "refer_code" field.
func ReferCodeHasSuffix ¶
ReferCodeHasSuffix applies the HasSuffix predicate on the "refer_code" field.
func ReferCodeIn ¶
ReferCodeIn applies the In predicate on the "refer_code" field.
func ReferCodeIsNil ¶
ReferCodeIsNil applies the IsNil predicate on the "refer_code" field.
func ReferCodeLT ¶
ReferCodeLT applies the LT predicate on the "refer_code" field.
func ReferCodeLTE ¶
ReferCodeLTE applies the LTE predicate on the "refer_code" field.
func ReferCodeNEQ ¶
ReferCodeNEQ applies the NEQ predicate on the "refer_code" field.
func ReferCodeNotIn ¶
ReferCodeNotIn applies the NotIn predicate on the "refer_code" field.
func ReferCodeNotNil ¶
ReferCodeNotNil applies the NotNil predicate on the "refer_code" field.
func RefererID ¶
RefererID applies equality check predicate on the "referer_id" field. It's identical to RefererIDEQ.
func RefererIDEQ ¶
RefererIDEQ applies the EQ predicate on the "referer_id" field.
func RefererIDGT ¶
RefererIDGT applies the GT predicate on the "referer_id" field.
func RefererIDGTE ¶
RefererIDGTE applies the GTE predicate on the "referer_id" field.
func RefererIDIn ¶
RefererIDIn applies the In predicate on the "referer_id" field.
func RefererIDIsNil ¶
RefererIDIsNil applies the IsNil predicate on the "referer_id" field.
func RefererIDLT ¶
RefererIDLT applies the LT predicate on the "referer_id" field.
func RefererIDLTE ¶
RefererIDLTE applies the LTE predicate on the "referer_id" field.
func RefererIDNEQ ¶
RefererIDNEQ applies the NEQ predicate on the "referer_id" field.
func RefererIDNotIn ¶
RefererIDNotIn applies the NotIn predicate on the "referer_id" field.
func RefererIDNotNil ¶
RefererIDNotNil applies the NotNil predicate on the "referer_id" field.
func ReferralPercentage ¶
ReferralPercentage applies equality check predicate on the "referral_percentage" field. It's identical to ReferralPercentageEQ.
func ReferralPercentageEQ ¶
ReferralPercentageEQ applies the EQ predicate on the "referral_percentage" field.
func ReferralPercentageGT ¶
ReferralPercentageGT applies the GT predicate on the "referral_percentage" field.
func ReferralPercentageGTE ¶
ReferralPercentageGTE applies the GTE predicate on the "referral_percentage" field.
func ReferralPercentageIn ¶
ReferralPercentageIn applies the In predicate on the "referral_percentage" field.
func ReferralPercentageLT ¶
ReferralPercentageLT applies the LT predicate on the "referral_percentage" field.
func ReferralPercentageLTE ¶
ReferralPercentageLTE applies the LTE predicate on the "referral_percentage" field.
func ReferralPercentageNEQ ¶
ReferralPercentageNEQ applies the NEQ predicate on the "referral_percentage" field.
func ReferralPercentageNotIn ¶
ReferralPercentageNotIn applies the NotIn predicate on the "referral_percentage" field.
func Rules ¶
Rules applies equality check predicate on the "rules" field. It's identical to RulesEQ.
func RulesContains ¶
RulesContains applies the Contains predicate on the "rules" field.
func RulesContainsFold ¶
RulesContainsFold applies the ContainsFold predicate on the "rules" field.
func RulesEqualFold ¶
RulesEqualFold applies the EqualFold predicate on the "rules" field.
func RulesHasPrefix ¶
RulesHasPrefix applies the HasPrefix predicate on the "rules" field.
func RulesHasSuffix ¶
RulesHasSuffix applies the HasSuffix predicate on the "rules" field.
func RulesIsNil ¶
RulesIsNil applies the IsNil predicate on the "rules" field.
func RulesNotIn ¶
RulesNotIn applies the NotIn predicate on the "rules" field.
func RulesNotNil ¶
RulesNotNil applies the NotNil predicate on the "rules" field.
func SaltContains ¶
SaltContains applies the Contains predicate on the "salt" field.
func SaltContainsFold ¶
SaltContainsFold applies the ContainsFold predicate on the "salt" field.
func SaltEqualFold ¶
SaltEqualFold applies the EqualFold predicate on the "salt" field.
func SaltHasPrefix ¶
SaltHasPrefix applies the HasPrefix predicate on the "salt" field.
func SaltHasSuffix ¶
SaltHasSuffix applies the HasSuffix predicate on the "salt" field.
func SaltNotNil ¶
SaltNotNil applies the NotNil predicate on the "salt" field.
func Telegram ¶
Telegram applies equality check predicate on the "telegram" field. It's identical to TelegramEQ.
func TelegramEQ ¶
TelegramEQ applies the EQ predicate on the "telegram" field.
func TelegramGT ¶
TelegramGT applies the GT predicate on the "telegram" field.
func TelegramGTE ¶
TelegramGTE applies the GTE predicate on the "telegram" field.
func TelegramIn ¶
TelegramIn applies the In predicate on the "telegram" field.
func TelegramIsNil ¶
TelegramIsNil applies the IsNil predicate on the "telegram" field.
func TelegramLT ¶
TelegramLT applies the LT predicate on the "telegram" field.
func TelegramLTE ¶
TelegramLTE applies the LTE predicate on the "telegram" field.
func TelegramNEQ ¶
TelegramNEQ applies the NEQ predicate on the "telegram" field.
func TelegramNotIn ¶
TelegramNotIn applies the NotIn predicate on the "telegram" field.
func TelegramNotNil ¶
TelegramNotNil applies the NotNil predicate on the "telegram" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func ValidEmail ¶
ValidEmail applies equality check predicate on the "valid_email" field. It's identical to ValidEmailEQ.
func ValidEmailEQ ¶
ValidEmailEQ applies the EQ predicate on the "valid_email" field.
func ValidEmailNEQ ¶
ValidEmailNEQ applies the NEQ predicate on the "valid_email" field.
Types ¶
type OrderOption ¶
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.