Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Wallet) predicate.Wallet
- func CreatedAt(v time.Time) predicate.Wallet
- func CreatedAtEQ(v time.Time) predicate.Wallet
- func CreatedAtGT(v time.Time) predicate.Wallet
- func CreatedAtGTE(v time.Time) predicate.Wallet
- func CreatedAtIn(vs ...time.Time) predicate.Wallet
- func CreatedAtLT(v time.Time) predicate.Wallet
- func CreatedAtLTE(v time.Time) predicate.Wallet
- func CreatedAtNEQ(v time.Time) predicate.Wallet
- func CreatedAtNotIn(vs ...time.Time) predicate.Wallet
- func HasDopes() predicate.Wallet
- func HasDopesWith(preds ...predicate.Dope) predicate.Wallet
- func HasHustlers() predicate.Wallet
- func HasHustlersWith(preds ...predicate.Hustler) predicate.Wallet
- func HasItems() predicate.Wallet
- func HasItemsWith(preds ...predicate.WalletItems) predicate.Wallet
- func ID(id string) predicate.Wallet
- func IDEQ(id string) predicate.Wallet
- func IDGT(id string) predicate.Wallet
- func IDGTE(id string) predicate.Wallet
- func IDIn(ids ...string) predicate.Wallet
- func IDLT(id string) predicate.Wallet
- func IDLTE(id string) predicate.Wallet
- func IDNEQ(id string) predicate.Wallet
- func IDNotIn(ids ...string) predicate.Wallet
- func Not(p predicate.Wallet) predicate.Wallet
- func Or(predicates ...predicate.Wallet) predicate.Wallet
- func Paper(v schema.BigInt) predicate.Wallet
- func PaperEQ(v schema.BigInt) predicate.Wallet
- func PaperGT(v schema.BigInt) predicate.Wallet
- func PaperGTE(v schema.BigInt) predicate.Wallet
- func PaperIn(vs ...schema.BigInt) predicate.Wallet
- func PaperLT(v schema.BigInt) predicate.Wallet
- func PaperLTE(v schema.BigInt) predicate.Wallet
- func PaperNEQ(v schema.BigInt) predicate.Wallet
- func PaperNotIn(vs ...schema.BigInt) predicate.Wallet
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the wallet type in the database. Label = "wallet" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPaper holds the string denoting the paper field in the database. FieldPaper = "paper" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeDopes holds the string denoting the dopes edge name in mutations. EdgeDopes = "dopes" // EdgeItems holds the string denoting the items edge name in mutations. EdgeItems = "items" // EdgeHustlers holds the string denoting the hustlers edge name in mutations. EdgeHustlers = "hustlers" // Table holds the table name of the wallet in the database. Table = "wallets" // DopesTable is the table that holds the dopes relation/edge. DopesTable = "dopes" // DopesInverseTable is the table name for the Dope entity. // It exists in this package in order to avoid circular dependency with the "dope" package. DopesInverseTable = "dopes" // DopesColumn is the table column denoting the dopes relation/edge. DopesColumn = "wallet_dopes" // ItemsTable is the table that holds the items relation/edge. ItemsTable = "wallet_items" // ItemsInverseTable is the table name for the WalletItems entity. // It exists in this package in order to avoid circular dependency with the "walletitems" package. ItemsInverseTable = "wallet_items" // ItemsColumn is the table column denoting the items relation/edge. ItemsColumn = "wallet_items" // HustlersTable is the table that holds the hustlers relation/edge. HustlersTable = "hustlers" // HustlersInverseTable is the table name for the Hustler entity. // It exists in this package in order to avoid circular dependency with the "hustler" package. HustlersInverseTable = "hustlers" // HustlersColumn is the table column denoting the hustlers relation/edge. HustlersColumn = "wallet_hustlers" )
Variables ¶
var ( // DefaultPaper holds the default value on creation for the "paper" field. DefaultPaper func() schema.BigInt // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var Columns = []string{ FieldID, FieldPaper, FieldCreatedAt, }
Columns holds all SQL columns for wallet fields.
Functions ¶
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 HasDopesWith ¶
HasDopesWith applies the HasEdge predicate on the "dopes" edge with a given conditions (other predicates).
func HasHustlers ¶
HasHustlers applies the HasEdge predicate on the "hustlers" edge.
func HasHustlersWith ¶
HasHustlersWith applies the HasEdge predicate on the "hustlers" edge with a given conditions (other predicates).
func HasItemsWith ¶
func HasItemsWith(preds ...predicate.WalletItems) predicate.Wallet
HasItemsWith applies the HasEdge predicate on the "items" edge with a given conditions (other predicates).
func Paper ¶
Paper applies equality check predicate on the "paper" field. It's identical to PaperEQ.
func PaperNotIn ¶
PaperNotIn applies the NotIn predicate on the "paper" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.