account

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: MIT Imports: 6 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"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldNumber holds the string denoting the number field in the database.
	FieldNumber = "number"
	// FieldParentId holds the string denoting the parentid field in the database.
	FieldParentId = "parent_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldDateCreated holds the string denoting the datecreated field in the database.
	FieldDateCreated = "date_created"
	// FieldDateOpened holds the string denoting the dateopened field in the database.
	FieldDateOpened = "date_opened"
	// FieldDateLastUpdated holds the string denoting the datelastupdated field in the database.
	FieldDateLastUpdated = "date_last_updated"
	// FieldDateClosed holds the string denoting the dateclosed field in the database.
	FieldDateClosed = "date_closed"
	// FieldCurrencyCode holds the string denoting the currencycode field in the database.
	FieldCurrencyCode = "currency_code"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldInterestReporting holds the string denoting the interestreporting field in the database.
	FieldInterestReporting = "interest_reporting"
	// FieldCurrentBalance holds the string denoting the currentbalance field in the database.
	FieldCurrentBalance = "current_balance"
	// FieldAvailableBalance holds the string denoting the availablebalance field in the database.
	FieldAvailableBalance = "available_balance"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// EdgeBranch holds the string denoting the branch edge name in mutations.
	EdgeBranch = "branch"
	// EdgeOwners holds the string denoting the owners edge name in mutations.
	EdgeOwners = "owners"
	// EdgePreferences holds the string denoting the preferences edge name in mutations.
	EdgePreferences = "preferences"
	// EdgeRoutingnumbers holds the string denoting the routingnumbers edge name in mutations.
	EdgeRoutingnumbers = "routingnumbers"
	// EdgeProduct holds the string denoting the product edge name in mutations.
	EdgeProduct = "product"
	// EdgeTransactions holds the string denoting the transactions edge name in mutations.
	EdgeTransactions = "transactions"
	// EdgeCards holds the string denoting the cards edge name in mutations.
	EdgeCards = "cards"
	// Table holds the table name of the account in the database.
	Table = "accounts"
	// BranchTable is the table the holds the branch relation/edge.
	BranchTable = "accounts"
	// BranchInverseTable is the table name for the Branch entity.
	// It exists in this package in order to avoid circular dependency with the "branch" package.
	BranchInverseTable = "branches"
	// BranchColumn is the table column denoting the branch relation/edge.
	BranchColumn = "account_branch"
	// OwnersTable is the table the holds the owners relation/edge. The primary key declared below.
	OwnersTable = "account_owners"
	// OwnersInverseTable is the table name for the Entity entity.
	// It exists in this package in order to avoid circular dependency with the "entity" package.
	OwnersInverseTable = "entities"
	// PreferencesTable is the table the holds the preferences relation/edge.
	PreferencesTable = "preferences"
	// PreferencesInverseTable is the table name for the Preference entity.
	// It exists in this package in order to avoid circular dependency with the "preference" package.
	PreferencesInverseTable = "preferences"
	// PreferencesColumn is the table column denoting the preferences relation/edge.
	PreferencesColumn = "account_preferences"
	// RoutingnumbersTable is the table the holds the routingnumbers relation/edge.
	RoutingnumbersTable = "routing_numbers"
	// RoutingnumbersInverseTable is the table name for the RoutingNumber entity.
	// It exists in this package in order to avoid circular dependency with the "routingnumber" package.
	RoutingnumbersInverseTable = "routing_numbers"
	// RoutingnumbersColumn is the table column denoting the routingnumbers relation/edge.
	RoutingnumbersColumn = "account_routingnumbers"
	// ProductTable is the table the holds the product relation/edge.
	ProductTable = "accounts"
	// ProductInverseTable is the table name for the Product entity.
	// It exists in this package in order to avoid circular dependency with the "product" package.
	ProductInverseTable = "products"
	// ProductColumn is the table column denoting the product relation/edge.
	ProductColumn = "account_product"
	// TransactionsTable is the table the holds the transactions relation/edge.
	TransactionsTable = "transactions"
	// TransactionsInverseTable is the table name for the Transaction entity.
	// It exists in this package in order to avoid circular dependency with the "transaction" package.
	TransactionsInverseTable = "transactions"
	// TransactionsColumn is the table column denoting the transactions relation/edge.
	TransactionsColumn = "account_transactions"
	// CardsTable is the table the holds the cards relation/edge.
	CardsTable = "cards"
	// CardsInverseTable is the table name for the Card entity.
	// It exists in this package in order to avoid circular dependency with the "card" package.
	CardsInverseTable = "cards"
	// CardsColumn is the table column denoting the cards relation/edge.
	CardsColumn = "account_cards"
)

Variables

Columns holds all SQL columns for account fields.

View Source
var (
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)
View Source
var ForeignKeys = []string{
	"account_branch",
	"account_product",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "accounts" table and are not defined as standalone fields in the schema.

View Source
var (
	// OwnersPrimaryKey and OwnersColumn2 are the table columns denoting the
	// primary key for the owners relation (M2M).
	OwnersPrimaryKey = []string{"account_id", "entity_id"}
)

Functions

func And

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

And groups predicates with the AND operator between them.

func AvailableBalance

func AvailableBalance(v float32) predicate.Account

AvailableBalance applies equality check predicate on the "availableBalance" field. It's identical to AvailableBalanceEQ.

func AvailableBalanceEQ

func AvailableBalanceEQ(v float32) predicate.Account

AvailableBalanceEQ applies the EQ predicate on the "availableBalance" field.

func AvailableBalanceGT

func AvailableBalanceGT(v float32) predicate.Account

AvailableBalanceGT applies the GT predicate on the "availableBalance" field.

func AvailableBalanceGTE

func AvailableBalanceGTE(v float32) predicate.Account

AvailableBalanceGTE applies the GTE predicate on the "availableBalance" field.

func AvailableBalanceIn

func AvailableBalanceIn(vs ...float32) predicate.Account

AvailableBalanceIn applies the In predicate on the "availableBalance" field.

func AvailableBalanceLT

func AvailableBalanceLT(v float32) predicate.Account

AvailableBalanceLT applies the LT predicate on the "availableBalance" field.

func AvailableBalanceLTE

func AvailableBalanceLTE(v float32) predicate.Account

AvailableBalanceLTE applies the LTE predicate on the "availableBalance" field.

func AvailableBalanceNEQ

func AvailableBalanceNEQ(v float32) predicate.Account

AvailableBalanceNEQ applies the NEQ predicate on the "availableBalance" field.

func AvailableBalanceNotIn

func AvailableBalanceNotIn(vs ...float32) predicate.Account

AvailableBalanceNotIn applies the NotIn predicate on the "availableBalance" field.

func CurrencyCode

func CurrencyCode(v string) predicate.Account

CurrencyCode applies equality check predicate on the "currencyCode" field. It's identical to CurrencyCodeEQ.

func CurrencyCodeContains

func CurrencyCodeContains(v string) predicate.Account

CurrencyCodeContains applies the Contains predicate on the "currencyCode" field.

func CurrencyCodeContainsFold

func CurrencyCodeContainsFold(v string) predicate.Account

CurrencyCodeContainsFold applies the ContainsFold predicate on the "currencyCode" field.

func CurrencyCodeEQ

func CurrencyCodeEQ(v string) predicate.Account

CurrencyCodeEQ applies the EQ predicate on the "currencyCode" field.

func CurrencyCodeEqualFold

func CurrencyCodeEqualFold(v string) predicate.Account

CurrencyCodeEqualFold applies the EqualFold predicate on the "currencyCode" field.

func CurrencyCodeGT

func CurrencyCodeGT(v string) predicate.Account

CurrencyCodeGT applies the GT predicate on the "currencyCode" field.

func CurrencyCodeGTE

func CurrencyCodeGTE(v string) predicate.Account

CurrencyCodeGTE applies the GTE predicate on the "currencyCode" field.

func CurrencyCodeHasPrefix

func CurrencyCodeHasPrefix(v string) predicate.Account

CurrencyCodeHasPrefix applies the HasPrefix predicate on the "currencyCode" field.

func CurrencyCodeHasSuffix

func CurrencyCodeHasSuffix(v string) predicate.Account

CurrencyCodeHasSuffix applies the HasSuffix predicate on the "currencyCode" field.

func CurrencyCodeIn

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

CurrencyCodeIn applies the In predicate on the "currencyCode" field.

func CurrencyCodeLT

func CurrencyCodeLT(v string) predicate.Account

CurrencyCodeLT applies the LT predicate on the "currencyCode" field.

func CurrencyCodeLTE

func CurrencyCodeLTE(v string) predicate.Account

CurrencyCodeLTE applies the LTE predicate on the "currencyCode" field.

func CurrencyCodeNEQ

func CurrencyCodeNEQ(v string) predicate.Account

CurrencyCodeNEQ applies the NEQ predicate on the "currencyCode" field.

func CurrencyCodeNotIn

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

CurrencyCodeNotIn applies the NotIn predicate on the "currencyCode" field.

func CurrentBalance

func CurrentBalance(v float32) predicate.Account

CurrentBalance applies equality check predicate on the "currentBalance" field. It's identical to CurrentBalanceEQ.

func CurrentBalanceEQ

func CurrentBalanceEQ(v float32) predicate.Account

CurrentBalanceEQ applies the EQ predicate on the "currentBalance" field.

func CurrentBalanceGT

func CurrentBalanceGT(v float32) predicate.Account

CurrentBalanceGT applies the GT predicate on the "currentBalance" field.

func CurrentBalanceGTE

func CurrentBalanceGTE(v float32) predicate.Account

CurrentBalanceGTE applies the GTE predicate on the "currentBalance" field.

func CurrentBalanceIn

func CurrentBalanceIn(vs ...float32) predicate.Account

CurrentBalanceIn applies the In predicate on the "currentBalance" field.

func CurrentBalanceLT

func CurrentBalanceLT(v float32) predicate.Account

CurrentBalanceLT applies the LT predicate on the "currentBalance" field.

func CurrentBalanceLTE

func CurrentBalanceLTE(v float32) predicate.Account

CurrentBalanceLTE applies the LTE predicate on the "currentBalance" field.

func CurrentBalanceNEQ

func CurrentBalanceNEQ(v float32) predicate.Account

CurrentBalanceNEQ applies the NEQ predicate on the "currentBalance" field.

func CurrentBalanceNotIn

func CurrentBalanceNotIn(vs ...float32) predicate.Account

CurrentBalanceNotIn applies the NotIn predicate on the "currentBalance" field.

func DateClosed

func DateClosed(v time.Time) predicate.Account

DateClosed applies equality check predicate on the "dateClosed" field. It's identical to DateClosedEQ.

func DateClosedEQ

func DateClosedEQ(v time.Time) predicate.Account

DateClosedEQ applies the EQ predicate on the "dateClosed" field.

func DateClosedGT

func DateClosedGT(v time.Time) predicate.Account

DateClosedGT applies the GT predicate on the "dateClosed" field.

func DateClosedGTE

func DateClosedGTE(v time.Time) predicate.Account

DateClosedGTE applies the GTE predicate on the "dateClosed" field.

func DateClosedIn

func DateClosedIn(vs ...time.Time) predicate.Account

DateClosedIn applies the In predicate on the "dateClosed" field.

func DateClosedIsNil

func DateClosedIsNil() predicate.Account

DateClosedIsNil applies the IsNil predicate on the "dateClosed" field.

func DateClosedLT

func DateClosedLT(v time.Time) predicate.Account

DateClosedLT applies the LT predicate on the "dateClosed" field.

func DateClosedLTE

func DateClosedLTE(v time.Time) predicate.Account

DateClosedLTE applies the LTE predicate on the "dateClosed" field.

func DateClosedNEQ

func DateClosedNEQ(v time.Time) predicate.Account

DateClosedNEQ applies the NEQ predicate on the "dateClosed" field.

func DateClosedNotIn

func DateClosedNotIn(vs ...time.Time) predicate.Account

DateClosedNotIn applies the NotIn predicate on the "dateClosed" field.

func DateClosedNotNil

func DateClosedNotNil() predicate.Account

DateClosedNotNil applies the NotNil predicate on the "dateClosed" field.

func DateCreated

func DateCreated(v time.Time) predicate.Account

DateCreated applies equality check predicate on the "dateCreated" field. It's identical to DateCreatedEQ.

func DateCreatedEQ

func DateCreatedEQ(v time.Time) predicate.Account

DateCreatedEQ applies the EQ predicate on the "dateCreated" field.

func DateCreatedGT

func DateCreatedGT(v time.Time) predicate.Account

DateCreatedGT applies the GT predicate on the "dateCreated" field.

func DateCreatedGTE

func DateCreatedGTE(v time.Time) predicate.Account

DateCreatedGTE applies the GTE predicate on the "dateCreated" field.

func DateCreatedIn

func DateCreatedIn(vs ...time.Time) predicate.Account

DateCreatedIn applies the In predicate on the "dateCreated" field.

func DateCreatedLT

func DateCreatedLT(v time.Time) predicate.Account

DateCreatedLT applies the LT predicate on the "dateCreated" field.

func DateCreatedLTE

func DateCreatedLTE(v time.Time) predicate.Account

DateCreatedLTE applies the LTE predicate on the "dateCreated" field.

func DateCreatedNEQ

func DateCreatedNEQ(v time.Time) predicate.Account

DateCreatedNEQ applies the NEQ predicate on the "dateCreated" field.

func DateCreatedNotIn

func DateCreatedNotIn(vs ...time.Time) predicate.Account

DateCreatedNotIn applies the NotIn predicate on the "dateCreated" field.

func DateLastUpdated

func DateLastUpdated(v time.Time) predicate.Account

DateLastUpdated applies equality check predicate on the "dateLastUpdated" field. It's identical to DateLastUpdatedEQ.

func DateLastUpdatedEQ

func DateLastUpdatedEQ(v time.Time) predicate.Account

DateLastUpdatedEQ applies the EQ predicate on the "dateLastUpdated" field.

func DateLastUpdatedGT

func DateLastUpdatedGT(v time.Time) predicate.Account

DateLastUpdatedGT applies the GT predicate on the "dateLastUpdated" field.

func DateLastUpdatedGTE

func DateLastUpdatedGTE(v time.Time) predicate.Account

DateLastUpdatedGTE applies the GTE predicate on the "dateLastUpdated" field.

func DateLastUpdatedIn

func DateLastUpdatedIn(vs ...time.Time) predicate.Account

DateLastUpdatedIn applies the In predicate on the "dateLastUpdated" field.

func DateLastUpdatedLT

func DateLastUpdatedLT(v time.Time) predicate.Account

DateLastUpdatedLT applies the LT predicate on the "dateLastUpdated" field.

func DateLastUpdatedLTE

func DateLastUpdatedLTE(v time.Time) predicate.Account

DateLastUpdatedLTE applies the LTE predicate on the "dateLastUpdated" field.

func DateLastUpdatedNEQ

func DateLastUpdatedNEQ(v time.Time) predicate.Account

DateLastUpdatedNEQ applies the NEQ predicate on the "dateLastUpdated" field.

func DateLastUpdatedNotIn

func DateLastUpdatedNotIn(vs ...time.Time) predicate.Account

DateLastUpdatedNotIn applies the NotIn predicate on the "dateLastUpdated" field.

func DateOpened

func DateOpened(v time.Time) predicate.Account

DateOpened applies equality check predicate on the "dateOpened" field. It's identical to DateOpenedEQ.

func DateOpenedEQ

func DateOpenedEQ(v time.Time) predicate.Account

DateOpenedEQ applies the EQ predicate on the "dateOpened" field.

func DateOpenedGT

func DateOpenedGT(v time.Time) predicate.Account

DateOpenedGT applies the GT predicate on the "dateOpened" field.

func DateOpenedGTE

func DateOpenedGTE(v time.Time) predicate.Account

DateOpenedGTE applies the GTE predicate on the "dateOpened" field.

func DateOpenedIn

func DateOpenedIn(vs ...time.Time) predicate.Account

DateOpenedIn applies the In predicate on the "dateOpened" field.

func DateOpenedLT

func DateOpenedLT(v time.Time) predicate.Account

DateOpenedLT applies the LT predicate on the "dateOpened" field.

func DateOpenedLTE

func DateOpenedLTE(v time.Time) predicate.Account

DateOpenedLTE applies the LTE predicate on the "dateOpened" field.

func DateOpenedNEQ

func DateOpenedNEQ(v time.Time) predicate.Account

DateOpenedNEQ applies the NEQ predicate on the "dateOpened" field.

func DateOpenedNotIn

func DateOpenedNotIn(vs ...time.Time) predicate.Account

DateOpenedNotIn applies the NotIn predicate on the "dateOpened" field.

func HasBranch

func HasBranch() predicate.Account

HasBranch applies the HasEdge predicate on the "branch" edge.

func HasBranchWith

func HasBranchWith(preds ...predicate.Branch) predicate.Account

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

func HasCards

func HasCards() predicate.Account

HasCards applies the HasEdge predicate on the "cards" edge.

func HasCardsWith

func HasCardsWith(preds ...predicate.Card) predicate.Account

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

func HasOwners

func HasOwners() predicate.Account

HasOwners applies the HasEdge predicate on the "owners" edge.

func HasOwnersWith

func HasOwnersWith(preds ...predicate.Entity) predicate.Account

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

func HasPreferences

func HasPreferences() predicate.Account

HasPreferences applies the HasEdge predicate on the "preferences" edge.

func HasPreferencesWith

func HasPreferencesWith(preds ...predicate.Preference) predicate.Account

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

func HasProduct

func HasProduct() predicate.Account

HasProduct applies the HasEdge predicate on the "product" edge.

func HasProductWith

func HasProductWith(preds ...predicate.Product) predicate.Account

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

func HasRoutingnumbers

func HasRoutingnumbers() predicate.Account

HasRoutingnumbers applies the HasEdge predicate on the "routingnumbers" edge.

func HasRoutingnumbersWith

func HasRoutingnumbersWith(preds ...predicate.RoutingNumber) predicate.Account

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

func HasTransactions

func HasTransactions() predicate.Account

HasTransactions applies the HasEdge predicate on the "transactions" edge.

func HasTransactionsWith

func HasTransactionsWith(preds ...predicate.Transaction) predicate.Account

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

func ID

func ID(id uuid.UUID) predicate.Account

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Account

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Account

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Account

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Account

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Account

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Account

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Account

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Account

IDNotIn applies the NotIn predicate on the ID field.

func InterestReporting

func InterestReporting(v bool) predicate.Account

InterestReporting applies equality check predicate on the "interestReporting" field. It's identical to InterestReportingEQ.

func InterestReportingEQ

func InterestReportingEQ(v bool) predicate.Account

InterestReportingEQ applies the EQ predicate on the "interestReporting" field.

func InterestReportingNEQ

func InterestReportingNEQ(v bool) predicate.Account

InterestReportingNEQ applies the NEQ predicate on the "interestReporting" field.

func Name

func Name(v string) predicate.Account

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Account

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Account

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Account

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Account

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Account

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Account

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Account

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Account

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

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

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Account

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Account

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Account

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

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

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Number

func Number(v string) predicate.Account

Number applies equality check predicate on the "number" field. It's identical to NumberEQ.

func NumberContains

func NumberContains(v string) predicate.Account

NumberContains applies the Contains predicate on the "number" field.

func NumberContainsFold

func NumberContainsFold(v string) predicate.Account

NumberContainsFold applies the ContainsFold predicate on the "number" field.

func NumberEQ

func NumberEQ(v string) predicate.Account

NumberEQ applies the EQ predicate on the "number" field.

func NumberEqualFold

func NumberEqualFold(v string) predicate.Account

NumberEqualFold applies the EqualFold predicate on the "number" field.

func NumberGT

func NumberGT(v string) predicate.Account

NumberGT applies the GT predicate on the "number" field.

func NumberGTE

func NumberGTE(v string) predicate.Account

NumberGTE applies the GTE predicate on the "number" field.

func NumberHasPrefix

func NumberHasPrefix(v string) predicate.Account

NumberHasPrefix applies the HasPrefix predicate on the "number" field.

func NumberHasSuffix

func NumberHasSuffix(v string) predicate.Account

NumberHasSuffix applies the HasSuffix predicate on the "number" field.

func NumberIn

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

NumberIn applies the In predicate on the "number" field.

func NumberLT

func NumberLT(v string) predicate.Account

NumberLT applies the LT predicate on the "number" field.

func NumberLTE

func NumberLTE(v string) predicate.Account

NumberLTE applies the LTE predicate on the "number" field.

func NumberNEQ

func NumberNEQ(v string) predicate.Account

NumberNEQ applies the NEQ predicate on the "number" field.

func NumberNotIn

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

NumberNotIn applies the NotIn predicate on the "number" field.

func Or

func Or(predicates ...predicate.Account) predicate.Account

Or groups predicates with the OR operator between them.

func ParentId

func ParentId(v uuid.UUID) predicate.Account

ParentId applies equality check predicate on the "parentId" field. It's identical to ParentIdEQ.

func ParentIdEQ

func ParentIdEQ(v uuid.UUID) predicate.Account

ParentIdEQ applies the EQ predicate on the "parentId" field.

func ParentIdGT

func ParentIdGT(v uuid.UUID) predicate.Account

ParentIdGT applies the GT predicate on the "parentId" field.

func ParentIdGTE

func ParentIdGTE(v uuid.UUID) predicate.Account

ParentIdGTE applies the GTE predicate on the "parentId" field.

func ParentIdIn

func ParentIdIn(vs ...uuid.UUID) predicate.Account

ParentIdIn applies the In predicate on the "parentId" field.

func ParentIdIsNil

func ParentIdIsNil() predicate.Account

ParentIdIsNil applies the IsNil predicate on the "parentId" field.

func ParentIdLT

func ParentIdLT(v uuid.UUID) predicate.Account

ParentIdLT applies the LT predicate on the "parentId" field.

func ParentIdLTE

func ParentIdLTE(v uuid.UUID) predicate.Account

ParentIdLTE applies the LTE predicate on the "parentId" field.

func ParentIdNEQ

func ParentIdNEQ(v uuid.UUID) predicate.Account

ParentIdNEQ applies the NEQ predicate on the "parentId" field.

func ParentIdNotIn

func ParentIdNotIn(vs ...uuid.UUID) predicate.Account

ParentIdNotIn applies the NotIn predicate on the "parentId" field.

func ParentIdNotNil

func ParentIdNotNil() predicate.Account

ParentIdNotNil applies the NotNil predicate on the "parentId" field.

func Source

func Source(v string) predicate.Account

Source applies equality check predicate on the "source" field. It's identical to SourceEQ.

func SourceContains

func SourceContains(v string) predicate.Account

SourceContains applies the Contains predicate on the "source" field.

func SourceContainsFold

func SourceContainsFold(v string) predicate.Account

SourceContainsFold applies the ContainsFold predicate on the "source" field.

func SourceEQ

func SourceEQ(v string) predicate.Account

SourceEQ applies the EQ predicate on the "source" field.

func SourceEqualFold

func SourceEqualFold(v string) predicate.Account

SourceEqualFold applies the EqualFold predicate on the "source" field.

func SourceGT

func SourceGT(v string) predicate.Account

SourceGT applies the GT predicate on the "source" field.

func SourceGTE

func SourceGTE(v string) predicate.Account

SourceGTE applies the GTE predicate on the "source" field.

func SourceHasPrefix

func SourceHasPrefix(v string) predicate.Account

SourceHasPrefix applies the HasPrefix predicate on the "source" field.

func SourceHasSuffix

func SourceHasSuffix(v string) predicate.Account

SourceHasSuffix applies the HasSuffix predicate on the "source" field.

func SourceIn

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

SourceIn applies the In predicate on the "source" field.

func SourceLT

func SourceLT(v string) predicate.Account

SourceLT applies the LT predicate on the "source" field.

func SourceLTE

func SourceLTE(v string) predicate.Account

SourceLTE applies the LTE predicate on the "source" field.

func SourceNEQ

func SourceNEQ(v string) predicate.Account

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

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

SourceNotIn applies the NotIn predicate on the "source" field.

func StatusEQ

func StatusEQ(v Status) predicate.Account

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

func StatusIn(vs ...Status) predicate.Account

StatusIn applies the In predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v Status) predicate.Account

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.Account

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s Status) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func Title

func Title(v string) predicate.Account

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.Account

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.Account

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.Account

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.Account

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.Account

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.Account

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Account

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Account

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

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

TitleIn applies the In predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.Account

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.Account

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.Account

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

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

TitleNotIn applies the NotIn predicate on the "title" field.

func Type

func Type(v string) predicate.Account

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.Account

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.Account

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

func TypeEQ(v string) predicate.Account

TypeEQ applies the EQ predicate on the "type" field.

func TypeEqualFold

func TypeEqualFold(v string) predicate.Account

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

func TypeGT(v string) predicate.Account

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v string) predicate.Account

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.Account

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.Account

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

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

TypeIn applies the In predicate on the "type" field.

func TypeLT

func TypeLT(v string) predicate.Account

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v string) predicate.Account

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v string) predicate.Account

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

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

TypeNotIn applies the NotIn predicate on the "type" field.

func URL

func URL(v string) predicate.Account

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.Account

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.Account

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

func URLEQ(v string) predicate.Account

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.Account

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

func URLGT(v string) predicate.Account

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.Account

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.Account

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.Account

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

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

URLIn applies the In predicate on the "url" field.

func URLIsNil

func URLIsNil() predicate.Account

URLIsNil applies the IsNil predicate on the "url" field.

func URLLT

func URLLT(v string) predicate.Account

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.Account

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.Account

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

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

URLNotIn applies the NotIn predicate on the "url" field.

func URLNotNil

func URLNotNil() predicate.Account

URLNotNil applies the NotNil predicate on the "url" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusOPEN    Status = "OPEN"
	StatusCLOSED  Status = "CLOSED"
	StatusBLOCKED Status = "BLOCKED"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

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