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 Encrypted(v bool) predicate.Wallet
- func EncryptedEQ(v bool) predicate.Wallet
- func EncryptedNEQ(v bool) predicate.Wallet
- func HasAccounts() predicate.Wallet
- func HasAccountsWith(preds ...predicate.Account) predicate.Wallet
- func ID(id uuid.UUID) predicate.Wallet
- func IDEQ(id uuid.UUID) predicate.Wallet
- func IDGT(id uuid.UUID) predicate.Wallet
- func IDGTE(id uuid.UUID) predicate.Wallet
- func IDIn(ids ...uuid.UUID) predicate.Wallet
- func IDLT(id uuid.UUID) predicate.Wallet
- func IDLTE(id uuid.UUID) predicate.Wallet
- func IDNEQ(id uuid.UUID) predicate.Wallet
- func IDNotIn(ids ...uuid.UUID) predicate.Wallet
- func Not(p predicate.Wallet) predicate.Wallet
- func Or(predicates ...predicate.Wallet) predicate.Wallet
- func Representative(v string) predicate.Wallet
- func RepresentativeContains(v string) predicate.Wallet
- func RepresentativeContainsFold(v string) predicate.Wallet
- func RepresentativeEQ(v string) predicate.Wallet
- func RepresentativeEqualFold(v string) predicate.Wallet
- func RepresentativeGT(v string) predicate.Wallet
- func RepresentativeGTE(v string) predicate.Wallet
- func RepresentativeHasPrefix(v string) predicate.Wallet
- func RepresentativeHasSuffix(v string) predicate.Wallet
- func RepresentativeIn(vs ...string) predicate.Wallet
- func RepresentativeIsNil() predicate.Wallet
- func RepresentativeLT(v string) predicate.Wallet
- func RepresentativeLTE(v string) predicate.Wallet
- func RepresentativeNEQ(v string) predicate.Wallet
- func RepresentativeNotIn(vs ...string) predicate.Wallet
- func RepresentativeNotNil() predicate.Wallet
- func Seed(v string) predicate.Wallet
- func SeedContains(v string) predicate.Wallet
- func SeedContainsFold(v string) predicate.Wallet
- func SeedEQ(v string) predicate.Wallet
- func SeedEqualFold(v string) predicate.Wallet
- func SeedGT(v string) predicate.Wallet
- func SeedGTE(v string) predicate.Wallet
- func SeedHasPrefix(v string) predicate.Wallet
- func SeedHasSuffix(v string) predicate.Wallet
- func SeedIn(vs ...string) predicate.Wallet
- func SeedLT(v string) predicate.Wallet
- func SeedLTE(v string) predicate.Wallet
- func SeedNEQ(v string) predicate.Wallet
- func SeedNotIn(vs ...string) predicate.Wallet
- func ValidColumn(column string) bool
- func Work(v bool) predicate.Wallet
- func WorkEQ(v bool) predicate.Wallet
- func WorkNEQ(v bool) predicate.Wallet
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" // FieldSeed holds the string denoting the seed field in the database. FieldSeed = "seed" // FieldRepresentative holds the string denoting the representative field in the database. FieldRepresentative = "representative" // FieldEncrypted holds the string denoting the encrypted field in the database. FieldEncrypted = "encrypted" // 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" // EdgeAccounts holds the string denoting the accounts edge name in mutations. EdgeAccounts = "accounts" // Table holds the table name of the wallet in the database. Table = "wallets" // AccountsTable is the table that holds the accounts relation/edge. AccountsTable = "accounts" // AccountsInverseTable is the table name for the Account entity. // It exists in this package in order to avoid circular dependency with the "account" package. AccountsInverseTable = "accounts" // AccountsColumn is the table column denoting the accounts relation/edge. AccountsColumn = "wallet_id" )
Variables ¶
var ( // SeedValidator is a validator for the "seed" field. It is called by the builders before save. SeedValidator func(string) error // RepresentativeValidator is a validator for the "representative" field. It is called by the builders before save. RepresentativeValidator func(string) error // DefaultEncrypted holds the default value on creation for the "encrypted" field. DefaultEncrypted bool // 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, FieldSeed, FieldRepresentative, FieldEncrypted, FieldWork, 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 Encrypted ¶
Encrypted applies equality check predicate on the "encrypted" field. It's identical to EncryptedEQ.
func EncryptedEQ ¶
EncryptedEQ applies the EQ predicate on the "encrypted" field.
func EncryptedNEQ ¶
EncryptedNEQ applies the NEQ predicate on the "encrypted" field.
func HasAccounts ¶
HasAccounts applies the HasEdge predicate on the "accounts" edge.
func HasAccountsWith ¶
HasAccountsWith applies the HasEdge predicate on the "accounts" edge with a given conditions (other predicates).
func Representative ¶
Representative applies equality check predicate on the "representative" field. It's identical to RepresentativeEQ.
func RepresentativeContains ¶
RepresentativeContains applies the Contains predicate on the "representative" field.
func RepresentativeContainsFold ¶
RepresentativeContainsFold applies the ContainsFold predicate on the "representative" field.
func RepresentativeEQ ¶
RepresentativeEQ applies the EQ predicate on the "representative" field.
func RepresentativeEqualFold ¶
RepresentativeEqualFold applies the EqualFold predicate on the "representative" field.
func RepresentativeGT ¶
RepresentativeGT applies the GT predicate on the "representative" field.
func RepresentativeGTE ¶
RepresentativeGTE applies the GTE predicate on the "representative" field.
func RepresentativeHasPrefix ¶
RepresentativeHasPrefix applies the HasPrefix predicate on the "representative" field.
func RepresentativeHasSuffix ¶
RepresentativeHasSuffix applies the HasSuffix predicate on the "representative" field.
func RepresentativeIn ¶
RepresentativeIn applies the In predicate on the "representative" field.
func RepresentativeIsNil ¶
RepresentativeIsNil applies the IsNil predicate on the "representative" field.
func RepresentativeLT ¶
RepresentativeLT applies the LT predicate on the "representative" field.
func RepresentativeLTE ¶
RepresentativeLTE applies the LTE predicate on the "representative" field.
func RepresentativeNEQ ¶
RepresentativeNEQ applies the NEQ predicate on the "representative" field.
func RepresentativeNotIn ¶
RepresentativeNotIn applies the NotIn predicate on the "representative" field.
func RepresentativeNotNil ¶
RepresentativeNotNil applies the NotNil predicate on the "representative" field.
func SeedContains ¶
SeedContains applies the Contains predicate on the "seed" field.
func SeedContainsFold ¶
SeedContainsFold applies the ContainsFold predicate on the "seed" field.
func SeedEqualFold ¶
SeedEqualFold applies the EqualFold predicate on the "seed" field.
func SeedHasPrefix ¶
SeedHasPrefix applies the HasPrefix predicate on the "seed" field.
func SeedHasSuffix ¶
SeedHasSuffix applies the HasSuffix predicate on the "seed" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.