Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Account) predicate.Account
- func Did(v string) predicate.Account
- func DidContains(v string) predicate.Account
- func DidContainsFold(v string) predicate.Account
- func DidEQ(v string) predicate.Account
- func DidEqualFold(v string) predicate.Account
- func DidGT(v string) predicate.Account
- func DidGTE(v string) predicate.Account
- func DidHasPrefix(v string) predicate.Account
- func DidHasSuffix(v string) predicate.Account
- func DidIn(vs ...string) predicate.Account
- func DidLT(v string) predicate.Account
- func DidLTE(v string) predicate.Account
- func DidNEQ(v string) predicate.Account
- func DidNotIn(vs ...string) predicate.Account
- func Email(v string) predicate.Account
- func EmailContains(v string) predicate.Account
- func EmailContainsFold(v string) predicate.Account
- func EmailEQ(v string) predicate.Account
- func EmailEqualFold(v string) predicate.Account
- func EmailGT(v string) predicate.Account
- func EmailGTE(v string) predicate.Account
- func EmailHasPrefix(v string) predicate.Account
- func EmailHasSuffix(v string) predicate.Account
- func EmailIn(vs ...string) predicate.Account
- func EmailIsNil() predicate.Account
- func EmailLT(v string) predicate.Account
- func EmailLTE(v string) predicate.Account
- func EmailNEQ(v string) predicate.Account
- func EmailNotIn(vs ...string) predicate.Account
- func EmailNotNil() predicate.Account
- func HasAccessKeys() predicate.Account
- func HasAccessKeysWith(preds ...predicate.AccessKey) predicate.Account
- func HasIdentities() predicate.Account
- func HasIdentitiesWith(preds ...predicate.Identity) predicate.Account
- func HasLockers() predicate.Account
- func HasLockersWith(preds ...predicate.Locker) predicate.Account
- func HasProperties() predicate.Account
- func HasPropertiesWith(preds ...predicate.Property) predicate.Account
- func HasRecoveryCodes() predicate.Account
- func HasRecoveryCodesWith(preds ...predicate.RecoveryCode) predicate.Account
- func ID(id int) predicate.Account
- func IDEQ(id int) predicate.Account
- func IDGT(id int) predicate.Account
- func IDGTE(id int) predicate.Account
- func IDIn(ids ...int) predicate.Account
- func IDLT(id int) predicate.Account
- func IDLTE(id int) predicate.Account
- func IDNEQ(id int) predicate.Account
- func IDNotIn(ids ...int) predicate.Account
- func Not(p predicate.Account) predicate.Account
- func Or(predicates ...predicate.Account) predicate.Account
- func ParentAccount(v string) predicate.Account
- func ParentAccountContains(v string) predicate.Account
- func ParentAccountContainsFold(v string) predicate.Account
- func ParentAccountEQ(v string) predicate.Account
- func ParentAccountEqualFold(v string) predicate.Account
- func ParentAccountGT(v string) predicate.Account
- func ParentAccountGTE(v string) predicate.Account
- func ParentAccountHasPrefix(v string) predicate.Account
- func ParentAccountHasSuffix(v string) predicate.Account
- func ParentAccountIn(vs ...string) predicate.Account
- func ParentAccountIsNil() predicate.Account
- func ParentAccountLT(v string) predicate.Account
- func ParentAccountLTE(v string) predicate.Account
- func ParentAccountNEQ(v string) predicate.Account
- func ParentAccountNotIn(vs ...string) predicate.Account
- func ParentAccountNotNil() predicate.Account
- func State(v string) predicate.Account
- func StateContains(v string) predicate.Account
- func StateContainsFold(v string) predicate.Account
- func StateEQ(v string) predicate.Account
- func StateEqualFold(v string) predicate.Account
- func StateGT(v string) predicate.Account
- func StateGTE(v string) predicate.Account
- func StateHasPrefix(v string) predicate.Account
- func StateHasSuffix(v string) predicate.Account
- func StateIn(vs ...string) predicate.Account
- func StateLT(v string) predicate.Account
- func StateLTE(v string) predicate.Account
- func StateNEQ(v string) predicate.Account
- func StateNotIn(vs ...string) predicate.Account
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the account type in the database. Label = "account" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDid holds the string denoting the did field in the database. FieldDid = "did" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldParentAccount holds the string denoting the parent_account field in the database. FieldParentAccount = "parent_account" // FieldBody holds the string denoting the body field in the database. FieldBody = "body" // EdgeRecoveryCodes holds the string denoting the recovery_codes edge name in mutations. EdgeRecoveryCodes = "recovery_codes" // EdgeAccessKeys holds the string denoting the access_keys edge name in mutations. EdgeAccessKeys = "access_keys" // EdgeIdentities holds the string denoting the identities edge name in mutations. EdgeIdentities = "identities" // EdgeLockers holds the string denoting the lockers edge name in mutations. EdgeLockers = "lockers" // EdgeProperties holds the string denoting the properties edge name in mutations. EdgeProperties = "properties" // Table holds the table name of the account in the database. Table = "accounts" // RecoveryCodesTable is the table that holds the recovery_codes relation/edge. RecoveryCodesTable = "recovery_codes" // RecoveryCodesInverseTable is the table name for the RecoveryCode entity. // It exists in this package in order to avoid circular dependency with the "recoverycode" package. RecoveryCodesInverseTable = "recovery_codes" // RecoveryCodesColumn is the table column denoting the recovery_codes relation/edge. RecoveryCodesColumn = "account" // AccessKeysTable is the table that holds the access_keys relation/edge. AccessKeysTable = "access_keys" // AccessKeysInverseTable is the table name for the AccessKey entity. // It exists in this package in order to avoid circular dependency with the "accesskey" package. AccessKeysInverseTable = "access_keys" // AccessKeysColumn is the table column denoting the access_keys relation/edge. AccessKeysColumn = "account" // IdentitiesTable is the table that holds the identities relation/edge. IdentitiesTable = "identities" // IdentitiesInverseTable is the table name for the Identity entity. // It exists in this package in order to avoid circular dependency with the "identity" package. IdentitiesInverseTable = "identities" // IdentitiesColumn is the table column denoting the identities relation/edge. IdentitiesColumn = "account" // LockersTable is the table that holds the lockers relation/edge. LockersTable = "lockers" // LockersInverseTable is the table name for the Locker entity. // It exists in this package in order to avoid circular dependency with the "locker" package. LockersInverseTable = "lockers" // LockersColumn is the table column denoting the lockers relation/edge. LockersColumn = "account" // PropertiesTable is the table that holds the properties relation/edge. PropertiesTable = "properties" // PropertiesInverseTable is the table name for the Property entity. // It exists in this package in order to avoid circular dependency with the "property" package. PropertiesInverseTable = "properties" // PropertiesColumn is the table column denoting the properties relation/edge. PropertiesColumn = "account" )
Variables ¶
var Columns = []string{ FieldID, FieldDid, FieldState, FieldEmail, FieldParentAccount, FieldBody, }
Columns holds all SQL columns for account fields.
Functions ¶
func DidContains ¶
DidContains applies the Contains predicate on the "did" field.
func DidContainsFold ¶
DidContainsFold applies the ContainsFold predicate on the "did" field.
func DidEqualFold ¶
DidEqualFold applies the EqualFold predicate on the "did" field.
func DidHasPrefix ¶
DidHasPrefix applies the HasPrefix predicate on the "did" field.
func DidHasSuffix ¶
DidHasSuffix applies the HasSuffix predicate on the "did" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func HasAccessKeys ¶
HasAccessKeys applies the HasEdge predicate on the "access_keys" edge.
func HasAccessKeysWith ¶
HasAccessKeysWith applies the HasEdge predicate on the "access_keys" edge with a given conditions (other predicates).
func HasIdentities ¶
HasIdentities applies the HasEdge predicate on the "identities" edge.
func HasIdentitiesWith ¶
HasIdentitiesWith applies the HasEdge predicate on the "identities" edge with a given conditions (other predicates).
func HasLockers ¶
HasLockers applies the HasEdge predicate on the "lockers" edge.
func HasLockersWith ¶
HasLockersWith applies the HasEdge predicate on the "lockers" edge with a given conditions (other predicates).
func HasProperties ¶
HasProperties applies the HasEdge predicate on the "properties" edge.
func HasPropertiesWith ¶
HasPropertiesWith applies the HasEdge predicate on the "properties" edge with a given conditions (other predicates).
func HasRecoveryCodes ¶
HasRecoveryCodes applies the HasEdge predicate on the "recovery_codes" edge.
func HasRecoveryCodesWith ¶
func HasRecoveryCodesWith(preds ...predicate.RecoveryCode) predicate.Account
HasRecoveryCodesWith applies the HasEdge predicate on the "recovery_codes" edge with a given conditions (other predicates).
func ParentAccount ¶
ParentAccount applies equality check predicate on the "parent_account" field. It's identical to ParentAccountEQ.
func ParentAccountContains ¶
ParentAccountContains applies the Contains predicate on the "parent_account" field.
func ParentAccountContainsFold ¶
ParentAccountContainsFold applies the ContainsFold predicate on the "parent_account" field.
func ParentAccountEQ ¶
ParentAccountEQ applies the EQ predicate on the "parent_account" field.
func ParentAccountEqualFold ¶
ParentAccountEqualFold applies the EqualFold predicate on the "parent_account" field.
func ParentAccountGT ¶
ParentAccountGT applies the GT predicate on the "parent_account" field.
func ParentAccountGTE ¶
ParentAccountGTE applies the GTE predicate on the "parent_account" field.
func ParentAccountHasPrefix ¶
ParentAccountHasPrefix applies the HasPrefix predicate on the "parent_account" field.
func ParentAccountHasSuffix ¶
ParentAccountHasSuffix applies the HasSuffix predicate on the "parent_account" field.
func ParentAccountIn ¶
ParentAccountIn applies the In predicate on the "parent_account" field.
func ParentAccountIsNil ¶
ParentAccountIsNil applies the IsNil predicate on the "parent_account" field.
func ParentAccountLT ¶
ParentAccountLT applies the LT predicate on the "parent_account" field.
func ParentAccountLTE ¶
ParentAccountLTE applies the LTE predicate on the "parent_account" field.
func ParentAccountNEQ ¶
ParentAccountNEQ applies the NEQ predicate on the "parent_account" field.
func ParentAccountNotIn ¶
ParentAccountNotIn applies the NotIn predicate on the "parent_account" field.
func ParentAccountNotNil ¶
ParentAccountNotNil applies the NotNil predicate on the "parent_account" field.
func State ¶
State applies equality check predicate on the "state" field. It's identical to StateEQ.
func StateContains ¶
StateContains applies the Contains predicate on the "state" field.
func StateContainsFold ¶
StateContainsFold applies the ContainsFold predicate on the "state" field.
func StateEqualFold ¶
StateEqualFold applies the EqualFold predicate on the "state" field.
func StateHasPrefix ¶
StateHasPrefix applies the HasPrefix predicate on the "state" field.
func StateHasSuffix ¶
StateHasSuffix applies the HasSuffix predicate on the "state" field.
func StateNotIn ¶
StateNotIn applies the NotIn predicate on the "state" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.