entaccount

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

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

Columns holds all SQL columns for account fields.

Functions

func And

func And(predicates ...predicate.Account) predicate.Account

And groups predicates with the AND operator between them.

func Did

func Did(v string) predicate.Account

Did applies equality check predicate on the "did" field. It's identical to DidEQ.

func DidContains

func DidContains(v string) predicate.Account

DidContains applies the Contains predicate on the "did" field.

func DidContainsFold

func DidContainsFold(v string) predicate.Account

DidContainsFold applies the ContainsFold predicate on the "did" field.

func DidEQ

func DidEQ(v string) predicate.Account

DidEQ applies the EQ predicate on the "did" field.

func DidEqualFold

func DidEqualFold(v string) predicate.Account

DidEqualFold applies the EqualFold predicate on the "did" field.

func DidGT

func DidGT(v string) predicate.Account

DidGT applies the GT predicate on the "did" field.

func DidGTE

func DidGTE(v string) predicate.Account

DidGTE applies the GTE predicate on the "did" field.

func DidHasPrefix

func DidHasPrefix(v string) predicate.Account

DidHasPrefix applies the HasPrefix predicate on the "did" field.

func DidHasSuffix

func DidHasSuffix(v string) predicate.Account

DidHasSuffix applies the HasSuffix predicate on the "did" field.

func DidIn

func DidIn(vs ...string) predicate.Account

DidIn applies the In predicate on the "did" field.

func DidLT

func DidLT(v string) predicate.Account

DidLT applies the LT predicate on the "did" field.

func DidLTE

func DidLTE(v string) predicate.Account

DidLTE applies the LTE predicate on the "did" field.

func DidNEQ

func DidNEQ(v string) predicate.Account

DidNEQ applies the NEQ predicate on the "did" field.

func DidNotIn

func DidNotIn(vs ...string) predicate.Account

DidNotIn applies the NotIn predicate on the "did" field.

func Email

func Email(v string) predicate.Account

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.Account

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.Account

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.Account

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.Account

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.Account

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.Account

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.Account

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.Account

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.Account

EmailIn applies the In predicate on the "email" field.

func EmailIsNil

func EmailIsNil() predicate.Account

EmailIsNil applies the IsNil predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.Account

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.Account

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.Account

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.Account

EmailNotIn applies the NotIn predicate on the "email" field.

func EmailNotNil

func EmailNotNil() predicate.Account

EmailNotNil applies the NotNil predicate on the "email" field.

func HasAccessKeys

func HasAccessKeys() predicate.Account

HasAccessKeys applies the HasEdge predicate on the "access_keys" edge.

func HasAccessKeysWith

func HasAccessKeysWith(preds ...predicate.AccessKey) predicate.Account

HasAccessKeysWith applies the HasEdge predicate on the "access_keys" edge with a given conditions (other predicates).

func HasIdentities

func HasIdentities() predicate.Account

HasIdentities applies the HasEdge predicate on the "identities" edge.

func HasIdentitiesWith

func HasIdentitiesWith(preds ...predicate.Identity) predicate.Account

HasIdentitiesWith applies the HasEdge predicate on the "identities" edge with a given conditions (other predicates).

func HasLockers

func HasLockers() predicate.Account

HasLockers applies the HasEdge predicate on the "lockers" edge.

func HasLockersWith

func HasLockersWith(preds ...predicate.Locker) predicate.Account

HasLockersWith applies the HasEdge predicate on the "lockers" edge with a given conditions (other predicates).

func HasProperties

func HasProperties() predicate.Account

HasProperties applies the HasEdge predicate on the "properties" edge.

func HasPropertiesWith

func HasPropertiesWith(preds ...predicate.Property) predicate.Account

HasPropertiesWith applies the HasEdge predicate on the "properties" edge with a given conditions (other predicates).

func HasRecoveryCodes

func HasRecoveryCodes() predicate.Account

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 ID

func ID(id int) predicate.Account

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Account

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Account

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Account

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Account

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Account

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Account

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Account

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Account

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.Account) predicate.Account

Or groups predicates with the OR operator between them.

func ParentAccount

func ParentAccount(v string) predicate.Account

ParentAccount applies equality check predicate on the "parent_account" field. It's identical to ParentAccountEQ.

func ParentAccountContains

func ParentAccountContains(v string) predicate.Account

ParentAccountContains applies the Contains predicate on the "parent_account" field.

func ParentAccountContainsFold

func ParentAccountContainsFold(v string) predicate.Account

ParentAccountContainsFold applies the ContainsFold predicate on the "parent_account" field.

func ParentAccountEQ

func ParentAccountEQ(v string) predicate.Account

ParentAccountEQ applies the EQ predicate on the "parent_account" field.

func ParentAccountEqualFold

func ParentAccountEqualFold(v string) predicate.Account

ParentAccountEqualFold applies the EqualFold predicate on the "parent_account" field.

func ParentAccountGT

func ParentAccountGT(v string) predicate.Account

ParentAccountGT applies the GT predicate on the "parent_account" field.

func ParentAccountGTE

func ParentAccountGTE(v string) predicate.Account

ParentAccountGTE applies the GTE predicate on the "parent_account" field.

func ParentAccountHasPrefix

func ParentAccountHasPrefix(v string) predicate.Account

ParentAccountHasPrefix applies the HasPrefix predicate on the "parent_account" field.

func ParentAccountHasSuffix

func ParentAccountHasSuffix(v string) predicate.Account

ParentAccountHasSuffix applies the HasSuffix predicate on the "parent_account" field.

func ParentAccountIn

func ParentAccountIn(vs ...string) predicate.Account

ParentAccountIn applies the In predicate on the "parent_account" field.

func ParentAccountIsNil

func ParentAccountIsNil() predicate.Account

ParentAccountIsNil applies the IsNil predicate on the "parent_account" field.

func ParentAccountLT

func ParentAccountLT(v string) predicate.Account

ParentAccountLT applies the LT predicate on the "parent_account" field.

func ParentAccountLTE

func ParentAccountLTE(v string) predicate.Account

ParentAccountLTE applies the LTE predicate on the "parent_account" field.

func ParentAccountNEQ

func ParentAccountNEQ(v string) predicate.Account

ParentAccountNEQ applies the NEQ predicate on the "parent_account" field.

func ParentAccountNotIn

func ParentAccountNotIn(vs ...string) predicate.Account

ParentAccountNotIn applies the NotIn predicate on the "parent_account" field.

func ParentAccountNotNil

func ParentAccountNotNil() predicate.Account

ParentAccountNotNil applies the NotNil predicate on the "parent_account" field.

func State

func State(v string) predicate.Account

State applies equality check predicate on the "state" field. It's identical to StateEQ.

func StateContains

func StateContains(v string) predicate.Account

StateContains applies the Contains predicate on the "state" field.

func StateContainsFold

func StateContainsFold(v string) predicate.Account

StateContainsFold applies the ContainsFold predicate on the "state" field.

func StateEQ

func StateEQ(v string) predicate.Account

StateEQ applies the EQ predicate on the "state" field.

func StateEqualFold

func StateEqualFold(v string) predicate.Account

StateEqualFold applies the EqualFold predicate on the "state" field.

func StateGT

func StateGT(v string) predicate.Account

StateGT applies the GT predicate on the "state" field.

func StateGTE

func StateGTE(v string) predicate.Account

StateGTE applies the GTE predicate on the "state" field.

func StateHasPrefix

func StateHasPrefix(v string) predicate.Account

StateHasPrefix applies the HasPrefix predicate on the "state" field.

func StateHasSuffix

func StateHasSuffix(v string) predicate.Account

StateHasSuffix applies the HasSuffix predicate on the "state" field.

func StateIn

func StateIn(vs ...string) predicate.Account

StateIn applies the In predicate on the "state" field.

func StateLT

func StateLT(v string) predicate.Account

StateLT applies the LT predicate on the "state" field.

func StateLTE

func StateLTE(v string) predicate.Account

StateLTE applies the LTE predicate on the "state" field.

func StateNEQ

func StateNEQ(v string) predicate.Account

StateNEQ applies the NEQ predicate on the "state" field.

func StateNotIn

func StateNotIn(vs ...string) predicate.Account

StateNotIn applies the NotIn predicate on the "state" field.

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