Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WalletItems) predicate.WalletItems
- func Balance(v schema.BigInt) predicate.WalletItems
- func BalanceEQ(v schema.BigInt) predicate.WalletItems
- func BalanceGT(v schema.BigInt) predicate.WalletItems
- func BalanceGTE(v schema.BigInt) predicate.WalletItems
- func BalanceIn(vs ...schema.BigInt) predicate.WalletItems
- func BalanceLT(v schema.BigInt) predicate.WalletItems
- func BalanceLTE(v schema.BigInt) predicate.WalletItems
- func BalanceNEQ(v schema.BigInt) predicate.WalletItems
- func BalanceNotIn(vs ...schema.BigInt) predicate.WalletItems
- func HasItem() predicate.WalletItems
- func HasItemWith(preds ...predicate.Item) predicate.WalletItems
- func HasWallet() predicate.WalletItems
- func HasWalletWith(preds ...predicate.Wallet) predicate.WalletItems
- func ID(id string) predicate.WalletItems
- func IDEQ(id string) predicate.WalletItems
- func IDGT(id string) predicate.WalletItems
- func IDGTE(id string) predicate.WalletItems
- func IDIn(ids ...string) predicate.WalletItems
- func IDLT(id string) predicate.WalletItems
- func IDLTE(id string) predicate.WalletItems
- func IDNEQ(id string) predicate.WalletItems
- func IDNotIn(ids ...string) predicate.WalletItems
- func Not(p predicate.WalletItems) predicate.WalletItems
- func Or(predicates ...predicate.WalletItems) predicate.WalletItems
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the walletitems type in the database. Label = "wallet_items" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldBalance holds the string denoting the balance field in the database. FieldBalance = "balance" // EdgeWallet holds the string denoting the wallet edge name in mutations. EdgeWallet = "wallet" // EdgeItem holds the string denoting the item edge name in mutations. EdgeItem = "item" // Table holds the table name of the walletitems in the database. Table = "wallet_items" // WalletTable is the table that holds the wallet relation/edge. WalletTable = "wallet_items" // 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_items" // ItemTable is the table that holds the item relation/edge. ItemTable = "wallet_items" // ItemInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. ItemInverseTable = "items" // ItemColumn is the table column denoting the item relation/edge. ItemColumn = "item_wallets" )
Variables ¶
var Columns = []string{ FieldID, FieldBalance, }
Columns holds all SQL columns for walletitems fields.
var ( // DefaultBalance holds the default value on creation for the "balance" field. DefaultBalance func() schema.BigInt )
var ForeignKeys = []string{
"item_wallets",
"wallet_items",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "wallet_items" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.WalletItems) predicate.WalletItems
And groups predicates with the AND operator between them.
func Balance ¶
func Balance(v schema.BigInt) predicate.WalletItems
Balance applies equality check predicate on the "balance" field. It's identical to BalanceEQ.
func BalanceEQ ¶
func BalanceEQ(v schema.BigInt) predicate.WalletItems
BalanceEQ applies the EQ predicate on the "balance" field.
func BalanceGT ¶
func BalanceGT(v schema.BigInt) predicate.WalletItems
BalanceGT applies the GT predicate on the "balance" field.
func BalanceGTE ¶
func BalanceGTE(v schema.BigInt) predicate.WalletItems
BalanceGTE applies the GTE predicate on the "balance" field.
func BalanceIn ¶
func BalanceIn(vs ...schema.BigInt) predicate.WalletItems
BalanceIn applies the In predicate on the "balance" field.
func BalanceLT ¶
func BalanceLT(v schema.BigInt) predicate.WalletItems
BalanceLT applies the LT predicate on the "balance" field.
func BalanceLTE ¶
func BalanceLTE(v schema.BigInt) predicate.WalletItems
BalanceLTE applies the LTE predicate on the "balance" field.
func BalanceNEQ ¶
func BalanceNEQ(v schema.BigInt) predicate.WalletItems
BalanceNEQ applies the NEQ predicate on the "balance" field.
func BalanceNotIn ¶
func BalanceNotIn(vs ...schema.BigInt) predicate.WalletItems
BalanceNotIn applies the NotIn predicate on the "balance" field.
func HasItem ¶
func HasItem() predicate.WalletItems
HasItem applies the HasEdge predicate on the "item" edge.
func HasItemWith ¶
func HasItemWith(preds ...predicate.Item) predicate.WalletItems
HasItemWith applies the HasEdge predicate on the "item" edge with a given conditions (other predicates).
func HasWallet ¶
func HasWallet() predicate.WalletItems
HasWallet applies the HasEdge predicate on the "wallet" edge.
func HasWalletWith ¶
func HasWalletWith(preds ...predicate.Wallet) predicate.WalletItems
HasWalletWith applies the HasEdge predicate on the "wallet" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id string) predicate.WalletItems
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.WalletItems
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.WalletItems
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.WalletItems
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.WalletItems
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.WalletItems
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.WalletItems
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.WalletItems
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.WalletItems) predicate.WalletItems
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.WalletItems) predicate.WalletItems
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.