Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Balance) predicate.Balance
- func Balance(v big.Int) predicate.Balance
- func BalanceEQ(v big.Int) predicate.Balance
- func BalanceGT(v big.Int) predicate.Balance
- func BalanceGTE(v big.Int) predicate.Balance
- func BalanceIn(vs ...big.Int) predicate.Balance
- func BalanceLT(v big.Int) predicate.Balance
- func BalanceLTE(v big.Int) predicate.Balance
- func BalanceNEQ(v big.Int) predicate.Balance
- func BalanceNotIn(vs ...big.Int) predicate.Balance
- func HasAccount() predicate.Balance
- func HasAccountWith(preds ...predicate.Contract) predicate.Balance
- func HasContract() predicate.Balance
- func HasContractWith(preds ...predicate.Contract) predicate.Balance
- func ID(id string) predicate.Balance
- func IDEQ(id string) predicate.Balance
- func IDGT(id string) predicate.Balance
- func IDGTE(id string) predicate.Balance
- func IDIn(ids ...string) predicate.Balance
- func IDLT(id string) predicate.Balance
- func IDLTE(id string) predicate.Balance
- func IDNEQ(id string) predicate.Balance
- func IDNotIn(ids ...string) predicate.Balance
- func Not(p predicate.Balance) predicate.Balance
- func Or(predicates ...predicate.Balance) predicate.Balance
- func TokenId(v big.Int) predicate.Balance
- func TokenIdEQ(v big.Int) predicate.Balance
- func TokenIdGT(v big.Int) predicate.Balance
- func TokenIdGTE(v big.Int) predicate.Balance
- func TokenIdIn(vs ...big.Int) predicate.Balance
- func TokenIdIsNil() predicate.Balance
- func TokenIdLT(v big.Int) predicate.Balance
- func TokenIdLTE(v big.Int) predicate.Balance
- func TokenIdNEQ(v big.Int) predicate.Balance
- func TokenIdNotIn(vs ...big.Int) predicate.Balance
- func TokenIdNotNil() predicate.Balance
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the balance type in the database. Label = "balance" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTokenId holds the string denoting the tokenid field in the database. FieldTokenId = "token_id" // FieldBalance holds the string denoting the balance field in the database. FieldBalance = "balance" // EdgeAccount holds the string denoting the account edge name in mutations. EdgeAccount = "account" // EdgeContract holds the string denoting the contract edge name in mutations. EdgeContract = "contract" // Table holds the table name of the balance in the database. Table = "balances" // AccountTable is the table that holds the account relation/edge. AccountTable = "balances" // AccountInverseTable is the table name for the Contract entity. // It exists in this package in order to avoid circular dependency with the "contract" package. AccountInverseTable = "contracts" // AccountColumn is the table column denoting the account relation/edge. AccountColumn = "balance_account" // ContractTable is the table that holds the contract relation/edge. ContractTable = "balances" // ContractInverseTable is the table name for the Contract entity. // It exists in this package in order to avoid circular dependency with the "contract" package. ContractInverseTable = "contracts" // ContractColumn is the table column denoting the contract relation/edge. ContractColumn = "balance_contract" )
Variables ¶
var ( // DefaultTokenId holds the default value on creation for the "tokenId" field. DefaultTokenId func() big.Int // DefaultBalance holds the default value on creation for the "balance" field. DefaultBalance func() big.Int )
var Columns = []string{ FieldID, FieldTokenId, FieldBalance, }
Columns holds all SQL columns for balance fields.
var ForeignKeys = []string{
"balance_account",
"balance_contract",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "balances" table and are not defined as standalone fields in the schema.
Functions ¶
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 HasAccount ¶
HasAccount applies the HasEdge predicate on the "account" edge.
func HasAccountWith ¶
HasAccountWith applies the HasEdge predicate on the "account" edge with a given conditions (other predicates).
func HasContract ¶
HasContract applies the HasEdge predicate on the "contract" edge.
func HasContractWith ¶
HasContractWith applies the HasEdge predicate on the "contract" edge with a given conditions (other predicates).
func TokenId ¶
TokenId applies equality check predicate on the "tokenId" field. It's identical to TokenIdEQ.
func TokenIdGTE ¶
TokenIdGTE applies the GTE predicate on the "tokenId" field.
func TokenIdIsNil ¶
TokenIdIsNil applies the IsNil predicate on the "tokenId" field.
func TokenIdLTE ¶
TokenIdLTE applies the LTE predicate on the "tokenId" field.
func TokenIdNEQ ¶
TokenIdNEQ applies the NEQ predicate on the "tokenId" field.
func TokenIdNotIn ¶
TokenIdNotIn applies the NotIn predicate on the "tokenId" field.
func TokenIdNotNil ¶
TokenIdNotNil applies the NotNil predicate on the "tokenId" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.