Documentation
¶
Index ¶
- Constants
- Variables
- func Active(v bool) predicate.Entity
- func ActiveEQ(v bool) predicate.Entity
- func ActiveNEQ(v bool) predicate.Entity
- func And(predicates ...predicate.Entity) predicate.Entity
- func DateCreated(v time.Time) predicate.Entity
- func DateCreatedEQ(v time.Time) predicate.Entity
- func DateCreatedGT(v time.Time) predicate.Entity
- func DateCreatedGTE(v time.Time) predicate.Entity
- func DateCreatedIn(vs ...time.Time) predicate.Entity
- func DateCreatedLT(v time.Time) predicate.Entity
- func DateCreatedLTE(v time.Time) predicate.Entity
- func DateCreatedNEQ(v time.Time) predicate.Entity
- func DateCreatedNotIn(vs ...time.Time) predicate.Entity
- func DateOfBirth(v time.Time) predicate.Entity
- func DateOfBirthEQ(v time.Time) predicate.Entity
- func DateOfBirthGT(v time.Time) predicate.Entity
- func DateOfBirthGTE(v time.Time) predicate.Entity
- func DateOfBirthIn(vs ...time.Time) predicate.Entity
- func DateOfBirthLT(v time.Time) predicate.Entity
- func DateOfBirthLTE(v time.Time) predicate.Entity
- func DateOfBirthNEQ(v time.Time) predicate.Entity
- func DateOfBirthNotIn(vs ...time.Time) predicate.Entity
- func Firstname(v string) predicate.Entity
- func FirstnameContains(v string) predicate.Entity
- func FirstnameContainsFold(v string) predicate.Entity
- func FirstnameEQ(v string) predicate.Entity
- func FirstnameEqualFold(v string) predicate.Entity
- func FirstnameGT(v string) predicate.Entity
- func FirstnameGTE(v string) predicate.Entity
- func FirstnameHasPrefix(v string) predicate.Entity
- func FirstnameHasSuffix(v string) predicate.Entity
- func FirstnameIn(vs ...string) predicate.Entity
- func FirstnameIsNil() predicate.Entity
- func FirstnameLT(v string) predicate.Entity
- func FirstnameLTE(v string) predicate.Entity
- func FirstnameNEQ(v string) predicate.Entity
- func FirstnameNotIn(vs ...string) predicate.Entity
- func FirstnameNotNil() predicate.Entity
- func Fullname(v string) predicate.Entity
- func FullnameContains(v string) predicate.Entity
- func FullnameContainsFold(v string) predicate.Entity
- func FullnameEQ(v string) predicate.Entity
- func FullnameEqualFold(v string) predicate.Entity
- func FullnameGT(v string) predicate.Entity
- func FullnameGTE(v string) predicate.Entity
- func FullnameHasPrefix(v string) predicate.Entity
- func FullnameHasSuffix(v string) predicate.Entity
- func FullnameIn(vs ...string) predicate.Entity
- func FullnameIsNil() predicate.Entity
- func FullnameLT(v string) predicate.Entity
- func FullnameLTE(v string) predicate.Entity
- func FullnameNEQ(v string) predicate.Entity
- func FullnameNotIn(vs ...string) predicate.Entity
- func FullnameNotNil() predicate.Entity
- func HasAddresses() predicate.Entity
- func HasAddressesWith(preds ...predicate.EntityAddress) predicate.Entity
- func HasContactPoints() predicate.Entity
- func HasContactPointsWith(preds ...predicate.EntityContactPoint) predicate.Entity
- func HasOwnsAccount() predicate.Entity
- func HasOwnsAccountWith(preds ...predicate.Account) predicate.Entity
- func HasPreferences() predicate.Entity
- func HasPreferencesWith(preds ...predicate.Preference) predicate.Entity
- func HasTaxSpecifications() predicate.Entity
- func HasTaxSpecificationsWith(preds ...predicate.EntityTaxInformation) predicate.Entity
- func ID(id uuid.UUID) predicate.Entity
- func IDEQ(id uuid.UUID) predicate.Entity
- func IDGT(id uuid.UUID) predicate.Entity
- func IDGTE(id uuid.UUID) predicate.Entity
- func IDIn(ids ...uuid.UUID) predicate.Entity
- func IDLT(id uuid.UUID) predicate.Entity
- func IDLTE(id uuid.UUID) predicate.Entity
- func IDNEQ(id uuid.UUID) predicate.Entity
- func IDNotIn(ids ...uuid.UUID) predicate.Entity
- func LastLoginDate(v time.Time) predicate.Entity
- func LastLoginDateEQ(v time.Time) predicate.Entity
- func LastLoginDateGT(v time.Time) predicate.Entity
- func LastLoginDateGTE(v time.Time) predicate.Entity
- func LastLoginDateIn(vs ...time.Time) predicate.Entity
- func LastLoginDateLT(v time.Time) predicate.Entity
- func LastLoginDateLTE(v time.Time) predicate.Entity
- func LastLoginDateNEQ(v time.Time) predicate.Entity
- func LastLoginDateNotIn(vs ...time.Time) predicate.Entity
- func Lastname(v string) predicate.Entity
- func LastnameContains(v string) predicate.Entity
- func LastnameContainsFold(v string) predicate.Entity
- func LastnameEQ(v string) predicate.Entity
- func LastnameEqualFold(v string) predicate.Entity
- func LastnameGT(v string) predicate.Entity
- func LastnameGTE(v string) predicate.Entity
- func LastnameHasPrefix(v string) predicate.Entity
- func LastnameHasSuffix(v string) predicate.Entity
- func LastnameIn(vs ...string) predicate.Entity
- func LastnameIsNil() predicate.Entity
- func LastnameLT(v string) predicate.Entity
- func LastnameLTE(v string) predicate.Entity
- func LastnameNEQ(v string) predicate.Entity
- func LastnameNotIn(vs ...string) predicate.Entity
- func LastnameNotNil() predicate.Entity
- func Not(p predicate.Entity) predicate.Entity
- func Or(predicates ...predicate.Entity) predicate.Entity
- func Token(v string) predicate.Entity
- func TokenContains(v string) predicate.Entity
- func TokenContainsFold(v string) predicate.Entity
- func TokenEQ(v string) predicate.Entity
- func TokenEqualFold(v string) predicate.Entity
- func TokenGT(v string) predicate.Entity
- func TokenGTE(v string) predicate.Entity
- func TokenHasPrefix(v string) predicate.Entity
- func TokenHasSuffix(v string) predicate.Entity
- func TokenIn(vs ...string) predicate.Entity
- func TokenLT(v string) predicate.Entity
- func TokenLTE(v string) predicate.Entity
- func TokenNEQ(v string) predicate.Entity
- func TokenNotIn(vs ...string) predicate.Entity
- func TypeEQ(v Type) predicate.Entity
- func TypeIn(vs ...Type) predicate.Entity
- func TypeNEQ(v Type) predicate.Entity
- func TypeNotIn(vs ...Type) predicate.Entity
- func TypeValidator(_type Type) error
- func URL(v string) predicate.Entity
- func URLContains(v string) predicate.Entity
- func URLContainsFold(v string) predicate.Entity
- func URLEQ(v string) predicate.Entity
- func URLEqualFold(v string) predicate.Entity
- func URLGT(v string) predicate.Entity
- func URLGTE(v string) predicate.Entity
- func URLHasPrefix(v string) predicate.Entity
- func URLHasSuffix(v string) predicate.Entity
- func URLIn(vs ...string) predicate.Entity
- func URLLT(v string) predicate.Entity
- func URLLTE(v string) predicate.Entity
- func URLNEQ(v string) predicate.Entity
- func URLNotIn(vs ...string) predicate.Entity
- func Username(v string) predicate.Entity
- func UsernameContains(v string) predicate.Entity
- func UsernameContainsFold(v string) predicate.Entity
- func UsernameEQ(v string) predicate.Entity
- func UsernameEqualFold(v string) predicate.Entity
- func UsernameGT(v string) predicate.Entity
- func UsernameGTE(v string) predicate.Entity
- func UsernameHasPrefix(v string) predicate.Entity
- func UsernameHasSuffix(v string) predicate.Entity
- func UsernameIn(vs ...string) predicate.Entity
- func UsernameLT(v string) predicate.Entity
- func UsernameLTE(v string) predicate.Entity
- func UsernameNEQ(v string) predicate.Entity
- func UsernameNotIn(vs ...string) predicate.Entity
- func ValidColumn(column string) bool
- type Type
Constants ¶
const ( // Label holds the string label denoting the entity type in the database. Label = "entity" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDateCreated holds the string denoting the datecreated field in the database. FieldDateCreated = "date_created" // FieldFirstname holds the string denoting the firstname field in the database. FieldFirstname = "firstname" // FieldLastname holds the string denoting the lastname field in the database. FieldLastname = "lastname" // FieldFullname holds the string denoting the fullname field in the database. FieldFullname = "fullname" // FieldDateOfBirth holds the string denoting the dateofbirth field in the database. FieldDateOfBirth = "date_of_birth" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldLastLoginDate holds the string denoting the lastlogindate field in the database. FieldLastLoginDate = "last_login_date" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // FieldURL holds the string denoting the url field in the database. FieldURL = "url" // EdgeTaxSpecifications holds the string denoting the taxspecifications edge name in mutations. EdgeTaxSpecifications = "taxSpecifications" // EdgeAddresses holds the string denoting the addresses edge name in mutations. EdgeAddresses = "addresses" // EdgePreferences holds the string denoting the preferences edge name in mutations. EdgePreferences = "preferences" // EdgeContactPoints holds the string denoting the contactpoints edge name in mutations. EdgeContactPoints = "contactPoints" // EdgeOwnsAccount holds the string denoting the owns_account edge name in mutations. EdgeOwnsAccount = "owns_account" // Table holds the table name of the entity in the database. Table = "entities" // TaxSpecificationsTable is the table the holds the taxSpecifications relation/edge. TaxSpecificationsTable = "entity_tax_informations" // TaxSpecificationsInverseTable is the table name for the EntityTaxInformation entity. // It exists in this package in order to avoid circular dependency with the "entitytaxinformation" package. TaxSpecificationsInverseTable = "entity_tax_informations" // TaxSpecificationsColumn is the table column denoting the taxSpecifications relation/edge. TaxSpecificationsColumn = "entity_tax_specifications" // AddressesTable is the table the holds the addresses relation/edge. AddressesTable = "entity_addresses" // AddressesInverseTable is the table name for the EntityAddress entity. // It exists in this package in order to avoid circular dependency with the "entityaddress" package. AddressesInverseTable = "entity_addresses" // AddressesColumn is the table column denoting the addresses relation/edge. AddressesColumn = "entity_addresses" // 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 = "entity_preferences" // ContactPointsTable is the table the holds the contactPoints relation/edge. ContactPointsTable = "entity_contact_points" // ContactPointsInverseTable is the table name for the EntityContactPoint entity. // It exists in this package in order to avoid circular dependency with the "entitycontactpoint" package. ContactPointsInverseTable = "entity_contact_points" // ContactPointsColumn is the table column denoting the contactPoints relation/edge. ContactPointsColumn = "entity_contact_points" // OwnsAccountTable is the table the holds the owns_account relation/edge. The primary key declared below. OwnsAccountTable = "account_owners" // OwnsAccountInverseTable is the table name for the Account entity. // It exists in this package in order to avoid circular dependency with the "account" package. OwnsAccountInverseTable = "accounts" )
Variables ¶
var ( // DefaultActive holds the default value on creation for the "active" field. DefaultActive bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldDateCreated, FieldFirstname, FieldLastname, FieldFullname, FieldDateOfBirth, FieldActive, FieldType, FieldLastLoginDate, FieldUsername, FieldToken, FieldURL, }
Columns holds all SQL columns for entity fields.
var ( // OwnsAccountPrimaryKey and OwnsAccountColumn2 are the table columns denoting the // primary key for the owns_account relation (M2M). OwnsAccountPrimaryKey = []string{"account_id", "entity_id"} )
Functions ¶
func Active ¶
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
func DateCreated ¶
DateCreated applies equality check predicate on the "dateCreated" field. It's identical to DateCreatedEQ.
func DateCreatedEQ ¶
DateCreatedEQ applies the EQ predicate on the "dateCreated" field.
func DateCreatedGT ¶
DateCreatedGT applies the GT predicate on the "dateCreated" field.
func DateCreatedGTE ¶
DateCreatedGTE applies the GTE predicate on the "dateCreated" field.
func DateCreatedIn ¶
DateCreatedIn applies the In predicate on the "dateCreated" field.
func DateCreatedLT ¶
DateCreatedLT applies the LT predicate on the "dateCreated" field.
func DateCreatedLTE ¶
DateCreatedLTE applies the LTE predicate on the "dateCreated" field.
func DateCreatedNEQ ¶
DateCreatedNEQ applies the NEQ predicate on the "dateCreated" field.
func DateCreatedNotIn ¶
DateCreatedNotIn applies the NotIn predicate on the "dateCreated" field.
func DateOfBirth ¶
DateOfBirth applies equality check predicate on the "dateOfBirth" field. It's identical to DateOfBirthEQ.
func DateOfBirthEQ ¶
DateOfBirthEQ applies the EQ predicate on the "dateOfBirth" field.
func DateOfBirthGT ¶
DateOfBirthGT applies the GT predicate on the "dateOfBirth" field.
func DateOfBirthGTE ¶
DateOfBirthGTE applies the GTE predicate on the "dateOfBirth" field.
func DateOfBirthIn ¶
DateOfBirthIn applies the In predicate on the "dateOfBirth" field.
func DateOfBirthLT ¶
DateOfBirthLT applies the LT predicate on the "dateOfBirth" field.
func DateOfBirthLTE ¶
DateOfBirthLTE applies the LTE predicate on the "dateOfBirth" field.
func DateOfBirthNEQ ¶
DateOfBirthNEQ applies the NEQ predicate on the "dateOfBirth" field.
func DateOfBirthNotIn ¶
DateOfBirthNotIn applies the NotIn predicate on the "dateOfBirth" field.
func Firstname ¶
Firstname applies equality check predicate on the "firstname" field. It's identical to FirstnameEQ.
func FirstnameContains ¶
FirstnameContains applies the Contains predicate on the "firstname" field.
func FirstnameContainsFold ¶
FirstnameContainsFold applies the ContainsFold predicate on the "firstname" field.
func FirstnameEQ ¶
FirstnameEQ applies the EQ predicate on the "firstname" field.
func FirstnameEqualFold ¶
FirstnameEqualFold applies the EqualFold predicate on the "firstname" field.
func FirstnameGT ¶
FirstnameGT applies the GT predicate on the "firstname" field.
func FirstnameGTE ¶
FirstnameGTE applies the GTE predicate on the "firstname" field.
func FirstnameHasPrefix ¶
FirstnameHasPrefix applies the HasPrefix predicate on the "firstname" field.
func FirstnameHasSuffix ¶
FirstnameHasSuffix applies the HasSuffix predicate on the "firstname" field.
func FirstnameIn ¶
FirstnameIn applies the In predicate on the "firstname" field.
func FirstnameIsNil ¶
FirstnameIsNil applies the IsNil predicate on the "firstname" field.
func FirstnameLT ¶
FirstnameLT applies the LT predicate on the "firstname" field.
func FirstnameLTE ¶
FirstnameLTE applies the LTE predicate on the "firstname" field.
func FirstnameNEQ ¶
FirstnameNEQ applies the NEQ predicate on the "firstname" field.
func FirstnameNotIn ¶
FirstnameNotIn applies the NotIn predicate on the "firstname" field.
func FirstnameNotNil ¶
FirstnameNotNil applies the NotNil predicate on the "firstname" field.
func Fullname ¶
Fullname applies equality check predicate on the "fullname" field. It's identical to FullnameEQ.
func FullnameContains ¶
FullnameContains applies the Contains predicate on the "fullname" field.
func FullnameContainsFold ¶
FullnameContainsFold applies the ContainsFold predicate on the "fullname" field.
func FullnameEQ ¶
FullnameEQ applies the EQ predicate on the "fullname" field.
func FullnameEqualFold ¶
FullnameEqualFold applies the EqualFold predicate on the "fullname" field.
func FullnameGT ¶
FullnameGT applies the GT predicate on the "fullname" field.
func FullnameGTE ¶
FullnameGTE applies the GTE predicate on the "fullname" field.
func FullnameHasPrefix ¶
FullnameHasPrefix applies the HasPrefix predicate on the "fullname" field.
func FullnameHasSuffix ¶
FullnameHasSuffix applies the HasSuffix predicate on the "fullname" field.
func FullnameIn ¶
FullnameIn applies the In predicate on the "fullname" field.
func FullnameIsNil ¶
FullnameIsNil applies the IsNil predicate on the "fullname" field.
func FullnameLT ¶
FullnameLT applies the LT predicate on the "fullname" field.
func FullnameLTE ¶
FullnameLTE applies the LTE predicate on the "fullname" field.
func FullnameNEQ ¶
FullnameNEQ applies the NEQ predicate on the "fullname" field.
func FullnameNotIn ¶
FullnameNotIn applies the NotIn predicate on the "fullname" field.
func FullnameNotNil ¶
FullnameNotNil applies the NotNil predicate on the "fullname" field.
func HasAddresses ¶
HasAddresses applies the HasEdge predicate on the "addresses" edge.
func HasAddressesWith ¶
func HasAddressesWith(preds ...predicate.EntityAddress) predicate.Entity
HasAddressesWith applies the HasEdge predicate on the "addresses" edge with a given conditions (other predicates).
func HasContactPoints ¶
HasContactPoints applies the HasEdge predicate on the "contactPoints" edge.
func HasContactPointsWith ¶
func HasContactPointsWith(preds ...predicate.EntityContactPoint) predicate.Entity
HasContactPointsWith applies the HasEdge predicate on the "contactPoints" edge with a given conditions (other predicates).
func HasOwnsAccount ¶
HasOwnsAccount applies the HasEdge predicate on the "owns_account" edge.
func HasOwnsAccountWith ¶
HasOwnsAccountWith applies the HasEdge predicate on the "owns_account" edge with a given conditions (other predicates).
func HasPreferences ¶
HasPreferences applies the HasEdge predicate on the "preferences" edge.
func HasPreferencesWith ¶
func HasPreferencesWith(preds ...predicate.Preference) predicate.Entity
HasPreferencesWith applies the HasEdge predicate on the "preferences" edge with a given conditions (other predicates).
func HasTaxSpecifications ¶
HasTaxSpecifications applies the HasEdge predicate on the "taxSpecifications" edge.
func HasTaxSpecificationsWith ¶
func HasTaxSpecificationsWith(preds ...predicate.EntityTaxInformation) predicate.Entity
HasTaxSpecificationsWith applies the HasEdge predicate on the "taxSpecifications" edge with a given conditions (other predicates).
func LastLoginDate ¶
LastLoginDate applies equality check predicate on the "lastLoginDate" field. It's identical to LastLoginDateEQ.
func LastLoginDateEQ ¶
LastLoginDateEQ applies the EQ predicate on the "lastLoginDate" field.
func LastLoginDateGT ¶
LastLoginDateGT applies the GT predicate on the "lastLoginDate" field.
func LastLoginDateGTE ¶
LastLoginDateGTE applies the GTE predicate on the "lastLoginDate" field.
func LastLoginDateIn ¶
LastLoginDateIn applies the In predicate on the "lastLoginDate" field.
func LastLoginDateLT ¶
LastLoginDateLT applies the LT predicate on the "lastLoginDate" field.
func LastLoginDateLTE ¶
LastLoginDateLTE applies the LTE predicate on the "lastLoginDate" field.
func LastLoginDateNEQ ¶
LastLoginDateNEQ applies the NEQ predicate on the "lastLoginDate" field.
func LastLoginDateNotIn ¶
LastLoginDateNotIn applies the NotIn predicate on the "lastLoginDate" field.
func Lastname ¶
Lastname applies equality check predicate on the "lastname" field. It's identical to LastnameEQ.
func LastnameContains ¶
LastnameContains applies the Contains predicate on the "lastname" field.
func LastnameContainsFold ¶
LastnameContainsFold applies the ContainsFold predicate on the "lastname" field.
func LastnameEQ ¶
LastnameEQ applies the EQ predicate on the "lastname" field.
func LastnameEqualFold ¶
LastnameEqualFold applies the EqualFold predicate on the "lastname" field.
func LastnameGT ¶
LastnameGT applies the GT predicate on the "lastname" field.
func LastnameGTE ¶
LastnameGTE applies the GTE predicate on the "lastname" field.
func LastnameHasPrefix ¶
LastnameHasPrefix applies the HasPrefix predicate on the "lastname" field.
func LastnameHasSuffix ¶
LastnameHasSuffix applies the HasSuffix predicate on the "lastname" field.
func LastnameIn ¶
LastnameIn applies the In predicate on the "lastname" field.
func LastnameIsNil ¶
LastnameIsNil applies the IsNil predicate on the "lastname" field.
func LastnameLT ¶
LastnameLT applies the LT predicate on the "lastname" field.
func LastnameLTE ¶
LastnameLTE applies the LTE predicate on the "lastname" field.
func LastnameNEQ ¶
LastnameNEQ applies the NEQ predicate on the "lastname" field.
func LastnameNotIn ¶
LastnameNotIn applies the NotIn predicate on the "lastname" field.
func LastnameNotNil ¶
LastnameNotNil applies the NotNil predicate on the "lastname" field.
func Token ¶
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEqualFold ¶
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenHasPrefix ¶
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenNotIn ¶
TokenNotIn applies the NotIn predicate on the "token" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func URLContains ¶
URLContains applies the Contains predicate on the "url" field.
func URLContainsFold ¶
URLContainsFold applies the ContainsFold predicate on the "url" field.
func URLEqualFold ¶
URLEqualFold applies the EqualFold predicate on the "url" field.
func URLHasPrefix ¶
URLHasPrefix applies the HasPrefix predicate on the "url" field.
func URLHasSuffix ¶
URLHasSuffix applies the HasSuffix predicate on the "url" field.
func Username ¶
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).