Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func CreatedAt(v time.Time) predicate.User
- func CreatedAtEQ(v time.Time) predicate.User
- func CreatedAtGT(v time.Time) predicate.User
- func CreatedAtGTE(v time.Time) predicate.User
- func CreatedAtIn(vs ...time.Time) predicate.User
- func CreatedAtLT(v time.Time) predicate.User
- func CreatedAtLTE(v time.Time) predicate.User
- func CreatedAtNEQ(v time.Time) predicate.User
- func CreatedAtNotIn(vs ...time.Time) predicate.User
- func DisplayName(v string) predicate.User
- func DisplayNameContains(v string) predicate.User
- func DisplayNameContainsFold(v string) predicate.User
- func DisplayNameEQ(v string) predicate.User
- func DisplayNameEqualFold(v string) predicate.User
- func DisplayNameGT(v string) predicate.User
- func DisplayNameGTE(v string) predicate.User
- func DisplayNameHasPrefix(v string) predicate.User
- func DisplayNameHasSuffix(v string) predicate.User
- func DisplayNameIn(vs ...string) predicate.User
- func DisplayNameLT(v string) predicate.User
- func DisplayNameLTE(v string) predicate.User
- func DisplayNameNEQ(v string) predicate.User
- func DisplayNameNotIn(vs ...string) predicate.User
- func HasCards() predicate.User
- func HasCardsWith(preds ...predicate.Card) predicate.User
- func HasContactLinks() predicate.User
- func HasContactLinksWith(preds ...predicate.Contact) predicate.User
- func HasContacts() predicate.User
- func HasContactsWith(preds ...predicate.Contact) predicate.User
- func HasFinancialAccounts() predicate.User
- func HasFinancialAccountsWith(preds ...predicate.FinancialAccount) predicate.User
- func ID(id string) predicate.User
- func IDEQ(id string) predicate.User
- func IDGT(id string) predicate.User
- func IDGTE(id string) predicate.User
- func IDIn(ids ...string) predicate.User
- func IDLT(id string) predicate.User
- func IDLTE(id string) predicate.User
- func IDNEQ(id string) predicate.User
- func IDNotIn(ids ...string) predicate.User
- func IsActive(v bool) predicate.User
- func IsActiveEQ(v bool) predicate.User
- func IsActiveNEQ(v bool) predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func UpdatedAt(v time.Time) predicate.User
- func UpdatedAtEQ(v time.Time) predicate.User
- func UpdatedAtGT(v time.Time) predicate.User
- func UpdatedAtGTE(v time.Time) predicate.User
- func UpdatedAtIn(vs ...time.Time) predicate.User
- func UpdatedAtLT(v time.Time) predicate.User
- func UpdatedAtLTE(v time.Time) predicate.User
- func UpdatedAtNEQ(v time.Time) predicate.User
- func UpdatedAtNotIn(vs ...time.Time) predicate.User
- func ValidColumn(column string) bool
- func Version(v uint32) predicate.User
- func VersionEQ(v uint32) predicate.User
- func VersionGT(v uint32) predicate.User
- func VersionGTE(v uint32) predicate.User
- func VersionIn(vs ...uint32) predicate.User
- func VersionLT(v uint32) predicate.User
- func VersionLTE(v uint32) predicate.User
- func VersionNEQ(v uint32) predicate.User
- func VersionNotIn(vs ...uint32) predicate.User
Constants ¶
const ( // Label holds the string label denoting the user type in the database. Label = "user" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldIsActive holds the string denoting the is_active field in the database. FieldIsActive = "is_active" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDisplayName holds the string denoting the display_name field in the database. FieldDisplayName = "display_name" // EdgeContacts holds the string denoting the contacts edge name in mutations. EdgeContacts = "contacts" // EdgeContactLinks holds the string denoting the contact_links edge name in mutations. EdgeContactLinks = "contact_links" // EdgeFinancialAccounts holds the string denoting the financial_accounts edge name in mutations. EdgeFinancialAccounts = "financial_accounts" // EdgeCards holds the string denoting the cards edge name in mutations. EdgeCards = "cards" // Table holds the table name of the user in the database. Table = "users" // ContactsTable is the table that holds the contacts relation/edge. ContactsTable = "contacts" // ContactsInverseTable is the table name for the Contact entity. // It exists in this package in order to avoid circular dependency with the "contact" package. ContactsInverseTable = "contacts" // ContactsColumn is the table column denoting the contacts relation/edge. ContactsColumn = "user_contacts" // ContactLinksTable is the table that holds the contact_links relation/edge. ContactLinksTable = "contacts" // ContactLinksInverseTable is the table name for the Contact entity. // It exists in this package in order to avoid circular dependency with the "contact" package. ContactLinksInverseTable = "contacts" // ContactLinksColumn is the table column denoting the contact_links relation/edge. ContactLinksColumn = "linked_to_user" // FinancialAccountsTable is the table that holds the financial_accounts relation/edge. FinancialAccountsTable = "financial_accounts" // FinancialAccountsInverseTable is the table name for the FinancialAccount entity. // It exists in this package in order to avoid circular dependency with the "financialaccount" package. FinancialAccountsInverseTable = "financial_accounts" // FinancialAccountsColumn is the table column denoting the financial_accounts relation/edge. FinancialAccountsColumn = "user_financial_accounts" // CardsTable is the table that 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 = "user_cards" )
Variables ¶
var ( // DisplayNameValidator is a validator for the "display_name" field. It is called by the builders before save. DisplayNameValidator func(string) error // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldIsActive, FieldVersion, FieldCreatedAt, FieldUpdatedAt, FieldDisplayName, }
Columns holds all SQL columns for user 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 DisplayName ¶
DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.
func DisplayNameContains ¶
DisplayNameContains applies the Contains predicate on the "display_name" field.
func DisplayNameContainsFold ¶
DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.
func DisplayNameEQ ¶
DisplayNameEQ applies the EQ predicate on the "display_name" field.
func DisplayNameEqualFold ¶
DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.
func DisplayNameGT ¶
DisplayNameGT applies the GT predicate on the "display_name" field.
func DisplayNameGTE ¶
DisplayNameGTE applies the GTE predicate on the "display_name" field.
func DisplayNameHasPrefix ¶
DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.
func DisplayNameHasSuffix ¶
DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.
func DisplayNameIn ¶
DisplayNameIn applies the In predicate on the "display_name" field.
func DisplayNameLT ¶
DisplayNameLT applies the LT predicate on the "display_name" field.
func DisplayNameLTE ¶
DisplayNameLTE applies the LTE predicate on the "display_name" field.
func DisplayNameNEQ ¶
DisplayNameNEQ applies the NEQ predicate on the "display_name" field.
func DisplayNameNotIn ¶
DisplayNameNotIn applies the NotIn predicate on the "display_name" field.
func HasCardsWith ¶
HasCardsWith applies the HasEdge predicate on the "cards" edge with a given conditions (other predicates).
func HasContactLinks ¶
HasContactLinks applies the HasEdge predicate on the "contact_links" edge.
func HasContactLinksWith ¶
HasContactLinksWith applies the HasEdge predicate on the "contact_links" edge with a given conditions (other predicates).
func HasContacts ¶
HasContacts applies the HasEdge predicate on the "contacts" edge.
func HasContactsWith ¶
HasContactsWith applies the HasEdge predicate on the "contacts" edge with a given conditions (other predicates).
func HasFinancialAccounts ¶
HasFinancialAccounts applies the HasEdge predicate on the "financial_accounts" edge.
func HasFinancialAccountsWith ¶
func HasFinancialAccountsWith(preds ...predicate.FinancialAccount) predicate.User
HasFinancialAccountsWith applies the HasEdge predicate on the "financial_accounts" edge with a given conditions (other predicates).
func IsActive ¶
IsActive applies equality check predicate on the "is_active" field. It's identical to IsActiveEQ.
func IsActiveEQ ¶
IsActiveEQ applies the EQ predicate on the "is_active" field.
func IsActiveNEQ ¶
IsActiveNEQ applies the NEQ predicate on the "is_active" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
This section is empty.