Documentation ¶
Index ¶
- Constants
- Variables
- func AccountIndex(v int) predicate.Account
- func AccountIndexEQ(v int) predicate.Account
- func AccountIndexGT(v int) predicate.Account
- func AccountIndexGTE(v int) predicate.Account
- func AccountIndexIn(vs ...int) predicate.Account
- func AccountIndexIsNil() predicate.Account
- func AccountIndexLT(v int) predicate.Account
- func AccountIndexLTE(v int) predicate.Account
- func AccountIndexNEQ(v int) predicate.Account
- func AccountIndexNotIn(vs ...int) predicate.Account
- func AccountIndexNotNil() predicate.Account
- func Address(v string) predicate.Account
- func AddressContains(v string) predicate.Account
- func AddressContainsFold(v string) predicate.Account
- func AddressEQ(v string) predicate.Account
- func AddressEqualFold(v string) predicate.Account
- func AddressGT(v string) predicate.Account
- func AddressGTE(v string) predicate.Account
- func AddressHasPrefix(v string) predicate.Account
- func AddressHasSuffix(v string) predicate.Account
- func AddressIn(vs ...string) predicate.Account
- func AddressLT(v string) predicate.Account
- func AddressLTE(v string) predicate.Account
- func AddressNEQ(v string) predicate.Account
- func AddressNotIn(vs ...string) predicate.Account
- func And(predicates ...predicate.Account) predicate.Account
- func CreatedAt(v time.Time) predicate.Account
- func CreatedAtEQ(v time.Time) predicate.Account
- func CreatedAtGT(v time.Time) predicate.Account
- func CreatedAtGTE(v time.Time) predicate.Account
- func CreatedAtIn(vs ...time.Time) predicate.Account
- func CreatedAtLT(v time.Time) predicate.Account
- func CreatedAtLTE(v time.Time) predicate.Account
- func CreatedAtNEQ(v time.Time) predicate.Account
- func CreatedAtNotIn(vs ...time.Time) predicate.Account
- func HasBlocks() predicate.Account
- func HasBlocksWith(preds ...predicate.Block) predicate.Account
- func HasWallet() predicate.Account
- func HasWalletWith(preds ...predicate.Wallet) predicate.Account
- func ID(id uuid.UUID) predicate.Account
- func IDEQ(id uuid.UUID) predicate.Account
- func IDGT(id uuid.UUID) predicate.Account
- func IDGTE(id uuid.UUID) predicate.Account
- func IDIn(ids ...uuid.UUID) predicate.Account
- func IDLT(id uuid.UUID) predicate.Account
- func IDLTE(id uuid.UUID) predicate.Account
- func IDNEQ(id uuid.UUID) predicate.Account
- func IDNotIn(ids ...uuid.UUID) predicate.Account
- func Not(p predicate.Account) predicate.Account
- func Or(predicates ...predicate.Account) predicate.Account
- func PrivateKey(v string) predicate.Account
- func PrivateKeyContains(v string) predicate.Account
- func PrivateKeyContainsFold(v string) predicate.Account
- func PrivateKeyEQ(v string) predicate.Account
- func PrivateKeyEqualFold(v string) predicate.Account
- func PrivateKeyGT(v string) predicate.Account
- func PrivateKeyGTE(v string) predicate.Account
- func PrivateKeyHasPrefix(v string) predicate.Account
- func PrivateKeyHasSuffix(v string) predicate.Account
- func PrivateKeyIn(vs ...string) predicate.Account
- func PrivateKeyIsNil() predicate.Account
- func PrivateKeyLT(v string) predicate.Account
- func PrivateKeyLTE(v string) predicate.Account
- func PrivateKeyNEQ(v string) predicate.Account
- func PrivateKeyNotIn(vs ...string) predicate.Account
- func PrivateKeyNotNil() predicate.Account
- func ValidColumn(column string) bool
- func WalletID(v uuid.UUID) predicate.Account
- func WalletIDEQ(v uuid.UUID) predicate.Account
- func WalletIDIn(vs ...uuid.UUID) predicate.Account
- func WalletIDNEQ(v uuid.UUID) predicate.Account
- func WalletIDNotIn(vs ...uuid.UUID) predicate.Account
- func Work(v bool) predicate.Account
- func WorkEQ(v bool) predicate.Account
- func WorkNEQ(v bool) predicate.Account
Constants ¶
const ( // Label holds the string label denoting the account type in the database. Label = "account" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldWalletID holds the string denoting the wallet_id field in the database. FieldWalletID = "wallet_id" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // FieldAccountIndex holds the string denoting the account_index field in the database. FieldAccountIndex = "account_index" // FieldPrivateKey holds the string denoting the private_key field in the database. FieldPrivateKey = "private_key" // FieldWork holds the string denoting the work field in the database. FieldWork = "work" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeWallet holds the string denoting the wallet edge name in mutations. EdgeWallet = "wallet" // EdgeBlocks holds the string denoting the blocks edge name in mutations. EdgeBlocks = "blocks" // Table holds the table name of the account in the database. Table = "accounts" // WalletTable is the table that holds the wallet relation/edge. WalletTable = "accounts" // WalletInverseTable is the table name for the Wallet entity. // It exists in this package in order to avoid circular dependency with the "wallet" package. WalletInverseTable = "wallets" // WalletColumn is the table column denoting the wallet relation/edge. WalletColumn = "wallet_id" // BlocksTable is the table that holds the blocks relation/edge. BlocksTable = "blocks" // BlocksInverseTable is the table name for the Block entity. // It exists in this package in order to avoid circular dependency with the "block" package. BlocksInverseTable = "blocks" // BlocksColumn is the table column denoting the blocks relation/edge. BlocksColumn = "account_id" )
Variables ¶
var ( // AddressValidator is a validator for the "address" field. It is called by the builders before save. AddressValidator func(string) error // PrivateKeyValidator is a validator for the "private_key" field. It is called by the builders before save. PrivateKeyValidator func(string) error // DefaultWork holds the default value on creation for the "work" field. DefaultWork bool // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldWalletID, FieldAddress, FieldAccountIndex, FieldPrivateKey, FieldWork, FieldCreatedAt, }
Columns holds all SQL columns for account fields.
Functions ¶
func AccountIndex ¶
AccountIndex applies equality check predicate on the "account_index" field. It's identical to AccountIndexEQ.
func AccountIndexEQ ¶
AccountIndexEQ applies the EQ predicate on the "account_index" field.
func AccountIndexGT ¶
AccountIndexGT applies the GT predicate on the "account_index" field.
func AccountIndexGTE ¶
AccountIndexGTE applies the GTE predicate on the "account_index" field.
func AccountIndexIn ¶
AccountIndexIn applies the In predicate on the "account_index" field.
func AccountIndexIsNil ¶
AccountIndexIsNil applies the IsNil predicate on the "account_index" field.
func AccountIndexLT ¶
AccountIndexLT applies the LT predicate on the "account_index" field.
func AccountIndexLTE ¶
AccountIndexLTE applies the LTE predicate on the "account_index" field.
func AccountIndexNEQ ¶
AccountIndexNEQ applies the NEQ predicate on the "account_index" field.
func AccountIndexNotIn ¶
AccountIndexNotIn applies the NotIn predicate on the "account_index" field.
func AccountIndexNotNil ¶
AccountIndexNotNil applies the NotNil predicate on the "account_index" field.
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 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 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 HasBlocksWith ¶
HasBlocksWith applies the HasEdge predicate on the "blocks" edge with a given conditions (other predicates).
func HasWalletWith ¶
HasWalletWith applies the HasEdge predicate on the "wallet" edge with a given conditions (other predicates).
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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WalletID ¶
WalletID applies equality check predicate on the "wallet_id" field. It's identical to WalletIDEQ.
func WalletIDEQ ¶
WalletIDEQ applies the EQ predicate on the "wallet_id" field.
func WalletIDIn ¶
WalletIDIn applies the In predicate on the "wallet_id" field.
func WalletIDNEQ ¶
WalletIDNEQ applies the NEQ predicate on the "wallet_id" field.
func WalletIDNotIn ¶
WalletIDNotIn applies the NotIn predicate on the "wallet_id" field.
Types ¶
This section is empty.