Documentation ¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.Person
- func AddressContains(v string) predicate.Person
- func AddressContainsFold(v string) predicate.Person
- func AddressEQ(v string) predicate.Person
- func AddressEqualFold(v string) predicate.Person
- func AddressGT(v string) predicate.Person
- func AddressGTE(v string) predicate.Person
- func AddressHasPrefix(v string) predicate.Person
- func AddressHasSuffix(v string) predicate.Person
- func AddressIn(vs ...string) predicate.Person
- func AddressIsNil() predicate.Person
- func AddressLT(v string) predicate.Person
- func AddressLTE(v string) predicate.Person
- func AddressNEQ(v string) predicate.Person
- func AddressNotIn(vs ...string) predicate.Person
- func AddressNotNil() predicate.Person
- func And(predicates ...predicate.Person) predicate.Person
- func Birthdate(v time.Time) predicate.Person
- func BirthdateEQ(v time.Time) predicate.Person
- func BirthdateGT(v time.Time) predicate.Person
- func BirthdateGTE(v time.Time) predicate.Person
- func BirthdateIn(vs ...time.Time) predicate.Person
- func BirthdateIsNil() predicate.Person
- func BirthdateLT(v time.Time) predicate.Person
- func BirthdateLTE(v time.Time) predicate.Person
- func BirthdateNEQ(v time.Time) predicate.Person
- func BirthdateNotIn(vs ...time.Time) predicate.Person
- func BirthdateNotNil() predicate.Person
- func City(v string) predicate.Person
- func CityContains(v string) predicate.Person
- func CityContainsFold(v string) predicate.Person
- func CityEQ(v string) predicate.Person
- func CityEqualFold(v string) predicate.Person
- func CityGT(v string) predicate.Person
- func CityGTE(v string) predicate.Person
- func CityHasPrefix(v string) predicate.Person
- func CityHasSuffix(v string) predicate.Person
- func CityIn(vs ...string) predicate.Person
- func CityIsNil() predicate.Person
- func CityLT(v string) predicate.Person
- func CityLTE(v string) predicate.Person
- func CityNEQ(v string) predicate.Person
- func CityNotIn(vs ...string) predicate.Person
- func CityNotNil() predicate.Person
- func Country(v string) predicate.Person
- func CountryContains(v string) predicate.Person
- func CountryContainsFold(v string) predicate.Person
- func CountryEQ(v string) predicate.Person
- func CountryEqualFold(v string) predicate.Person
- func CountryGT(v string) predicate.Person
- func CountryGTE(v string) predicate.Person
- func CountryHasPrefix(v string) predicate.Person
- func CountryHasSuffix(v string) predicate.Person
- func CountryIn(vs ...string) predicate.Person
- func CountryIsNil() predicate.Person
- func CountryLT(v string) predicate.Person
- func CountryLTE(v string) predicate.Person
- func CountryNEQ(v string) predicate.Person
- func CountryNotIn(vs ...string) predicate.Person
- func CountryNotNil() predicate.Person
- func CreatedAt(v time.Time) predicate.Person
- func CreatedAtEQ(v time.Time) predicate.Person
- func CreatedAtGT(v time.Time) predicate.Person
- func CreatedAtGTE(v time.Time) predicate.Person
- func CreatedAtIn(vs ...time.Time) predicate.Person
- func CreatedAtLT(v time.Time) predicate.Person
- func CreatedAtLTE(v time.Time) predicate.Person
- func CreatedAtNEQ(v time.Time) predicate.Person
- func CreatedAtNotIn(vs ...time.Time) predicate.Person
- func Email(v string) predicate.Person
- func EmailContains(v string) predicate.Person
- func EmailContainsFold(v string) predicate.Person
- func EmailEQ(v string) predicate.Person
- func EmailEqualFold(v string) predicate.Person
- func EmailGT(v string) predicate.Person
- func EmailGTE(v string) predicate.Person
- func EmailHasPrefix(v string) predicate.Person
- func EmailHasSuffix(v string) predicate.Person
- func EmailIn(vs ...string) predicate.Person
- func EmailLT(v string) predicate.Person
- func EmailLTE(v string) predicate.Person
- func EmailNEQ(v string) predicate.Person
- func EmailNotIn(vs ...string) predicate.Person
- func EmailVerifiedAt(v time.Time) predicate.Person
- func EmailVerifiedAtEQ(v time.Time) predicate.Person
- func EmailVerifiedAtGT(v time.Time) predicate.Person
- func EmailVerifiedAtGTE(v time.Time) predicate.Person
- func EmailVerifiedAtIn(vs ...time.Time) predicate.Person
- func EmailVerifiedAtIsNil() predicate.Person
- func EmailVerifiedAtLT(v time.Time) predicate.Person
- func EmailVerifiedAtLTE(v time.Time) predicate.Person
- func EmailVerifiedAtNEQ(v time.Time) predicate.Person
- func EmailVerifiedAtNotIn(vs ...time.Time) predicate.Person
- func EmailVerifiedAtNotNil() predicate.Person
- func FirstName(v string) predicate.Person
- func FirstNameContains(v string) predicate.Person
- func FirstNameContainsFold(v string) predicate.Person
- func FirstNameEQ(v string) predicate.Person
- func FirstNameEqualFold(v string) predicate.Person
- func FirstNameGT(v string) predicate.Person
- func FirstNameGTE(v string) predicate.Person
- func FirstNameHasPrefix(v string) predicate.Person
- func FirstNameHasSuffix(v string) predicate.Person
- func FirstNameIn(vs ...string) predicate.Person
- func FirstNameLT(v string) predicate.Person
- func FirstNameLTE(v string) predicate.Person
- func FirstNameNEQ(v string) predicate.Person
- func FirstNameNotIn(vs ...string) predicate.Person
- func GenderEQ(v Gender) predicate.Person
- func GenderIn(vs ...Gender) predicate.Person
- func GenderIsNil() predicate.Person
- func GenderNEQ(v Gender) predicate.Person
- func GenderNotIn(vs ...Gender) predicate.Person
- func GenderNotNil() predicate.Person
- func GenderValidator(ge Gender) error
- func HasAuthentications() predicate.Person
- func HasAuthenticationsWith(preds ...predicate.Authentication) predicate.Person
- func HasAuthorizations() predicate.Person
- func HasAuthorizationsWith(preds ...predicate.Authorization) predicate.Person
- func ID(id uuid.UUID) predicate.Person
- func IDEQ(id uuid.UUID) predicate.Person
- func IDGT(id uuid.UUID) predicate.Person
- func IDGTE(id uuid.UUID) predicate.Person
- func IDIn(ids ...uuid.UUID) predicate.Person
- func IDLT(id uuid.UUID) predicate.Person
- func IDLTE(id uuid.UUID) predicate.Person
- func IDNEQ(id uuid.UUID) predicate.Person
- func IDNotIn(ids ...uuid.UUID) predicate.Person
- func Language(v string) predicate.Person
- func LanguageContains(v string) predicate.Person
- func LanguageContainsFold(v string) predicate.Person
- func LanguageEQ(v string) predicate.Person
- func LanguageEqualFold(v string) predicate.Person
- func LanguageGT(v string) predicate.Person
- func LanguageGTE(v string) predicate.Person
- func LanguageHasPrefix(v string) predicate.Person
- func LanguageHasSuffix(v string) predicate.Person
- func LanguageIn(vs ...string) predicate.Person
- func LanguageLT(v string) predicate.Person
- func LanguageLTE(v string) predicate.Person
- func LanguageNEQ(v string) predicate.Person
- func LanguageNotIn(vs ...string) predicate.Person
- func LastName(v string) predicate.Person
- func LastNameContains(v string) predicate.Person
- func LastNameContainsFold(v string) predicate.Person
- func LastNameEQ(v string) predicate.Person
- func LastNameEqualFold(v string) predicate.Person
- func LastNameGT(v string) predicate.Person
- func LastNameGTE(v string) predicate.Person
- func LastNameHasPrefix(v string) predicate.Person
- func LastNameHasSuffix(v string) predicate.Person
- func LastNameIn(vs ...string) predicate.Person
- func LastNameIsNil() predicate.Person
- func LastNameLT(v string) predicate.Person
- func LastNameLTE(v string) predicate.Person
- func LastNameNEQ(v string) predicate.Person
- func LastNameNotIn(vs ...string) predicate.Person
- func LastNameNotNil() predicate.Person
- func Not(p predicate.Person) predicate.Person
- func Or(predicates ...predicate.Person) predicate.Person
- func Password(v string) predicate.Person
- func PasswordContains(v string) predicate.Person
- func PasswordContainsFold(v string) predicate.Person
- func PasswordEQ(v string) predicate.Person
- func PasswordEqualFold(v string) predicate.Person
- func PasswordGT(v string) predicate.Person
- func PasswordGTE(v string) predicate.Person
- func PasswordHasPrefix(v string) predicate.Person
- func PasswordHasSuffix(v string) predicate.Person
- func PasswordIn(vs ...string) predicate.Person
- func PasswordLT(v string) predicate.Person
- func PasswordLTE(v string) predicate.Person
- func PasswordNEQ(v string) predicate.Person
- func PasswordNotIn(vs ...string) predicate.Person
- func Phone(v string) predicate.Person
- func PhoneContains(v string) predicate.Person
- func PhoneContainsFold(v string) predicate.Person
- func PhoneEQ(v string) predicate.Person
- func PhoneEqualFold(v string) predicate.Person
- func PhoneGT(v string) predicate.Person
- func PhoneGTE(v string) predicate.Person
- func PhoneHasPrefix(v string) predicate.Person
- func PhoneHasSuffix(v string) predicate.Person
- func PhoneIn(vs ...string) predicate.Person
- func PhoneIsNil() predicate.Person
- func PhoneLT(v string) predicate.Person
- func PhoneLTE(v string) predicate.Person
- func PhoneNEQ(v string) predicate.Person
- func PhoneNotIn(vs ...string) predicate.Person
- func PhoneNotNil() predicate.Person
- func PostalCode(v string) predicate.Person
- func PostalCodeContains(v string) predicate.Person
- func PostalCodeContainsFold(v string) predicate.Person
- func PostalCodeEQ(v string) predicate.Person
- func PostalCodeEqualFold(v string) predicate.Person
- func PostalCodeGT(v string) predicate.Person
- func PostalCodeGTE(v string) predicate.Person
- func PostalCodeHasPrefix(v string) predicate.Person
- func PostalCodeHasSuffix(v string) predicate.Person
- func PostalCodeIn(vs ...string) predicate.Person
- func PostalCodeIsNil() predicate.Person
- func PostalCodeLT(v string) predicate.Person
- func PostalCodeLTE(v string) predicate.Person
- func PostalCodeNEQ(v string) predicate.Person
- func PostalCodeNotIn(vs ...string) predicate.Person
- func PostalCodeNotNil() predicate.Person
- func StripeID(v string) predicate.Person
- func StripeIDContains(v string) predicate.Person
- func StripeIDContainsFold(v string) predicate.Person
- func StripeIDEQ(v string) predicate.Person
- func StripeIDEqualFold(v string) predicate.Person
- func StripeIDGT(v string) predicate.Person
- func StripeIDGTE(v string) predicate.Person
- func StripeIDHasPrefix(v string) predicate.Person
- func StripeIDHasSuffix(v string) predicate.Person
- func StripeIDIn(vs ...string) predicate.Person
- func StripeIDIsNil() predicate.Person
- func StripeIDLT(v string) predicate.Person
- func StripeIDLTE(v string) predicate.Person
- func StripeIDNEQ(v string) predicate.Person
- func StripeIDNotIn(vs ...string) predicate.Person
- func StripeIDNotNil() predicate.Person
- func Subscribed(v bool) predicate.Person
- func SubscribedEQ(v bool) predicate.Person
- func SubscribedNEQ(v bool) predicate.Person
- func TaxID(v string) predicate.Person
- func TaxIDContains(v string) predicate.Person
- func TaxIDContainsFold(v string) predicate.Person
- func TaxIDEQ(v string) predicate.Person
- func TaxIDEqualFold(v string) predicate.Person
- func TaxIDGT(v string) predicate.Person
- func TaxIDGTE(v string) predicate.Person
- func TaxIDHasPrefix(v string) predicate.Person
- func TaxIDHasSuffix(v string) predicate.Person
- func TaxIDIn(vs ...string) predicate.Person
- func TaxIDLT(v string) predicate.Person
- func TaxIDLTE(v string) predicate.Person
- func TaxIDNEQ(v string) predicate.Person
- func TaxIDNotIn(vs ...string) predicate.Person
- func UpdatedAt(v time.Time) predicate.Person
- func UpdatedAtEQ(v time.Time) predicate.Person
- func UpdatedAtGT(v time.Time) predicate.Person
- func UpdatedAtGTE(v time.Time) predicate.Person
- func UpdatedAtIn(vs ...time.Time) predicate.Person
- func UpdatedAtLT(v time.Time) predicate.Person
- func UpdatedAtLTE(v time.Time) predicate.Person
- func UpdatedAtNEQ(v time.Time) predicate.Person
- func UpdatedAtNotIn(vs ...time.Time) predicate.Person
- func ValidColumn(column string) bool
- type Gender
- type OrderOption
- func ByAddress(opts ...sql.OrderTermOption) OrderOption
- func ByAuthentications(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAuthenticationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByAuthorizations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAuthorizationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByBirthdate(opts ...sql.OrderTermOption) OrderOption
- func ByCity(opts ...sql.OrderTermOption) OrderOption
- func ByCountry(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByEmailVerifiedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFirstName(opts ...sql.OrderTermOption) OrderOption
- func ByGender(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLanguage(opts ...sql.OrderTermOption) OrderOption
- func ByLastName(opts ...sql.OrderTermOption) OrderOption
- func ByPassword(opts ...sql.OrderTermOption) OrderOption
- func ByPhone(opts ...sql.OrderTermOption) OrderOption
- func ByPostalCode(opts ...sql.OrderTermOption) OrderOption
- func ByStripeID(opts ...sql.OrderTermOption) OrderOption
- func BySubscribed(opts ...sql.OrderTermOption) OrderOption
- func ByTaxID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the person type in the database. Label = "person" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldStripeID holds the string denoting the stripe_id field in the database. FieldStripeID = "stripe_id" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldEmailVerifiedAt holds the string denoting the email_verified_at field in the database. FieldEmailVerifiedAt = "email_verified_at" // FieldPhone holds the string denoting the phone field in the database. FieldPhone = "phone" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldTaxID holds the string denoting the tax_id field in the database. FieldTaxID = "tax_id" // FieldFirstName holds the string denoting the first_name field in the database. FieldFirstName = "first_name" // FieldLastName holds the string denoting the last_name field in the database. FieldLastName = "last_name" // FieldLanguage holds the string denoting the language field in the database. FieldLanguage = "language" // FieldBirthdate holds the string denoting the birthdate field in the database. FieldBirthdate = "birthdate" // FieldGender holds the string denoting the gender field in the database. FieldGender = "gender" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // FieldPostalCode holds the string denoting the postal_code field in the database. FieldPostalCode = "postal_code" // FieldCity holds the string denoting the city field in the database. FieldCity = "city" // FieldCountry holds the string denoting the country field in the database. FieldCountry = "country" // FieldSubscribed holds the string denoting the subscribed field in the database. FieldSubscribed = "subscribed" // 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" // EdgeAuthentications holds the string denoting the authentications edge name in mutations. EdgeAuthentications = "authentications" // EdgeAuthorizations holds the string denoting the authorizations edge name in mutations. EdgeAuthorizations = "authorizations" // Table holds the table name of the person in the database. Table = "persons" // AuthenticationsTable is the table that holds the authentications relation/edge. AuthenticationsTable = "authentications" // AuthenticationsInverseTable is the table name for the Authentication entity. // It exists in this package in order to avoid circular dependency with the "authentication" package. AuthenticationsInverseTable = "authentications" // AuthenticationsColumn is the table column denoting the authentications relation/edge. AuthenticationsColumn = "person_id" // AuthorizationsTable is the table that holds the authorizations relation/edge. AuthorizationsTable = "authorizations" // AuthorizationsInverseTable is the table name for the Authorization entity. // It exists in this package in order to avoid circular dependency with the "authorization" package. AuthorizationsInverseTable = "authorizations" // AuthorizationsColumn is the table column denoting the authorizations relation/edge. AuthorizationsColumn = "person_id" )
Variables ¶
var ( Hooks [5]ent.Hook Policy ent.Policy // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // PhoneValidator is a validator for the "phone" field. It is called by the builders before save. PhoneValidator func(string) error // TaxIDValidator is a validator for the "tax_id" field. It is called by the builders before save. TaxIDValidator func(string) error // FirstNameValidator is a validator for the "first_name" field. It is called by the builders before save. FirstNameValidator func(string) error // LastNameValidator is a validator for the "last_name" field. It is called by the builders before save. LastNameValidator func(string) error // AddressValidator is a validator for the "address" field. It is called by the builders before save. AddressValidator func(string) error // PostalCodeValidator is a validator for the "postal_code" field. It is called by the builders before save. PostalCodeValidator func(string) error // CityValidator is a validator for the "city" field. It is called by the builders before save. CityValidator func(string) error // CountryValidator is a validator for the "country" field. It is called by the builders before save. CountryValidator func(string) error // DefaultSubscribed holds the default value on creation for the "subscribed" field. DefaultSubscribed bool // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/avptp/brain/internal/generated/data/runtime"
var Columns = []string{ FieldID, FieldStripeID, FieldEmail, FieldEmailVerifiedAt, FieldPhone, FieldPassword, FieldTaxID, FieldFirstName, FieldLastName, FieldLanguage, FieldBirthdate, FieldGender, FieldAddress, FieldPostalCode, FieldCity, FieldCountry, FieldSubscribed, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for person fields.
Functions ¶
func Address ¶
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressContains ¶
AddressContains applies the Contains predicate on the "address" field.
func AddressContainsFold ¶
AddressContainsFold applies the ContainsFold predicate on the "address" field.
func AddressEqualFold ¶
AddressEqualFold applies the EqualFold predicate on the "address" field.
func AddressGTE ¶
AddressGTE applies the GTE predicate on the "address" field.
func AddressHasPrefix ¶
AddressHasPrefix applies the HasPrefix predicate on the "address" field.
func AddressHasSuffix ¶
AddressHasSuffix applies the HasSuffix predicate on the "address" field.
func AddressIsNil ¶
AddressIsNil applies the IsNil predicate on the "address" field.
func AddressLTE ¶
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
AddressNotIn applies the NotIn predicate on the "address" field.
func AddressNotNil ¶
AddressNotNil applies the NotNil predicate on the "address" field.
func Birthdate ¶
Birthdate applies equality check predicate on the "birthdate" field. It's identical to BirthdateEQ.
func BirthdateEQ ¶
BirthdateEQ applies the EQ predicate on the "birthdate" field.
func BirthdateGT ¶
BirthdateGT applies the GT predicate on the "birthdate" field.
func BirthdateGTE ¶
BirthdateGTE applies the GTE predicate on the "birthdate" field.
func BirthdateIn ¶
BirthdateIn applies the In predicate on the "birthdate" field.
func BirthdateIsNil ¶
BirthdateIsNil applies the IsNil predicate on the "birthdate" field.
func BirthdateLT ¶
BirthdateLT applies the LT predicate on the "birthdate" field.
func BirthdateLTE ¶
BirthdateLTE applies the LTE predicate on the "birthdate" field.
func BirthdateNEQ ¶
BirthdateNEQ applies the NEQ predicate on the "birthdate" field.
func BirthdateNotIn ¶
BirthdateNotIn applies the NotIn predicate on the "birthdate" field.
func BirthdateNotNil ¶
BirthdateNotNil applies the NotNil predicate on the "birthdate" field.
func CityContains ¶
CityContains applies the Contains predicate on the "city" field.
func CityContainsFold ¶
CityContainsFold applies the ContainsFold predicate on the "city" field.
func CityEqualFold ¶
CityEqualFold applies the EqualFold predicate on the "city" field.
func CityHasPrefix ¶
CityHasPrefix applies the HasPrefix predicate on the "city" field.
func CityHasSuffix ¶
CityHasSuffix applies the HasSuffix predicate on the "city" field.
func CityNotNil ¶
CityNotNil applies the NotNil predicate on the "city" field.
func Country ¶
Country applies equality check predicate on the "country" field. It's identical to CountryEQ.
func CountryContains ¶
CountryContains applies the Contains predicate on the "country" field.
func CountryContainsFold ¶
CountryContainsFold applies the ContainsFold predicate on the "country" field.
func CountryEqualFold ¶
CountryEqualFold applies the EqualFold predicate on the "country" field.
func CountryGTE ¶
CountryGTE applies the GTE predicate on the "country" field.
func CountryHasPrefix ¶
CountryHasPrefix applies the HasPrefix predicate on the "country" field.
func CountryHasSuffix ¶
CountryHasSuffix applies the HasSuffix predicate on the "country" field.
func CountryIsNil ¶
CountryIsNil applies the IsNil predicate on the "country" field.
func CountryLTE ¶
CountryLTE applies the LTE predicate on the "country" field.
func CountryNEQ ¶
CountryNEQ applies the NEQ predicate on the "country" field.
func CountryNotIn ¶
CountryNotIn applies the NotIn predicate on the "country" field.
func CountryNotNil ¶
CountryNotNil applies the NotNil predicate on the "country" field.
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 Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailVerifiedAt ¶
EmailVerifiedAt applies equality check predicate on the "email_verified_at" field. It's identical to EmailVerifiedAtEQ.
func EmailVerifiedAtEQ ¶
EmailVerifiedAtEQ applies the EQ predicate on the "email_verified_at" field.
func EmailVerifiedAtGT ¶
EmailVerifiedAtGT applies the GT predicate on the "email_verified_at" field.
func EmailVerifiedAtGTE ¶
EmailVerifiedAtGTE applies the GTE predicate on the "email_verified_at" field.
func EmailVerifiedAtIn ¶
EmailVerifiedAtIn applies the In predicate on the "email_verified_at" field.
func EmailVerifiedAtIsNil ¶
EmailVerifiedAtIsNil applies the IsNil predicate on the "email_verified_at" field.
func EmailVerifiedAtLT ¶
EmailVerifiedAtLT applies the LT predicate on the "email_verified_at" field.
func EmailVerifiedAtLTE ¶
EmailVerifiedAtLTE applies the LTE predicate on the "email_verified_at" field.
func EmailVerifiedAtNEQ ¶
EmailVerifiedAtNEQ applies the NEQ predicate on the "email_verified_at" field.
func EmailVerifiedAtNotIn ¶
EmailVerifiedAtNotIn applies the NotIn predicate on the "email_verified_at" field.
func EmailVerifiedAtNotNil ¶
EmailVerifiedAtNotNil applies the NotNil predicate on the "email_verified_at" field.
func FirstName ¶
FirstName applies equality check predicate on the "first_name" field. It's identical to FirstNameEQ.
func FirstNameContains ¶
FirstNameContains applies the Contains predicate on the "first_name" field.
func FirstNameContainsFold ¶
FirstNameContainsFold applies the ContainsFold predicate on the "first_name" field.
func FirstNameEQ ¶
FirstNameEQ applies the EQ predicate on the "first_name" field.
func FirstNameEqualFold ¶
FirstNameEqualFold applies the EqualFold predicate on the "first_name" field.
func FirstNameGT ¶
FirstNameGT applies the GT predicate on the "first_name" field.
func FirstNameGTE ¶
FirstNameGTE applies the GTE predicate on the "first_name" field.
func FirstNameHasPrefix ¶
FirstNameHasPrefix applies the HasPrefix predicate on the "first_name" field.
func FirstNameHasSuffix ¶
FirstNameHasSuffix applies the HasSuffix predicate on the "first_name" field.
func FirstNameIn ¶
FirstNameIn applies the In predicate on the "first_name" field.
func FirstNameLT ¶
FirstNameLT applies the LT predicate on the "first_name" field.
func FirstNameLTE ¶
FirstNameLTE applies the LTE predicate on the "first_name" field.
func FirstNameNEQ ¶
FirstNameNEQ applies the NEQ predicate on the "first_name" field.
func FirstNameNotIn ¶
FirstNameNotIn applies the NotIn predicate on the "first_name" field.
func GenderIsNil ¶
GenderIsNil applies the IsNil predicate on the "gender" field.
func GenderNotIn ¶
GenderNotIn applies the NotIn predicate on the "gender" field.
func GenderNotNil ¶
GenderNotNil applies the NotNil predicate on the "gender" field.
func GenderValidator ¶
GenderValidator is a validator for the "gender" field enum values. It is called by the builders before save.
func HasAuthentications ¶
HasAuthentications applies the HasEdge predicate on the "authentications" edge.
func HasAuthenticationsWith ¶
func HasAuthenticationsWith(preds ...predicate.Authentication) predicate.Person
HasAuthenticationsWith applies the HasEdge predicate on the "authentications" edge with a given conditions (other predicates).
func HasAuthorizations ¶
HasAuthorizations applies the HasEdge predicate on the "authorizations" edge.
func HasAuthorizationsWith ¶
func HasAuthorizationsWith(preds ...predicate.Authorization) predicate.Person
HasAuthorizationsWith applies the HasEdge predicate on the "authorizations" edge with a given conditions (other predicates).
func Language ¶
Language applies equality check predicate on the "language" field. It's identical to LanguageEQ.
func LanguageContains ¶
LanguageContains applies the Contains predicate on the "language" field.
func LanguageContainsFold ¶
LanguageContainsFold applies the ContainsFold predicate on the "language" field.
func LanguageEQ ¶
LanguageEQ applies the EQ predicate on the "language" field.
func LanguageEqualFold ¶
LanguageEqualFold applies the EqualFold predicate on the "language" field.
func LanguageGT ¶
LanguageGT applies the GT predicate on the "language" field.
func LanguageGTE ¶
LanguageGTE applies the GTE predicate on the "language" field.
func LanguageHasPrefix ¶
LanguageHasPrefix applies the HasPrefix predicate on the "language" field.
func LanguageHasSuffix ¶
LanguageHasSuffix applies the HasSuffix predicate on the "language" field.
func LanguageIn ¶
LanguageIn applies the In predicate on the "language" field.
func LanguageLT ¶
LanguageLT applies the LT predicate on the "language" field.
func LanguageLTE ¶
LanguageLTE applies the LTE predicate on the "language" field.
func LanguageNEQ ¶
LanguageNEQ applies the NEQ predicate on the "language" field.
func LanguageNotIn ¶
LanguageNotIn applies the NotIn predicate on the "language" field.
func LastName ¶
LastName applies equality check predicate on the "last_name" field. It's identical to LastNameEQ.
func LastNameContains ¶
LastNameContains applies the Contains predicate on the "last_name" field.
func LastNameContainsFold ¶
LastNameContainsFold applies the ContainsFold predicate on the "last_name" field.
func LastNameEQ ¶
LastNameEQ applies the EQ predicate on the "last_name" field.
func LastNameEqualFold ¶
LastNameEqualFold applies the EqualFold predicate on the "last_name" field.
func LastNameGT ¶
LastNameGT applies the GT predicate on the "last_name" field.
func LastNameGTE ¶
LastNameGTE applies the GTE predicate on the "last_name" field.
func LastNameHasPrefix ¶
LastNameHasPrefix applies the HasPrefix predicate on the "last_name" field.
func LastNameHasSuffix ¶
LastNameHasSuffix applies the HasSuffix predicate on the "last_name" field.
func LastNameIn ¶
LastNameIn applies the In predicate on the "last_name" field.
func LastNameIsNil ¶
LastNameIsNil applies the IsNil predicate on the "last_name" field.
func LastNameLT ¶
LastNameLT applies the LT predicate on the "last_name" field.
func LastNameLTE ¶
LastNameLTE applies the LTE predicate on the "last_name" field.
func LastNameNEQ ¶
LastNameNEQ applies the NEQ predicate on the "last_name" field.
func LastNameNotIn ¶
LastNameNotIn applies the NotIn predicate on the "last_name" field.
func LastNameNotNil ¶
LastNameNotNil applies the NotNil predicate on the "last_name" field.
func Password ¶
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
PasswordIn applies the In predicate on the "password" field.
func PasswordLT ¶
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
PasswordNotIn applies the NotIn predicate on the "password" field.
func Phone ¶
Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
func PhoneContains ¶
PhoneContains applies the Contains predicate on the "phone" field.
func PhoneContainsFold ¶
PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
func PhoneEqualFold ¶
PhoneEqualFold applies the EqualFold predicate on the "phone" field.
func PhoneHasPrefix ¶
PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
func PhoneHasSuffix ¶
PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
func PhoneIsNil ¶
PhoneIsNil applies the IsNil predicate on the "phone" field.
func PhoneNotIn ¶
PhoneNotIn applies the NotIn predicate on the "phone" field.
func PhoneNotNil ¶
PhoneNotNil applies the NotNil predicate on the "phone" field.
func PostalCode ¶
PostalCode applies equality check predicate on the "postal_code" field. It's identical to PostalCodeEQ.
func PostalCodeContains ¶
PostalCodeContains applies the Contains predicate on the "postal_code" field.
func PostalCodeContainsFold ¶
PostalCodeContainsFold applies the ContainsFold predicate on the "postal_code" field.
func PostalCodeEQ ¶
PostalCodeEQ applies the EQ predicate on the "postal_code" field.
func PostalCodeEqualFold ¶
PostalCodeEqualFold applies the EqualFold predicate on the "postal_code" field.
func PostalCodeGT ¶
PostalCodeGT applies the GT predicate on the "postal_code" field.
func PostalCodeGTE ¶
PostalCodeGTE applies the GTE predicate on the "postal_code" field.
func PostalCodeHasPrefix ¶
PostalCodeHasPrefix applies the HasPrefix predicate on the "postal_code" field.
func PostalCodeHasSuffix ¶
PostalCodeHasSuffix applies the HasSuffix predicate on the "postal_code" field.
func PostalCodeIn ¶
PostalCodeIn applies the In predicate on the "postal_code" field.
func PostalCodeIsNil ¶
PostalCodeIsNil applies the IsNil predicate on the "postal_code" field.
func PostalCodeLT ¶
PostalCodeLT applies the LT predicate on the "postal_code" field.
func PostalCodeLTE ¶
PostalCodeLTE applies the LTE predicate on the "postal_code" field.
func PostalCodeNEQ ¶
PostalCodeNEQ applies the NEQ predicate on the "postal_code" field.
func PostalCodeNotIn ¶
PostalCodeNotIn applies the NotIn predicate on the "postal_code" field.
func PostalCodeNotNil ¶
PostalCodeNotNil applies the NotNil predicate on the "postal_code" field.
func StripeID ¶
StripeID applies equality check predicate on the "stripe_id" field. It's identical to StripeIDEQ.
func StripeIDContains ¶
StripeIDContains applies the Contains predicate on the "stripe_id" field.
func StripeIDContainsFold ¶
StripeIDContainsFold applies the ContainsFold predicate on the "stripe_id" field.
func StripeIDEQ ¶
StripeIDEQ applies the EQ predicate on the "stripe_id" field.
func StripeIDEqualFold ¶
StripeIDEqualFold applies the EqualFold predicate on the "stripe_id" field.
func StripeIDGT ¶
StripeIDGT applies the GT predicate on the "stripe_id" field.
func StripeIDGTE ¶
StripeIDGTE applies the GTE predicate on the "stripe_id" field.
func StripeIDHasPrefix ¶
StripeIDHasPrefix applies the HasPrefix predicate on the "stripe_id" field.
func StripeIDHasSuffix ¶
StripeIDHasSuffix applies the HasSuffix predicate on the "stripe_id" field.
func StripeIDIn ¶
StripeIDIn applies the In predicate on the "stripe_id" field.
func StripeIDIsNil ¶
StripeIDIsNil applies the IsNil predicate on the "stripe_id" field.
func StripeIDLT ¶
StripeIDLT applies the LT predicate on the "stripe_id" field.
func StripeIDLTE ¶
StripeIDLTE applies the LTE predicate on the "stripe_id" field.
func StripeIDNEQ ¶
StripeIDNEQ applies the NEQ predicate on the "stripe_id" field.
func StripeIDNotIn ¶
StripeIDNotIn applies the NotIn predicate on the "stripe_id" field.
func StripeIDNotNil ¶
StripeIDNotNil applies the NotNil predicate on the "stripe_id" field.
func Subscribed ¶
Subscribed applies equality check predicate on the "subscribed" field. It's identical to SubscribedEQ.
func SubscribedEQ ¶
SubscribedEQ applies the EQ predicate on the "subscribed" field.
func SubscribedNEQ ¶
SubscribedNEQ applies the NEQ predicate on the "subscribed" field.
func TaxID ¶
TaxID applies equality check predicate on the "tax_id" field. It's identical to TaxIDEQ.
func TaxIDContains ¶
TaxIDContains applies the Contains predicate on the "tax_id" field.
func TaxIDContainsFold ¶
TaxIDContainsFold applies the ContainsFold predicate on the "tax_id" field.
func TaxIDEqualFold ¶
TaxIDEqualFold applies the EqualFold predicate on the "tax_id" field.
func TaxIDHasPrefix ¶
TaxIDHasPrefix applies the HasPrefix predicate on the "tax_id" field.
func TaxIDHasSuffix ¶
TaxIDHasSuffix applies the HasSuffix predicate on the "tax_id" field.
func TaxIDNotIn ¶
TaxIDNotIn applies the NotIn predicate on the "tax_id" 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).
Types ¶
type Gender ¶
type Gender string
Gender defines the type for the "gender" enum field.
const ( GenderWoman Gender = "woman" GenderMan Gender = "man" GenderNonBinary Gender = "nonbinary" )
Gender values.
func (Gender) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Gender) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.
type OrderOption ¶
OrderOption defines the ordering options for the Person queries.
func ByAddress ¶
func ByAddress(opts ...sql.OrderTermOption) OrderOption
ByAddress orders the results by the address field.
func ByAuthentications ¶
func ByAuthentications(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAuthentications orders the results by authentications terms.
func ByAuthenticationsCount ¶
func ByAuthenticationsCount(opts ...sql.OrderTermOption) OrderOption
ByAuthenticationsCount orders the results by authentications count.
func ByAuthorizations ¶
func ByAuthorizations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAuthorizations orders the results by authorizations terms.
func ByAuthorizationsCount ¶
func ByAuthorizationsCount(opts ...sql.OrderTermOption) OrderOption
ByAuthorizationsCount orders the results by authorizations count.
func ByBirthdate ¶
func ByBirthdate(opts ...sql.OrderTermOption) OrderOption
ByBirthdate orders the results by the birthdate field.
func ByCity ¶
func ByCity(opts ...sql.OrderTermOption) OrderOption
ByCity orders the results by the city field.
func ByCountry ¶
func ByCountry(opts ...sql.OrderTermOption) OrderOption
ByCountry orders the results by the country field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByEmailVerifiedAt ¶
func ByEmailVerifiedAt(opts ...sql.OrderTermOption) OrderOption
ByEmailVerifiedAt orders the results by the email_verified_at field.
func ByFirstName ¶
func ByFirstName(opts ...sql.OrderTermOption) OrderOption
ByFirstName orders the results by the first_name field.
func ByGender ¶
func ByGender(opts ...sql.OrderTermOption) OrderOption
ByGender orders the results by the gender field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLanguage ¶
func ByLanguage(opts ...sql.OrderTermOption) OrderOption
ByLanguage orders the results by the language field.
func ByLastName ¶
func ByLastName(opts ...sql.OrderTermOption) OrderOption
ByLastName orders the results by the last_name field.
func ByPassword ¶
func ByPassword(opts ...sql.OrderTermOption) OrderOption
ByPassword orders the results by the password field.
func ByPhone ¶
func ByPhone(opts ...sql.OrderTermOption) OrderOption
ByPhone orders the results by the phone field.
func ByPostalCode ¶
func ByPostalCode(opts ...sql.OrderTermOption) OrderOption
ByPostalCode orders the results by the postal_code field.
func ByStripeID ¶
func ByStripeID(opts ...sql.OrderTermOption) OrderOption
ByStripeID orders the results by the stripe_id field.
func BySubscribed ¶
func BySubscribed(opts ...sql.OrderTermOption) OrderOption
BySubscribed orders the results by the subscribed field.
func ByTaxID ¶
func ByTaxID(opts ...sql.OrderTermOption) OrderOption
ByTaxID orders the results by the tax_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.