Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Account) predicate.Account
- func EmailAddress(v string) predicate.Account
- func EmailAddressContains(v string) predicate.Account
- func EmailAddressContainsFold(v string) predicate.Account
- func EmailAddressEQ(v string) predicate.Account
- func EmailAddressEqualFold(v string) predicate.Account
- func EmailAddressGT(v string) predicate.Account
- func EmailAddressGTE(v string) predicate.Account
- func EmailAddressHasPrefix(v string) predicate.Account
- func EmailAddressHasSuffix(v string) predicate.Account
- func EmailAddressIn(vs ...string) predicate.Account
- func EmailAddressLT(v string) predicate.Account
- func EmailAddressLTE(v string) predicate.Account
- func EmailAddressNEQ(v string) predicate.Account
- func EmailAddressNotIn(vs ...string) predicate.Account
- func HasOrganization() predicate.Account
- func HasOrganizationWith(preds ...predicate.Organization) predicate.Account
- func ID(id pulid.ID) predicate.Account
- func IDEQ(id pulid.ID) predicate.Account
- func IDGT(id pulid.ID) predicate.Account
- func IDGTE(id pulid.ID) predicate.Account
- func IDIn(ids ...pulid.ID) predicate.Account
- func IDLT(id pulid.ID) predicate.Account
- func IDLTE(id pulid.ID) predicate.Account
- func IDNEQ(id pulid.ID) predicate.Account
- func IDNotIn(ids ...pulid.ID) predicate.Account
- func Not(p predicate.Account) predicate.Account
- func Or(predicates ...predicate.Account) 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" // FieldEmailAddress holds the string denoting the email_address field in the database. FieldEmailAddress = "email_address" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // Table holds the table name of the account in the database. Table = "accounts" // OrganizationTable is the table the holds the organization relation/edge. The primary key declared below. OrganizationTable = "organization_accounts" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "organizations" )
Variables ¶
var Columns = []string{ FieldID, FieldEmailAddress, }
Columns holds all SQL columns for account fields.
var ( // DefaultID holds the default value on creation for the id field. DefaultID func() pulid.ID )
var ( // OrganizationPrimaryKey and OrganizationColumn2 are the table columns denoting the // primary key for the organization relation (M2M). OrganizationPrimaryKey = []string{"organization_id", "account_id"} )
Functions ¶
func EmailAddress ¶
EmailAddress applies equality check predicate on the "email_address" field. It's identical to EmailAddressEQ.
func EmailAddressContains ¶
EmailAddressContains applies the Contains predicate on the "email_address" field.
func EmailAddressContainsFold ¶
EmailAddressContainsFold applies the ContainsFold predicate on the "email_address" field.
func EmailAddressEQ ¶
EmailAddressEQ applies the EQ predicate on the "email_address" field.
func EmailAddressEqualFold ¶
EmailAddressEqualFold applies the EqualFold predicate on the "email_address" field.
func EmailAddressGT ¶
EmailAddressGT applies the GT predicate on the "email_address" field.
func EmailAddressGTE ¶
EmailAddressGTE applies the GTE predicate on the "email_address" field.
func EmailAddressHasPrefix ¶
EmailAddressHasPrefix applies the HasPrefix predicate on the "email_address" field.
func EmailAddressHasSuffix ¶
EmailAddressHasSuffix applies the HasSuffix predicate on the "email_address" field.
func EmailAddressIn ¶
EmailAddressIn applies the In predicate on the "email_address" field.
func EmailAddressLT ¶
EmailAddressLT applies the LT predicate on the "email_address" field.
func EmailAddressLTE ¶
EmailAddressLTE applies the LTE predicate on the "email_address" field.
func EmailAddressNEQ ¶
EmailAddressNEQ applies the NEQ predicate on the "email_address" field.
func EmailAddressNotIn ¶
EmailAddressNotIn applies the NotIn predicate on the "email_address" field.
func HasOrganization ¶
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.Account
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.