Documentation ¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.User
- func AddressContains(v string) predicate.User
- func AddressContainsFold(v string) predicate.User
- func AddressEQ(v string) predicate.User
- func AddressEqualFold(v string) predicate.User
- func AddressGT(v string) predicate.User
- func AddressGTE(v string) predicate.User
- func AddressHasPrefix(v string) predicate.User
- func AddressHasSuffix(v string) predicate.User
- func AddressIn(vs ...string) predicate.User
- func AddressIsNil() predicate.User
- func AddressLT(v string) predicate.User
- func AddressLTE(v string) predicate.User
- func AddressNEQ(v string) predicate.User
- func AddressNotIn(vs ...string) predicate.User
- func AddressNotNil() predicate.User
- func AesType(v int8) predicate.User
- func AesTypeEQ(v int8) predicate.User
- func AesTypeGT(v int8) predicate.User
- func AesTypeGTE(v int8) predicate.User
- func AesTypeIn(vs ...int8) predicate.User
- func AesTypeIsNil() predicate.User
- func AesTypeLT(v int8) predicate.User
- func AesTypeLTE(v int8) predicate.User
- func AesTypeNEQ(v int8) predicate.User
- func AesTypeNotIn(vs ...int8) predicate.User
- func AesTypeNotNil() predicate.User
- func And(predicates ...predicate.User) predicate.User
- func Balance(v decimal.Decimal) predicate.User
- func BalanceEQ(v decimal.Decimal) predicate.User
- func BalanceGT(v decimal.Decimal) predicate.User
- func BalanceGTE(v decimal.Decimal) predicate.User
- func BalanceIn(vs ...decimal.Decimal) predicate.User
- func BalanceLT(v decimal.Decimal) predicate.User
- func BalanceLTE(v decimal.Decimal) predicate.User
- func BalanceNEQ(v decimal.Decimal) predicate.User
- func BalanceNotIn(vs ...decimal.Decimal) predicate.User
- func BalanceUpdateTime(v int) predicate.User
- func BalanceUpdateTimeEQ(v int) predicate.User
- func BalanceUpdateTimeGT(v int) predicate.User
- func BalanceUpdateTimeGTE(v int) predicate.User
- func BalanceUpdateTimeIn(vs ...int) predicate.User
- func BalanceUpdateTimeIsNil() predicate.User
- func BalanceUpdateTimeLT(v int) predicate.User
- func BalanceUpdateTimeLTE(v int) predicate.User
- func BalanceUpdateTimeNEQ(v int) predicate.User
- func BalanceUpdateTimeNotIn(vs ...int) predicate.User
- func BalanceUpdateTimeNotNil() predicate.User
- func CreateDate(v time.Time) predicate.User
- func CreateDateEQ(v time.Time) predicate.User
- func CreateDateGT(v time.Time) predicate.User
- func CreateDateGTE(v time.Time) predicate.User
- func CreateDateIn(vs ...time.Time) predicate.User
- func CreateDateIsNil() predicate.User
- func CreateDateLT(v time.Time) predicate.User
- func CreateDateLTE(v time.Time) predicate.User
- func CreateDateNEQ(v time.Time) predicate.User
- func CreateDateNotIn(vs ...time.Time) predicate.User
- func CreateDateNotNil() predicate.User
- func CreateTime(v int) predicate.User
- func CreateTimeEQ(v int) predicate.User
- func CreateTimeGT(v int) predicate.User
- func CreateTimeGTE(v int) predicate.User
- func CreateTimeIn(vs ...int) predicate.User
- func CreateTimeIsNil() predicate.User
- func CreateTimeLT(v int) predicate.User
- func CreateTimeLTE(v int) predicate.User
- func CreateTimeNEQ(v int) predicate.User
- func CreateTimeNotIn(vs ...int) predicate.User
- func CreateTimeNotNil() predicate.User
- func ID(id uint) predicate.User
- func IDEQ(id uint) predicate.User
- func IDGT(id uint) predicate.User
- func IDGTE(id uint) predicate.User
- func IDIn(ids ...uint) predicate.User
- func IDLT(id uint) predicate.User
- func IDLTE(id uint) predicate.User
- func IDNEQ(id uint) predicate.User
- func IDNotIn(ids ...uint) predicate.User
- func IsTransfer(v int8) predicate.User
- func IsTransferEQ(v int8) predicate.User
- func IsTransferGT(v int8) predicate.User
- func IsTransferGTE(v int8) predicate.User
- func IsTransferIn(vs ...int8) predicate.User
- func IsTransferIsNil() predicate.User
- func IsTransferLT(v int8) predicate.User
- func IsTransferLTE(v int8) predicate.User
- func IsTransferNEQ(v int8) predicate.User
- func IsTransferNotIn(vs ...int8) predicate.User
- func IsTransferNotNil() predicate.User
- func Network(v string) predicate.User
- func NetworkContains(v string) predicate.User
- func NetworkContainsFold(v string) predicate.User
- func NetworkEQ(v string) predicate.User
- func NetworkEqualFold(v string) predicate.User
- func NetworkGT(v string) predicate.User
- func NetworkGTE(v string) predicate.User
- func NetworkHasPrefix(v string) predicate.User
- func NetworkHasSuffix(v string) predicate.User
- func NetworkIn(vs ...string) predicate.User
- func NetworkIsNil() predicate.User
- func NetworkLT(v string) predicate.User
- func NetworkLTE(v string) predicate.User
- func NetworkNEQ(v string) predicate.User
- func NetworkNotIn(vs ...string) predicate.User
- func NetworkNotNil() predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func PrivateKey(v string) predicate.User
- func PrivateKeyContains(v string) predicate.User
- func PrivateKeyContainsFold(v string) predicate.User
- func PrivateKeyEQ(v string) predicate.User
- func PrivateKeyEqualFold(v string) predicate.User
- func PrivateKeyGT(v string) predicate.User
- func PrivateKeyGTE(v string) predicate.User
- func PrivateKeyHasPrefix(v string) predicate.User
- func PrivateKeyHasSuffix(v string) predicate.User
- func PrivateKeyIn(vs ...string) predicate.User
- func PrivateKeyIsNil() predicate.User
- func PrivateKeyLT(v string) predicate.User
- func PrivateKeyLTE(v string) predicate.User
- func PrivateKeyNEQ(v string) predicate.User
- func PrivateKeyNotIn(vs ...string) predicate.User
- func PrivateKeyNotNil() predicate.User
- func TokenInfoIsNil() predicate.User
- func TokenInfoNotNil() predicate.User
- func TotalTokenValue(v decimal.Decimal) predicate.User
- func TotalTokenValueEQ(v decimal.Decimal) predicate.User
- func TotalTokenValueGT(v decimal.Decimal) predicate.User
- func TotalTokenValueGTE(v decimal.Decimal) predicate.User
- func TotalTokenValueIn(vs ...decimal.Decimal) predicate.User
- func TotalTokenValueLT(v decimal.Decimal) predicate.User
- func TotalTokenValueLTE(v decimal.Decimal) predicate.User
- func TotalTokenValueNEQ(v decimal.Decimal) predicate.User
- func TotalTokenValueNotIn(vs ...decimal.Decimal) predicate.User
- func TrxAddrTypeEQ(v TrxAddrType) predicate.User
- func TrxAddrTypeIn(vs ...TrxAddrType) predicate.User
- func TrxAddrTypeIsNil() predicate.User
- func TrxAddrTypeNEQ(v TrxAddrType) predicate.User
- func TrxAddrTypeNotIn(vs ...TrxAddrType) predicate.User
- func TrxAddrTypeNotNil() predicate.User
- func TrxAddrTypeValidator(tat TrxAddrType) error
- func TrxModeEQ(v TrxMode) predicate.User
- func TrxModeIn(vs ...TrxMode) predicate.User
- func TrxModeIsNil() predicate.User
- func TrxModeNEQ(v TrxMode) predicate.User
- func TrxModeNotIn(vs ...TrxMode) predicate.User
- func TrxModeNotNil() predicate.User
- func TrxModeValidator(tm TrxMode) error
- func TrxPrivAddr(v string) predicate.User
- func TrxPrivAddrContains(v string) predicate.User
- func TrxPrivAddrContainsFold(v string) predicate.User
- func TrxPrivAddrEQ(v string) predicate.User
- func TrxPrivAddrEqualFold(v string) predicate.User
- func TrxPrivAddrGT(v string) predicate.User
- func TrxPrivAddrGTE(v string) predicate.User
- func TrxPrivAddrHasPrefix(v string) predicate.User
- func TrxPrivAddrHasSuffix(v string) predicate.User
- func TrxPrivAddrIn(vs ...string) predicate.User
- func TrxPrivAddrIsNil() predicate.User
- func TrxPrivAddrLT(v string) predicate.User
- func TrxPrivAddrLTE(v string) predicate.User
- func TrxPrivAddrNEQ(v string) predicate.User
- func TrxPrivAddrNotIn(vs ...string) predicate.User
- func TrxPrivAddrNotNil() predicate.User
- func TrxPrivPkey(v string) predicate.User
- func TrxPrivPkeyContains(v string) predicate.User
- func TrxPrivPkeyContainsFold(v string) predicate.User
- func TrxPrivPkeyEQ(v string) predicate.User
- func TrxPrivPkeyEqualFold(v string) predicate.User
- func TrxPrivPkeyGT(v string) predicate.User
- func TrxPrivPkeyGTE(v string) predicate.User
- func TrxPrivPkeyHasPrefix(v string) predicate.User
- func TrxPrivPkeyHasSuffix(v string) predicate.User
- func TrxPrivPkeyIn(vs ...string) predicate.User
- func TrxPrivPkeyIsNil() predicate.User
- func TrxPrivPkeyLT(v string) predicate.User
- func TrxPrivPkeyLTE(v string) predicate.User
- func TrxPrivPkeyNEQ(v string) predicate.User
- func TrxPrivPkeyNotIn(vs ...string) predicate.User
- func TrxPrivPkeyNotNil() predicate.User
- func ValidColumn(column string) bool
- func Words(v string) predicate.User
- func WordsContains(v string) predicate.User
- func WordsContainsFold(v string) predicate.User
- func WordsEQ(v string) predicate.User
- func WordsEqualFold(v string) predicate.User
- func WordsGT(v string) predicate.User
- func WordsGTE(v string) predicate.User
- func WordsHasPrefix(v string) predicate.User
- func WordsHasSuffix(v string) predicate.User
- func WordsIn(vs ...string) predicate.User
- func WordsIsNil() predicate.User
- func WordsLT(v string) predicate.User
- func WordsLTE(v string) predicate.User
- func WordsNEQ(v string) predicate.User
- func WordsNotIn(vs ...string) predicate.User
- func WordsNotNil() predicate.User
- type OrderOption
- func ByAddress(opts ...sql.OrderTermOption) OrderOption
- func ByAesType(opts ...sql.OrderTermOption) OrderOption
- func ByBalance(opts ...sql.OrderTermOption) OrderOption
- func ByBalanceUpdateTime(opts ...sql.OrderTermOption) OrderOption
- func ByCreateDate(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsTransfer(opts ...sql.OrderTermOption) OrderOption
- func ByNetwork(opts ...sql.OrderTermOption) OrderOption
- func ByPrivateKey(opts ...sql.OrderTermOption) OrderOption
- func ByTotalTokenValue(opts ...sql.OrderTermOption) OrderOption
- func ByTrxAddrType(opts ...sql.OrderTermOption) OrderOption
- func ByTrxMode(opts ...sql.OrderTermOption) OrderOption
- func ByTrxPrivAddr(opts ...sql.OrderTermOption) OrderOption
- func ByTrxPrivPkey(opts ...sql.OrderTermOption) OrderOption
- func ByWords(opts ...sql.OrderTermOption) OrderOption
- type TrxAddrType
- type TrxMode
Constants ¶
const ( // Label holds the string label denoting the user type in the database. Label = "user" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldWords holds the string denoting the words field in the database. FieldWords = "words" // FieldNetwork holds the string denoting the network field in the database. FieldNetwork = "network" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // FieldPrivateKey holds the string denoting the private_key field in the database. FieldPrivateKey = "private_key" // FieldBalance holds the string denoting the balance field in the database. FieldBalance = "balance" // FieldBalanceUpdateTime holds the string denoting the balance_update_time field in the database. FieldBalanceUpdateTime = "balance_update_time" // FieldTokenInfo holds the string denoting the token_info field in the database. FieldTokenInfo = "token_info" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldCreateDate holds the string denoting the create_date field in the database. FieldCreateDate = "create_date" // FieldIsTransfer holds the string denoting the is_transfer field in the database. FieldIsTransfer = "is_transfer" // FieldTotalTokenValue holds the string denoting the total_token_value field in the database. FieldTotalTokenValue = "total_token_value" // FieldTrxMode holds the string denoting the trx_mode field in the database. FieldTrxMode = "trx_mode" // FieldTrxAddrType holds the string denoting the trx_addr_type field in the database. FieldTrxAddrType = "trx_addr_type" // FieldTrxPrivAddr holds the string denoting the trx_priv_addr field in the database. FieldTrxPrivAddr = "trx_priv_addr" // FieldTrxPrivPkey holds the string denoting the trx_priv_pkey field in the database. FieldTrxPrivPkey = "trx_priv_pkey" // FieldAesType holds the string denoting the aes_type field in the database. FieldAesType = "aes_type" // Table holds the table name of the user in the database. Table = "user" )
const DefaultTrxAddrType = TrxAddrTypeSingle
TrxAddrTypeSingle is the default value of the TrxAddrType enum.
const DefaultTrxMode = TrxModeTransfer
TrxModeTransfer is the default value of the TrxMode enum.
Variables ¶
var ( // DefaultWords holds the default value on creation for the "words" field. DefaultWords string // DefaultNetwork holds the default value on creation for the "network" field. DefaultNetwork string // DefaultAddress holds the default value on creation for the "address" field. DefaultAddress string // DefaultPrivateKey holds the default value on creation for the "private_key" field. DefaultPrivateKey string // DefaultBalance holds the default value on creation for the "balance" field. DefaultBalance decimal.Decimal // DefaultBalanceUpdateTime holds the default value on creation for the "balance_update_time" field. DefaultBalanceUpdateTime int // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime int // DefaultIsTransfer holds the default value on creation for the "is_transfer" field. DefaultIsTransfer int8 // DefaultTotalTokenValue holds the default value on creation for the "total_token_value" field. DefaultTotalTokenValue decimal.Decimal // DefaultTrxPrivAddr holds the default value on creation for the "trx_priv_addr" field. DefaultTrxPrivAddr string // DefaultTrxPrivPkey holds the default value on creation for the "trx_priv_pkey" field. DefaultTrxPrivPkey string // DefaultAesType holds the default value on creation for the "aes_type" field. DefaultAesType int8 )
var Columns = []string{ FieldID, FieldWords, FieldNetwork, FieldAddress, FieldPrivateKey, FieldBalance, FieldBalanceUpdateTime, FieldTokenInfo, FieldCreateTime, FieldCreateDate, FieldIsTransfer, FieldTotalTokenValue, FieldTrxMode, FieldTrxAddrType, FieldTrxPrivAddr, FieldTrxPrivPkey, FieldAesType, }
Columns holds all SQL columns for user fields.
Functions ¶
func Address ¶
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressContains ¶
AddressContains applies the Contains predicate on the "address" field.
func AddressContainsFold ¶
AddressContainsFold applies the ContainsFold predicate on the "address" field.
func AddressEqualFold ¶
AddressEqualFold applies the EqualFold predicate on the "address" field.
func AddressGTE ¶
AddressGTE applies the GTE predicate on the "address" field.
func AddressHasPrefix ¶
AddressHasPrefix applies the HasPrefix predicate on the "address" field.
func AddressHasSuffix ¶
AddressHasSuffix applies the HasSuffix predicate on the "address" field.
func AddressIsNil ¶
AddressIsNil applies the IsNil predicate on the "address" field.
func AddressLTE ¶
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
AddressNotIn applies the NotIn predicate on the "address" field.
func AddressNotNil ¶
AddressNotNil applies the NotNil predicate on the "address" field.
func AesType ¶
AesType applies equality check predicate on the "aes_type" field. It's identical to AesTypeEQ.
func AesTypeGTE ¶
AesTypeGTE applies the GTE predicate on the "aes_type" field.
func AesTypeIsNil ¶
AesTypeIsNil applies the IsNil predicate on the "aes_type" field.
func AesTypeLTE ¶
AesTypeLTE applies the LTE predicate on the "aes_type" field.
func AesTypeNEQ ¶
AesTypeNEQ applies the NEQ predicate on the "aes_type" field.
func AesTypeNotIn ¶
AesTypeNotIn applies the NotIn predicate on the "aes_type" field.
func AesTypeNotNil ¶
AesTypeNotNil applies the NotNil predicate on the "aes_type" 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 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 BalanceUpdateTime ¶
BalanceUpdateTime applies equality check predicate on the "balance_update_time" field. It's identical to BalanceUpdateTimeEQ.
func BalanceUpdateTimeEQ ¶
BalanceUpdateTimeEQ applies the EQ predicate on the "balance_update_time" field.
func BalanceUpdateTimeGT ¶
BalanceUpdateTimeGT applies the GT predicate on the "balance_update_time" field.
func BalanceUpdateTimeGTE ¶
BalanceUpdateTimeGTE applies the GTE predicate on the "balance_update_time" field.
func BalanceUpdateTimeIn ¶
BalanceUpdateTimeIn applies the In predicate on the "balance_update_time" field.
func BalanceUpdateTimeIsNil ¶
BalanceUpdateTimeIsNil applies the IsNil predicate on the "balance_update_time" field.
func BalanceUpdateTimeLT ¶
BalanceUpdateTimeLT applies the LT predicate on the "balance_update_time" field.
func BalanceUpdateTimeLTE ¶
BalanceUpdateTimeLTE applies the LTE predicate on the "balance_update_time" field.
func BalanceUpdateTimeNEQ ¶
BalanceUpdateTimeNEQ applies the NEQ predicate on the "balance_update_time" field.
func BalanceUpdateTimeNotIn ¶
BalanceUpdateTimeNotIn applies the NotIn predicate on the "balance_update_time" field.
func BalanceUpdateTimeNotNil ¶
BalanceUpdateTimeNotNil applies the NotNil predicate on the "balance_update_time" field.
func CreateDate ¶
CreateDate applies equality check predicate on the "create_date" field. It's identical to CreateDateEQ.
func CreateDateEQ ¶
CreateDateEQ applies the EQ predicate on the "create_date" field.
func CreateDateGT ¶
CreateDateGT applies the GT predicate on the "create_date" field.
func CreateDateGTE ¶
CreateDateGTE applies the GTE predicate on the "create_date" field.
func CreateDateIn ¶
CreateDateIn applies the In predicate on the "create_date" field.
func CreateDateIsNil ¶
CreateDateIsNil applies the IsNil predicate on the "create_date" field.
func CreateDateLT ¶
CreateDateLT applies the LT predicate on the "create_date" field.
func CreateDateLTE ¶
CreateDateLTE applies the LTE predicate on the "create_date" field.
func CreateDateNEQ ¶
CreateDateNEQ applies the NEQ predicate on the "create_date" field.
func CreateDateNotIn ¶
CreateDateNotIn applies the NotIn predicate on the "create_date" field.
func CreateDateNotNil ¶
CreateDateNotNil applies the NotNil predicate on the "create_date" field.
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeIsNil ¶
CreateTimeIsNil applies the IsNil predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func CreateTimeNotNil ¶
CreateTimeNotNil applies the NotNil predicate on the "create_time" field.
func IsTransfer ¶
IsTransfer applies equality check predicate on the "is_transfer" field. It's identical to IsTransferEQ.
func IsTransferEQ ¶
IsTransferEQ applies the EQ predicate on the "is_transfer" field.
func IsTransferGT ¶
IsTransferGT applies the GT predicate on the "is_transfer" field.
func IsTransferGTE ¶
IsTransferGTE applies the GTE predicate on the "is_transfer" field.
func IsTransferIn ¶
IsTransferIn applies the In predicate on the "is_transfer" field.
func IsTransferIsNil ¶
IsTransferIsNil applies the IsNil predicate on the "is_transfer" field.
func IsTransferLT ¶
IsTransferLT applies the LT predicate on the "is_transfer" field.
func IsTransferLTE ¶
IsTransferLTE applies the LTE predicate on the "is_transfer" field.
func IsTransferNEQ ¶
IsTransferNEQ applies the NEQ predicate on the "is_transfer" field.
func IsTransferNotIn ¶
IsTransferNotIn applies the NotIn predicate on the "is_transfer" field.
func IsTransferNotNil ¶
IsTransferNotNil applies the NotNil predicate on the "is_transfer" field.
func Network ¶
Network applies equality check predicate on the "network" field. It's identical to NetworkEQ.
func NetworkContains ¶
NetworkContains applies the Contains predicate on the "network" field.
func NetworkContainsFold ¶
NetworkContainsFold applies the ContainsFold predicate on the "network" field.
func NetworkEqualFold ¶
NetworkEqualFold applies the EqualFold predicate on the "network" field.
func NetworkGTE ¶
NetworkGTE applies the GTE predicate on the "network" field.
func NetworkHasPrefix ¶
NetworkHasPrefix applies the HasPrefix predicate on the "network" field.
func NetworkHasSuffix ¶
NetworkHasSuffix applies the HasSuffix predicate on the "network" field.
func NetworkIsNil ¶
NetworkIsNil applies the IsNil predicate on the "network" field.
func NetworkLTE ¶
NetworkLTE applies the LTE predicate on the "network" field.
func NetworkNEQ ¶
NetworkNEQ applies the NEQ predicate on the "network" field.
func NetworkNotIn ¶
NetworkNotIn applies the NotIn predicate on the "network" field.
func NetworkNotNil ¶
NetworkNotNil applies the NotNil predicate on the "network" field.
func PrivateKey ¶
PrivateKey applies equality check predicate on the "private_key" field. It's identical to PrivateKeyEQ.
func PrivateKeyContains ¶
PrivateKeyContains applies the Contains predicate on the "private_key" field.
func PrivateKeyContainsFold ¶
PrivateKeyContainsFold applies the ContainsFold predicate on the "private_key" field.
func PrivateKeyEQ ¶
PrivateKeyEQ applies the EQ predicate on the "private_key" field.
func PrivateKeyEqualFold ¶
PrivateKeyEqualFold applies the EqualFold predicate on the "private_key" field.
func PrivateKeyGT ¶
PrivateKeyGT applies the GT predicate on the "private_key" field.
func PrivateKeyGTE ¶
PrivateKeyGTE applies the GTE predicate on the "private_key" field.
func PrivateKeyHasPrefix ¶
PrivateKeyHasPrefix applies the HasPrefix predicate on the "private_key" field.
func PrivateKeyHasSuffix ¶
PrivateKeyHasSuffix applies the HasSuffix predicate on the "private_key" field.
func PrivateKeyIn ¶
PrivateKeyIn applies the In predicate on the "private_key" field.
func PrivateKeyIsNil ¶
PrivateKeyIsNil applies the IsNil predicate on the "private_key" field.
func PrivateKeyLT ¶
PrivateKeyLT applies the LT predicate on the "private_key" field.
func PrivateKeyLTE ¶
PrivateKeyLTE applies the LTE predicate on the "private_key" field.
func PrivateKeyNEQ ¶
PrivateKeyNEQ applies the NEQ predicate on the "private_key" field.
func PrivateKeyNotIn ¶
PrivateKeyNotIn applies the NotIn predicate on the "private_key" field.
func PrivateKeyNotNil ¶
PrivateKeyNotNil applies the NotNil predicate on the "private_key" field.
func TokenInfoIsNil ¶
TokenInfoIsNil applies the IsNil predicate on the "token_info" field.
func TokenInfoNotNil ¶
TokenInfoNotNil applies the NotNil predicate on the "token_info" field.
func TotalTokenValue ¶
TotalTokenValue applies equality check predicate on the "total_token_value" field. It's identical to TotalTokenValueEQ.
func TotalTokenValueEQ ¶
TotalTokenValueEQ applies the EQ predicate on the "total_token_value" field.
func TotalTokenValueGT ¶
TotalTokenValueGT applies the GT predicate on the "total_token_value" field.
func TotalTokenValueGTE ¶
TotalTokenValueGTE applies the GTE predicate on the "total_token_value" field.
func TotalTokenValueIn ¶
TotalTokenValueIn applies the In predicate on the "total_token_value" field.
func TotalTokenValueLT ¶
TotalTokenValueLT applies the LT predicate on the "total_token_value" field.
func TotalTokenValueLTE ¶
TotalTokenValueLTE applies the LTE predicate on the "total_token_value" field.
func TotalTokenValueNEQ ¶
TotalTokenValueNEQ applies the NEQ predicate on the "total_token_value" field.
func TotalTokenValueNotIn ¶
TotalTokenValueNotIn applies the NotIn predicate on the "total_token_value" field.
func TrxAddrTypeEQ ¶
func TrxAddrTypeEQ(v TrxAddrType) predicate.User
TrxAddrTypeEQ applies the EQ predicate on the "trx_addr_type" field.
func TrxAddrTypeIn ¶
func TrxAddrTypeIn(vs ...TrxAddrType) predicate.User
TrxAddrTypeIn applies the In predicate on the "trx_addr_type" field.
func TrxAddrTypeIsNil ¶
TrxAddrTypeIsNil applies the IsNil predicate on the "trx_addr_type" field.
func TrxAddrTypeNEQ ¶
func TrxAddrTypeNEQ(v TrxAddrType) predicate.User
TrxAddrTypeNEQ applies the NEQ predicate on the "trx_addr_type" field.
func TrxAddrTypeNotIn ¶
func TrxAddrTypeNotIn(vs ...TrxAddrType) predicate.User
TrxAddrTypeNotIn applies the NotIn predicate on the "trx_addr_type" field.
func TrxAddrTypeNotNil ¶
TrxAddrTypeNotNil applies the NotNil predicate on the "trx_addr_type" field.
func TrxAddrTypeValidator ¶
func TrxAddrTypeValidator(tat TrxAddrType) error
TrxAddrTypeValidator is a validator for the "trx_addr_type" field enum values. It is called by the builders before save.
func TrxModeIsNil ¶
TrxModeIsNil applies the IsNil predicate on the "trx_mode" field.
func TrxModeNEQ ¶
TrxModeNEQ applies the NEQ predicate on the "trx_mode" field.
func TrxModeNotIn ¶
TrxModeNotIn applies the NotIn predicate on the "trx_mode" field.
func TrxModeNotNil ¶
TrxModeNotNil applies the NotNil predicate on the "trx_mode" field.
func TrxModeValidator ¶
TrxModeValidator is a validator for the "trx_mode" field enum values. It is called by the builders before save.
func TrxPrivAddr ¶
TrxPrivAddr applies equality check predicate on the "trx_priv_addr" field. It's identical to TrxPrivAddrEQ.
func TrxPrivAddrContains ¶
TrxPrivAddrContains applies the Contains predicate on the "trx_priv_addr" field.
func TrxPrivAddrContainsFold ¶
TrxPrivAddrContainsFold applies the ContainsFold predicate on the "trx_priv_addr" field.
func TrxPrivAddrEQ ¶
TrxPrivAddrEQ applies the EQ predicate on the "trx_priv_addr" field.
func TrxPrivAddrEqualFold ¶
TrxPrivAddrEqualFold applies the EqualFold predicate on the "trx_priv_addr" field.
func TrxPrivAddrGT ¶
TrxPrivAddrGT applies the GT predicate on the "trx_priv_addr" field.
func TrxPrivAddrGTE ¶
TrxPrivAddrGTE applies the GTE predicate on the "trx_priv_addr" field.
func TrxPrivAddrHasPrefix ¶
TrxPrivAddrHasPrefix applies the HasPrefix predicate on the "trx_priv_addr" field.
func TrxPrivAddrHasSuffix ¶
TrxPrivAddrHasSuffix applies the HasSuffix predicate on the "trx_priv_addr" field.
func TrxPrivAddrIn ¶
TrxPrivAddrIn applies the In predicate on the "trx_priv_addr" field.
func TrxPrivAddrIsNil ¶
TrxPrivAddrIsNil applies the IsNil predicate on the "trx_priv_addr" field.
func TrxPrivAddrLT ¶
TrxPrivAddrLT applies the LT predicate on the "trx_priv_addr" field.
func TrxPrivAddrLTE ¶
TrxPrivAddrLTE applies the LTE predicate on the "trx_priv_addr" field.
func TrxPrivAddrNEQ ¶
TrxPrivAddrNEQ applies the NEQ predicate on the "trx_priv_addr" field.
func TrxPrivAddrNotIn ¶
TrxPrivAddrNotIn applies the NotIn predicate on the "trx_priv_addr" field.
func TrxPrivAddrNotNil ¶
TrxPrivAddrNotNil applies the NotNil predicate on the "trx_priv_addr" field.
func TrxPrivPkey ¶
TrxPrivPkey applies equality check predicate on the "trx_priv_pkey" field. It's identical to TrxPrivPkeyEQ.
func TrxPrivPkeyContains ¶
TrxPrivPkeyContains applies the Contains predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyContainsFold ¶
TrxPrivPkeyContainsFold applies the ContainsFold predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyEQ ¶
TrxPrivPkeyEQ applies the EQ predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyEqualFold ¶
TrxPrivPkeyEqualFold applies the EqualFold predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyGT ¶
TrxPrivPkeyGT applies the GT predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyGTE ¶
TrxPrivPkeyGTE applies the GTE predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyHasPrefix ¶
TrxPrivPkeyHasPrefix applies the HasPrefix predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyHasSuffix ¶
TrxPrivPkeyHasSuffix applies the HasSuffix predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyIn ¶
TrxPrivPkeyIn applies the In predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyIsNil ¶
TrxPrivPkeyIsNil applies the IsNil predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyLT ¶
TrxPrivPkeyLT applies the LT predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyLTE ¶
TrxPrivPkeyLTE applies the LTE predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyNEQ ¶
TrxPrivPkeyNEQ applies the NEQ predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyNotIn ¶
TrxPrivPkeyNotIn applies the NotIn predicate on the "trx_priv_pkey" field.
func TrxPrivPkeyNotNil ¶
TrxPrivPkeyNotNil applies the NotNil predicate on the "trx_priv_pkey" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Words ¶
Words applies equality check predicate on the "words" field. It's identical to WordsEQ.
func WordsContains ¶
WordsContains applies the Contains predicate on the "words" field.
func WordsContainsFold ¶
WordsContainsFold applies the ContainsFold predicate on the "words" field.
func WordsEqualFold ¶
WordsEqualFold applies the EqualFold predicate on the "words" field.
func WordsHasPrefix ¶
WordsHasPrefix applies the HasPrefix predicate on the "words" field.
func WordsHasSuffix ¶
WordsHasSuffix applies the HasSuffix predicate on the "words" field.
func WordsIsNil ¶
WordsIsNil applies the IsNil predicate on the "words" field.
func WordsNotIn ¶
WordsNotIn applies the NotIn predicate on the "words" field.
func WordsNotNil ¶
WordsNotNil applies the NotNil predicate on the "words" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the User queries.
func ByAddress ¶
func ByAddress(opts ...sql.OrderTermOption) OrderOption
ByAddress orders the results by the address field.
func ByAesType ¶
func ByAesType(opts ...sql.OrderTermOption) OrderOption
ByAesType orders the results by the aes_type field.
func ByBalance ¶
func ByBalance(opts ...sql.OrderTermOption) OrderOption
ByBalance orders the results by the balance field.
func ByBalanceUpdateTime ¶
func ByBalanceUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByBalanceUpdateTime orders the results by the balance_update_time field.
func ByCreateDate ¶
func ByCreateDate(opts ...sql.OrderTermOption) OrderOption
ByCreateDate orders the results by the create_date field.
func ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsTransfer ¶
func ByIsTransfer(opts ...sql.OrderTermOption) OrderOption
ByIsTransfer orders the results by the is_transfer field.
func ByNetwork ¶
func ByNetwork(opts ...sql.OrderTermOption) OrderOption
ByNetwork orders the results by the network field.
func ByPrivateKey ¶
func ByPrivateKey(opts ...sql.OrderTermOption) OrderOption
ByPrivateKey orders the results by the private_key field.
func ByTotalTokenValue ¶
func ByTotalTokenValue(opts ...sql.OrderTermOption) OrderOption
ByTotalTokenValue orders the results by the total_token_value field.
func ByTrxAddrType ¶
func ByTrxAddrType(opts ...sql.OrderTermOption) OrderOption
ByTrxAddrType orders the results by the trx_addr_type field.
func ByTrxMode ¶
func ByTrxMode(opts ...sql.OrderTermOption) OrderOption
ByTrxMode orders the results by the trx_mode field.
func ByTrxPrivAddr ¶
func ByTrxPrivAddr(opts ...sql.OrderTermOption) OrderOption
ByTrxPrivAddr orders the results by the trx_priv_addr field.
func ByTrxPrivPkey ¶
func ByTrxPrivPkey(opts ...sql.OrderTermOption) OrderOption
ByTrxPrivPkey orders the results by the trx_priv_pkey field.
func ByWords ¶
func ByWords(opts ...sql.OrderTermOption) OrderOption
ByWords orders the results by the words field.
type TrxAddrType ¶
type TrxAddrType string
TrxAddrType defines the type for the "trx_addr_type" enum field.
const ( TrxAddrTypeSingle TrxAddrType = "single" TrxAddrTypeMulti TrxAddrType = "multi" )
TrxAddrType values.
func (TrxAddrType) String ¶
func (tat TrxAddrType) String() string