walletitems

package
v0.0.0-...-3befcbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
var Columns = []string{
	FieldID,
	FieldBalance,
}

Columns holds all SQL columns for walletitems fields.

View Source
var (
	// DefaultBalance holds the default value on creation for the "balance" field.
	DefaultBalance func() schema.BigInt
)
View Source
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

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 ID

ID filters vertices based on their ID field.

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

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL