person

package
v0.0.0-...-f60b9ba Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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"
	// FieldDateCreated holds the string denoting the date_created field in the database.
	FieldDateCreated = "date_created"
	// FieldDateUpdated holds the string denoting the date_updated field in the database.
	FieldDateUpdated = "date_updated"
	// FieldPublicID holds the string denoting the public_id field in the database.
	FieldPublicID = "public_id"
	// FieldIdentifier holds the string denoting the identifier field in the database.
	FieldIdentifier = "identifier"
	// FieldIdentifierValues holds the string denoting the identifier_values field in the database.
	FieldIdentifierValues = "identifier_values"
	// FieldActive holds the string denoting the active field in the database.
	FieldActive = "active"
	// FieldBirthDate holds the string denoting the birth_date field in the database.
	FieldBirthDate = "birth_date"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldGivenName holds the string denoting the given_name field in the database.
	FieldGivenName = "given_name"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldFamilyName holds the string denoting the family_name field in the database.
	FieldFamilyName = "family_name"
	// FieldJobCategory holds the string denoting the job_category field in the database.
	FieldJobCategory = "job_category"
	// FieldPreferredGivenName holds the string denoting the preferred_given_name field in the database.
	FieldPreferredGivenName = "preferred_given_name"
	// FieldPreferredFamilyName holds the string denoting the preferred_family_name field in the database.
	FieldPreferredFamilyName = "preferred_family_name"
	// FieldHonorificPrefix holds the string denoting the honorific_prefix field in the database.
	FieldHonorificPrefix = "honorific_prefix"
	// FieldRole holds the string denoting the role field in the database.
	FieldRole = "role"
	// FieldSettings holds the string denoting the settings field in the database.
	FieldSettings = "settings"
	// FieldObjectClass holds the string denoting the object_class field in the database.
	FieldObjectClass = "object_class"
	// FieldExpirationDate holds the string denoting the expiration_date field in the database.
	FieldExpirationDate = "expiration_date"
	// FieldToken holds the string denoting the token field in the database.
	FieldToken = "token"
	// Table holds the table name of the person in the database.
	Table = "person"
)

Variables

View Source
var (
	// DefaultDateCreated holds the default value on creation for the "date_created" field.
	DefaultDateCreated func() time.Time
	// DefaultDateUpdated holds the default value on creation for the "date_updated" field.
	DefaultDateUpdated func() time.Time
	// UpdateDefaultDateUpdated holds the default value on update for the "date_updated" field.
	UpdateDefaultDateUpdated func() time.Time
	// DefaultPublicID holds the default value on creation for the "public_id" field.
	DefaultPublicID func() string
	// DefaultIdentifier holds the default value on creation for the "identifier" field.
	DefaultIdentifier []string
	// DefaultIdentifierValues holds the default value on creation for the "identifier_values" field.
	DefaultIdentifierValues []string
	// DefaultActive holds the default value on creation for the "active" field.
	DefaultActive bool
	// DefaultJobCategory holds the default value on creation for the "job_category" field.
	DefaultJobCategory []string
	// DefaultRole holds the default value on creation for the "role" field.
	DefaultRole []string
	// DefaultSettings holds the default value on creation for the "settings" field.
	DefaultSettings map[string]string
	// DefaultObjectClass holds the default value on creation for the "object_class" field.
	DefaultObjectClass []string
	// DefaultToken holds the default value on creation for the "token" field.
	DefaultToken []string
)

Columns holds all SQL columns for person fields.

Functions

func Active

func Active(v bool) predicate.Person

Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.

func ActiveEQ

func ActiveEQ(v bool) predicate.Person

ActiveEQ applies the EQ predicate on the "active" field.

func ActiveNEQ

func ActiveNEQ(v bool) predicate.Person

ActiveNEQ applies the NEQ predicate on the "active" field.

func And

func And(predicates ...predicate.Person) predicate.Person

And groups predicates with the AND operator between them.

func BirthDate

func BirthDate(v string) predicate.Person

BirthDate applies equality check predicate on the "birth_date" field. It's identical to BirthDateEQ.

func BirthDateContains

func BirthDateContains(v string) predicate.Person

BirthDateContains applies the Contains predicate on the "birth_date" field.

func BirthDateContainsFold

func BirthDateContainsFold(v string) predicate.Person

BirthDateContainsFold applies the ContainsFold predicate on the "birth_date" field.

func BirthDateEQ

func BirthDateEQ(v string) predicate.Person

BirthDateEQ applies the EQ predicate on the "birth_date" field.

func BirthDateEqualFold

func BirthDateEqualFold(v string) predicate.Person

BirthDateEqualFold applies the EqualFold predicate on the "birth_date" field.

func BirthDateGT

func BirthDateGT(v string) predicate.Person

BirthDateGT applies the GT predicate on the "birth_date" field.

func BirthDateGTE

func BirthDateGTE(v string) predicate.Person

BirthDateGTE applies the GTE predicate on the "birth_date" field.

func BirthDateHasPrefix

func BirthDateHasPrefix(v string) predicate.Person

BirthDateHasPrefix applies the HasPrefix predicate on the "birth_date" field.

func BirthDateHasSuffix

func BirthDateHasSuffix(v string) predicate.Person

BirthDateHasSuffix applies the HasSuffix predicate on the "birth_date" field.

func BirthDateIn

func BirthDateIn(vs ...string) predicate.Person

BirthDateIn applies the In predicate on the "birth_date" field.

func BirthDateIsNil

func BirthDateIsNil() predicate.Person

BirthDateIsNil applies the IsNil predicate on the "birth_date" field.

func BirthDateLT

func BirthDateLT(v string) predicate.Person

BirthDateLT applies the LT predicate on the "birth_date" field.

func BirthDateLTE

func BirthDateLTE(v string) predicate.Person

BirthDateLTE applies the LTE predicate on the "birth_date" field.

func BirthDateNEQ

func BirthDateNEQ(v string) predicate.Person

BirthDateNEQ applies the NEQ predicate on the "birth_date" field.

func BirthDateNotIn

func BirthDateNotIn(vs ...string) predicate.Person

BirthDateNotIn applies the NotIn predicate on the "birth_date" field.

func BirthDateNotNil

func BirthDateNotNil() predicate.Person

BirthDateNotNil applies the NotNil predicate on the "birth_date" field.

func DateCreated

func DateCreated(v time.Time) predicate.Person

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

func DateCreatedEQ

func DateCreatedEQ(v time.Time) predicate.Person

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

func DateCreatedGT

func DateCreatedGT(v time.Time) predicate.Person

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

func DateCreatedGTE

func DateCreatedGTE(v time.Time) predicate.Person

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

func DateCreatedIn

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

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

func DateCreatedLT

func DateCreatedLT(v time.Time) predicate.Person

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

func DateCreatedLTE

func DateCreatedLTE(v time.Time) predicate.Person

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

func DateCreatedNEQ

func DateCreatedNEQ(v time.Time) predicate.Person

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

func DateCreatedNotIn

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

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

func DateUpdated

func DateUpdated(v time.Time) predicate.Person

DateUpdated applies equality check predicate on the "date_updated" field. It's identical to DateUpdatedEQ.

func DateUpdatedEQ

func DateUpdatedEQ(v time.Time) predicate.Person

DateUpdatedEQ applies the EQ predicate on the "date_updated" field.

func DateUpdatedGT

func DateUpdatedGT(v time.Time) predicate.Person

DateUpdatedGT applies the GT predicate on the "date_updated" field.

func DateUpdatedGTE

func DateUpdatedGTE(v time.Time) predicate.Person

DateUpdatedGTE applies the GTE predicate on the "date_updated" field.

func DateUpdatedIn

func DateUpdatedIn(vs ...time.Time) predicate.Person

DateUpdatedIn applies the In predicate on the "date_updated" field.

func DateUpdatedLT

func DateUpdatedLT(v time.Time) predicate.Person

DateUpdatedLT applies the LT predicate on the "date_updated" field.

func DateUpdatedLTE

func DateUpdatedLTE(v time.Time) predicate.Person

DateUpdatedLTE applies the LTE predicate on the "date_updated" field.

func DateUpdatedNEQ

func DateUpdatedNEQ(v time.Time) predicate.Person

DateUpdatedNEQ applies the NEQ predicate on the "date_updated" field.

func DateUpdatedNotIn

func DateUpdatedNotIn(vs ...time.Time) predicate.Person

DateUpdatedNotIn applies the NotIn predicate on the "date_updated" field.

func Email

func Email(v string) predicate.Person

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.Person

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.Person

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.Person

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.Person

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.Person

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.Person

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.Person

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.Person

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.Person

EmailIn applies the In predicate on the "email" field.

func EmailIsNil

func EmailIsNil() predicate.Person

EmailIsNil applies the IsNil predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.Person

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.Person

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.Person

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.Person

EmailNotIn applies the NotIn predicate on the "email" field.

func EmailNotNil

func EmailNotNil() predicate.Person

EmailNotNil applies the NotNil predicate on the "email" field.

func ExpirationDate

func ExpirationDate(v string) predicate.Person

ExpirationDate applies equality check predicate on the "expiration_date" field. It's identical to ExpirationDateEQ.

func ExpirationDateContains

func ExpirationDateContains(v string) predicate.Person

ExpirationDateContains applies the Contains predicate on the "expiration_date" field.

func ExpirationDateContainsFold

func ExpirationDateContainsFold(v string) predicate.Person

ExpirationDateContainsFold applies the ContainsFold predicate on the "expiration_date" field.

func ExpirationDateEQ

func ExpirationDateEQ(v string) predicate.Person

ExpirationDateEQ applies the EQ predicate on the "expiration_date" field.

func ExpirationDateEqualFold

func ExpirationDateEqualFold(v string) predicate.Person

ExpirationDateEqualFold applies the EqualFold predicate on the "expiration_date" field.

func ExpirationDateGT

func ExpirationDateGT(v string) predicate.Person

ExpirationDateGT applies the GT predicate on the "expiration_date" field.

func ExpirationDateGTE

func ExpirationDateGTE(v string) predicate.Person

ExpirationDateGTE applies the GTE predicate on the "expiration_date" field.

func ExpirationDateHasPrefix

func ExpirationDateHasPrefix(v string) predicate.Person

ExpirationDateHasPrefix applies the HasPrefix predicate on the "expiration_date" field.

func ExpirationDateHasSuffix

func ExpirationDateHasSuffix(v string) predicate.Person

ExpirationDateHasSuffix applies the HasSuffix predicate on the "expiration_date" field.

func ExpirationDateIn

func ExpirationDateIn(vs ...string) predicate.Person

ExpirationDateIn applies the In predicate on the "expiration_date" field.

func ExpirationDateIsNil

func ExpirationDateIsNil() predicate.Person

ExpirationDateIsNil applies the IsNil predicate on the "expiration_date" field.

func ExpirationDateLT

func ExpirationDateLT(v string) predicate.Person

ExpirationDateLT applies the LT predicate on the "expiration_date" field.

func ExpirationDateLTE

func ExpirationDateLTE(v string) predicate.Person

ExpirationDateLTE applies the LTE predicate on the "expiration_date" field.

func ExpirationDateNEQ

func ExpirationDateNEQ(v string) predicate.Person

ExpirationDateNEQ applies the NEQ predicate on the "expiration_date" field.

func ExpirationDateNotIn

func ExpirationDateNotIn(vs ...string) predicate.Person

ExpirationDateNotIn applies the NotIn predicate on the "expiration_date" field.

func ExpirationDateNotNil

func ExpirationDateNotNil() predicate.Person

ExpirationDateNotNil applies the NotNil predicate on the "expiration_date" field.

func FamilyName

func FamilyName(v string) predicate.Person

FamilyName applies equality check predicate on the "family_name" field. It's identical to FamilyNameEQ.

func FamilyNameContains

func FamilyNameContains(v string) predicate.Person

FamilyNameContains applies the Contains predicate on the "family_name" field.

func FamilyNameContainsFold

func FamilyNameContainsFold(v string) predicate.Person

FamilyNameContainsFold applies the ContainsFold predicate on the "family_name" field.

func FamilyNameEQ

func FamilyNameEQ(v string) predicate.Person

FamilyNameEQ applies the EQ predicate on the "family_name" field.

func FamilyNameEqualFold

func FamilyNameEqualFold(v string) predicate.Person

FamilyNameEqualFold applies the EqualFold predicate on the "family_name" field.

func FamilyNameGT

func FamilyNameGT(v string) predicate.Person

FamilyNameGT applies the GT predicate on the "family_name" field.

func FamilyNameGTE

func FamilyNameGTE(v string) predicate.Person

FamilyNameGTE applies the GTE predicate on the "family_name" field.

func FamilyNameHasPrefix

func FamilyNameHasPrefix(v string) predicate.Person

FamilyNameHasPrefix applies the HasPrefix predicate on the "family_name" field.

func FamilyNameHasSuffix

func FamilyNameHasSuffix(v string) predicate.Person

FamilyNameHasSuffix applies the HasSuffix predicate on the "family_name" field.

func FamilyNameIn

func FamilyNameIn(vs ...string) predicate.Person

FamilyNameIn applies the In predicate on the "family_name" field.

func FamilyNameIsNil

func FamilyNameIsNil() predicate.Person

FamilyNameIsNil applies the IsNil predicate on the "family_name" field.

func FamilyNameLT

func FamilyNameLT(v string) predicate.Person

FamilyNameLT applies the LT predicate on the "family_name" field.

func FamilyNameLTE

func FamilyNameLTE(v string) predicate.Person

FamilyNameLTE applies the LTE predicate on the "family_name" field.

func FamilyNameNEQ

func FamilyNameNEQ(v string) predicate.Person

FamilyNameNEQ applies the NEQ predicate on the "family_name" field.

func FamilyNameNotIn

func FamilyNameNotIn(vs ...string) predicate.Person

FamilyNameNotIn applies the NotIn predicate on the "family_name" field.

func FamilyNameNotNil

func FamilyNameNotNil() predicate.Person

FamilyNameNotNil applies the NotNil predicate on the "family_name" field.

func GivenName

func GivenName(v string) predicate.Person

GivenName applies equality check predicate on the "given_name" field. It's identical to GivenNameEQ.

func GivenNameContains

func GivenNameContains(v string) predicate.Person

GivenNameContains applies the Contains predicate on the "given_name" field.

func GivenNameContainsFold

func GivenNameContainsFold(v string) predicate.Person

GivenNameContainsFold applies the ContainsFold predicate on the "given_name" field.

func GivenNameEQ

func GivenNameEQ(v string) predicate.Person

GivenNameEQ applies the EQ predicate on the "given_name" field.

func GivenNameEqualFold

func GivenNameEqualFold(v string) predicate.Person

GivenNameEqualFold applies the EqualFold predicate on the "given_name" field.

func GivenNameGT

func GivenNameGT(v string) predicate.Person

GivenNameGT applies the GT predicate on the "given_name" field.

func GivenNameGTE

func GivenNameGTE(v string) predicate.Person

GivenNameGTE applies the GTE predicate on the "given_name" field.

func GivenNameHasPrefix

func GivenNameHasPrefix(v string) predicate.Person

GivenNameHasPrefix applies the HasPrefix predicate on the "given_name" field.

func GivenNameHasSuffix

func GivenNameHasSuffix(v string) predicate.Person

GivenNameHasSuffix applies the HasSuffix predicate on the "given_name" field.

func GivenNameIn

func GivenNameIn(vs ...string) predicate.Person

GivenNameIn applies the In predicate on the "given_name" field.

func GivenNameIsNil

func GivenNameIsNil() predicate.Person

GivenNameIsNil applies the IsNil predicate on the "given_name" field.

func GivenNameLT

func GivenNameLT(v string) predicate.Person

GivenNameLT applies the LT predicate on the "given_name" field.

func GivenNameLTE

func GivenNameLTE(v string) predicate.Person

GivenNameLTE applies the LTE predicate on the "given_name" field.

func GivenNameNEQ

func GivenNameNEQ(v string) predicate.Person

GivenNameNEQ applies the NEQ predicate on the "given_name" field.

func GivenNameNotIn

func GivenNameNotIn(vs ...string) predicate.Person

GivenNameNotIn applies the NotIn predicate on the "given_name" field.

func GivenNameNotNil

func GivenNameNotNil() predicate.Person

GivenNameNotNil applies the NotNil predicate on the "given_name" field.

func HonorificPrefix

func HonorificPrefix(v string) predicate.Person

HonorificPrefix applies equality check predicate on the "honorific_prefix" field. It's identical to HonorificPrefixEQ.

func HonorificPrefixContains

func HonorificPrefixContains(v string) predicate.Person

HonorificPrefixContains applies the Contains predicate on the "honorific_prefix" field.

func HonorificPrefixContainsFold

func HonorificPrefixContainsFold(v string) predicate.Person

HonorificPrefixContainsFold applies the ContainsFold predicate on the "honorific_prefix" field.

func HonorificPrefixEQ

func HonorificPrefixEQ(v string) predicate.Person

HonorificPrefixEQ applies the EQ predicate on the "honorific_prefix" field.

func HonorificPrefixEqualFold

func HonorificPrefixEqualFold(v string) predicate.Person

HonorificPrefixEqualFold applies the EqualFold predicate on the "honorific_prefix" field.

func HonorificPrefixGT

func HonorificPrefixGT(v string) predicate.Person

HonorificPrefixGT applies the GT predicate on the "honorific_prefix" field.

func HonorificPrefixGTE

func HonorificPrefixGTE(v string) predicate.Person

HonorificPrefixGTE applies the GTE predicate on the "honorific_prefix" field.

func HonorificPrefixHasPrefix

func HonorificPrefixHasPrefix(v string) predicate.Person

HonorificPrefixHasPrefix applies the HasPrefix predicate on the "honorific_prefix" field.

func HonorificPrefixHasSuffix

func HonorificPrefixHasSuffix(v string) predicate.Person

HonorificPrefixHasSuffix applies the HasSuffix predicate on the "honorific_prefix" field.

func HonorificPrefixIn

func HonorificPrefixIn(vs ...string) predicate.Person

HonorificPrefixIn applies the In predicate on the "honorific_prefix" field.

func HonorificPrefixIsNil

func HonorificPrefixIsNil() predicate.Person

HonorificPrefixIsNil applies the IsNil predicate on the "honorific_prefix" field.

func HonorificPrefixLT

func HonorificPrefixLT(v string) predicate.Person

HonorificPrefixLT applies the LT predicate on the "honorific_prefix" field.

func HonorificPrefixLTE

func HonorificPrefixLTE(v string) predicate.Person

HonorificPrefixLTE applies the LTE predicate on the "honorific_prefix" field.

func HonorificPrefixNEQ

func HonorificPrefixNEQ(v string) predicate.Person

HonorificPrefixNEQ applies the NEQ predicate on the "honorific_prefix" field.

func HonorificPrefixNotIn

func HonorificPrefixNotIn(vs ...string) predicate.Person

HonorificPrefixNotIn applies the NotIn predicate on the "honorific_prefix" field.

func HonorificPrefixNotNil

func HonorificPrefixNotNil() predicate.Person

HonorificPrefixNotNil applies the NotNil predicate on the "honorific_prefix" field.

func ID

func ID(id int) predicate.Person

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Person

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Person

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Person

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Person

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Person

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Person

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Person

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Person

IDNotIn applies the NotIn predicate on the ID field.

func IdentifierIsNil

func IdentifierIsNil() predicate.Person

IdentifierIsNil applies the IsNil predicate on the "identifier" field.

func IdentifierNotNil

func IdentifierNotNil() predicate.Person

IdentifierNotNil applies the NotNil predicate on the "identifier" field.

func IdentifierValuesIsNil

func IdentifierValuesIsNil() predicate.Person

IdentifierValuesIsNil applies the IsNil predicate on the "identifier_values" field.

func IdentifierValuesNotNil

func IdentifierValuesNotNil() predicate.Person

IdentifierValuesNotNil applies the NotNil predicate on the "identifier_values" field.

func JobCategoryIsNil

func JobCategoryIsNil() predicate.Person

JobCategoryIsNil applies the IsNil predicate on the "job_category" field.

func JobCategoryNotNil

func JobCategoryNotNil() predicate.Person

JobCategoryNotNil applies the NotNil predicate on the "job_category" field.

func Name

func Name(v string) predicate.Person

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

func NameContains

func NameContains(v string) predicate.Person

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

func NameContainsFold

func NameContainsFold(v string) predicate.Person

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

func NameEQ

func NameEQ(v string) predicate.Person

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

func NameEqualFold

func NameEqualFold(v string) predicate.Person

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

func NameGT

func NameGT(v string) predicate.Person

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

func NameGTE

func NameGTE(v string) predicate.Person

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Person

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Person

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

func NameIn

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

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

func NameIsNil

func NameIsNil() predicate.Person

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Person

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

func NameLTE

func NameLTE(v string) predicate.Person

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

func NameNEQ

func NameNEQ(v string) predicate.Person

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

func NameNotIn

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

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

func NameNotNil

func NameNotNil() predicate.Person

NameNotNil applies the NotNil predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func ObjectClassIsNil

func ObjectClassIsNil() predicate.Person

ObjectClassIsNil applies the IsNil predicate on the "object_class" field.

func ObjectClassNotNil

func ObjectClassNotNil() predicate.Person

ObjectClassNotNil applies the NotNil predicate on the "object_class" field.

func Or

func Or(predicates ...predicate.Person) predicate.Person

Or groups predicates with the OR operator between them.

func PreferredFamilyName

func PreferredFamilyName(v string) predicate.Person

PreferredFamilyName applies equality check predicate on the "preferred_family_name" field. It's identical to PreferredFamilyNameEQ.

func PreferredFamilyNameContains

func PreferredFamilyNameContains(v string) predicate.Person

PreferredFamilyNameContains applies the Contains predicate on the "preferred_family_name" field.

func PreferredFamilyNameContainsFold

func PreferredFamilyNameContainsFold(v string) predicate.Person

PreferredFamilyNameContainsFold applies the ContainsFold predicate on the "preferred_family_name" field.

func PreferredFamilyNameEQ

func PreferredFamilyNameEQ(v string) predicate.Person

PreferredFamilyNameEQ applies the EQ predicate on the "preferred_family_name" field.

func PreferredFamilyNameEqualFold

func PreferredFamilyNameEqualFold(v string) predicate.Person

PreferredFamilyNameEqualFold applies the EqualFold predicate on the "preferred_family_name" field.

func PreferredFamilyNameGT

func PreferredFamilyNameGT(v string) predicate.Person

PreferredFamilyNameGT applies the GT predicate on the "preferred_family_name" field.

func PreferredFamilyNameGTE

func PreferredFamilyNameGTE(v string) predicate.Person

PreferredFamilyNameGTE applies the GTE predicate on the "preferred_family_name" field.

func PreferredFamilyNameHasPrefix

func PreferredFamilyNameHasPrefix(v string) predicate.Person

PreferredFamilyNameHasPrefix applies the HasPrefix predicate on the "preferred_family_name" field.

func PreferredFamilyNameHasSuffix

func PreferredFamilyNameHasSuffix(v string) predicate.Person

PreferredFamilyNameHasSuffix applies the HasSuffix predicate on the "preferred_family_name" field.

func PreferredFamilyNameIn

func PreferredFamilyNameIn(vs ...string) predicate.Person

PreferredFamilyNameIn applies the In predicate on the "preferred_family_name" field.

func PreferredFamilyNameIsNil

func PreferredFamilyNameIsNil() predicate.Person

PreferredFamilyNameIsNil applies the IsNil predicate on the "preferred_family_name" field.

func PreferredFamilyNameLT

func PreferredFamilyNameLT(v string) predicate.Person

PreferredFamilyNameLT applies the LT predicate on the "preferred_family_name" field.

func PreferredFamilyNameLTE

func PreferredFamilyNameLTE(v string) predicate.Person

PreferredFamilyNameLTE applies the LTE predicate on the "preferred_family_name" field.

func PreferredFamilyNameNEQ

func PreferredFamilyNameNEQ(v string) predicate.Person

PreferredFamilyNameNEQ applies the NEQ predicate on the "preferred_family_name" field.

func PreferredFamilyNameNotIn

func PreferredFamilyNameNotIn(vs ...string) predicate.Person

PreferredFamilyNameNotIn applies the NotIn predicate on the "preferred_family_name" field.

func PreferredFamilyNameNotNil

func PreferredFamilyNameNotNil() predicate.Person

PreferredFamilyNameNotNil applies the NotNil predicate on the "preferred_family_name" field.

func PreferredGivenName

func PreferredGivenName(v string) predicate.Person

PreferredGivenName applies equality check predicate on the "preferred_given_name" field. It's identical to PreferredGivenNameEQ.

func PreferredGivenNameContains

func PreferredGivenNameContains(v string) predicate.Person

PreferredGivenNameContains applies the Contains predicate on the "preferred_given_name" field.

func PreferredGivenNameContainsFold

func PreferredGivenNameContainsFold(v string) predicate.Person

PreferredGivenNameContainsFold applies the ContainsFold predicate on the "preferred_given_name" field.

func PreferredGivenNameEQ

func PreferredGivenNameEQ(v string) predicate.Person

PreferredGivenNameEQ applies the EQ predicate on the "preferred_given_name" field.

func PreferredGivenNameEqualFold

func PreferredGivenNameEqualFold(v string) predicate.Person

PreferredGivenNameEqualFold applies the EqualFold predicate on the "preferred_given_name" field.

func PreferredGivenNameGT

func PreferredGivenNameGT(v string) predicate.Person

PreferredGivenNameGT applies the GT predicate on the "preferred_given_name" field.

func PreferredGivenNameGTE

func PreferredGivenNameGTE(v string) predicate.Person

PreferredGivenNameGTE applies the GTE predicate on the "preferred_given_name" field.

func PreferredGivenNameHasPrefix

func PreferredGivenNameHasPrefix(v string) predicate.Person

PreferredGivenNameHasPrefix applies the HasPrefix predicate on the "preferred_given_name" field.

func PreferredGivenNameHasSuffix

func PreferredGivenNameHasSuffix(v string) predicate.Person

PreferredGivenNameHasSuffix applies the HasSuffix predicate on the "preferred_given_name" field.

func PreferredGivenNameIn

func PreferredGivenNameIn(vs ...string) predicate.Person

PreferredGivenNameIn applies the In predicate on the "preferred_given_name" field.

func PreferredGivenNameIsNil

func PreferredGivenNameIsNil() predicate.Person

PreferredGivenNameIsNil applies the IsNil predicate on the "preferred_given_name" field.

func PreferredGivenNameLT

func PreferredGivenNameLT(v string) predicate.Person

PreferredGivenNameLT applies the LT predicate on the "preferred_given_name" field.

func PreferredGivenNameLTE

func PreferredGivenNameLTE(v string) predicate.Person

PreferredGivenNameLTE applies the LTE predicate on the "preferred_given_name" field.

func PreferredGivenNameNEQ

func PreferredGivenNameNEQ(v string) predicate.Person

PreferredGivenNameNEQ applies the NEQ predicate on the "preferred_given_name" field.

func PreferredGivenNameNotIn

func PreferredGivenNameNotIn(vs ...string) predicate.Person

PreferredGivenNameNotIn applies the NotIn predicate on the "preferred_given_name" field.

func PreferredGivenNameNotNil

func PreferredGivenNameNotNil() predicate.Person

PreferredGivenNameNotNil applies the NotNil predicate on the "preferred_given_name" field.

func PublicID

func PublicID(v string) predicate.Person

PublicID applies equality check predicate on the "public_id" field. It's identical to PublicIDEQ.

func PublicIDContains

func PublicIDContains(v string) predicate.Person

PublicIDContains applies the Contains predicate on the "public_id" field.

func PublicIDContainsFold

func PublicIDContainsFold(v string) predicate.Person

PublicIDContainsFold applies the ContainsFold predicate on the "public_id" field.

func PublicIDEQ

func PublicIDEQ(v string) predicate.Person

PublicIDEQ applies the EQ predicate on the "public_id" field.

func PublicIDEqualFold

func PublicIDEqualFold(v string) predicate.Person

PublicIDEqualFold applies the EqualFold predicate on the "public_id" field.

func PublicIDGT

func PublicIDGT(v string) predicate.Person

PublicIDGT applies the GT predicate on the "public_id" field.

func PublicIDGTE

func PublicIDGTE(v string) predicate.Person

PublicIDGTE applies the GTE predicate on the "public_id" field.

func PublicIDHasPrefix

func PublicIDHasPrefix(v string) predicate.Person

PublicIDHasPrefix applies the HasPrefix predicate on the "public_id" field.

func PublicIDHasSuffix

func PublicIDHasSuffix(v string) predicate.Person

PublicIDHasSuffix applies the HasSuffix predicate on the "public_id" field.

func PublicIDIn

func PublicIDIn(vs ...string) predicate.Person

PublicIDIn applies the In predicate on the "public_id" field.

func PublicIDLT

func PublicIDLT(v string) predicate.Person

PublicIDLT applies the LT predicate on the "public_id" field.

func PublicIDLTE

func PublicIDLTE(v string) predicate.Person

PublicIDLTE applies the LTE predicate on the "public_id" field.

func PublicIDNEQ

func PublicIDNEQ(v string) predicate.Person

PublicIDNEQ applies the NEQ predicate on the "public_id" field.

func PublicIDNotIn

func PublicIDNotIn(vs ...string) predicate.Person

PublicIDNotIn applies the NotIn predicate on the "public_id" field.

func RoleIsNil

func RoleIsNil() predicate.Person

RoleIsNil applies the IsNil predicate on the "role" field.

func RoleNotNil

func RoleNotNil() predicate.Person

RoleNotNil applies the NotNil predicate on the "role" field.

func SettingsIsNil

func SettingsIsNil() predicate.Person

SettingsIsNil applies the IsNil predicate on the "settings" field.

func SettingsNotNil

func SettingsNotNil() predicate.Person

SettingsNotNil applies the NotNil predicate on the "settings" field.

func TokenIsNil

func TokenIsNil() predicate.Person

TokenIsNil applies the IsNil predicate on the "token" field.

func TokenNotNil

func TokenNotNil() predicate.Person

TokenNotNil applies the NotNil predicate on the "token" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Person queries.

func ByActive

func ByActive(opts ...sql.OrderTermOption) OrderOption

ByActive orders the results by the active field.

func ByBirthDate

func ByBirthDate(opts ...sql.OrderTermOption) OrderOption

ByBirthDate orders the results by the birth_date field.

func ByDateCreated

func ByDateCreated(opts ...sql.OrderTermOption) OrderOption

ByDateCreated orders the results by the date_created field.

func ByDateUpdated

func ByDateUpdated(opts ...sql.OrderTermOption) OrderOption

ByDateUpdated orders the results by the date_updated field.

func ByEmail

func ByEmail(opts ...sql.OrderTermOption) OrderOption

ByEmail orders the results by the email field.

func ByExpirationDate

func ByExpirationDate(opts ...sql.OrderTermOption) OrderOption

ByExpirationDate orders the results by the expiration_date field.

func ByFamilyName

func ByFamilyName(opts ...sql.OrderTermOption) OrderOption

ByFamilyName orders the results by the family_name field.

func ByGivenName

func ByGivenName(opts ...sql.OrderTermOption) OrderOption

ByGivenName orders the results by the given_name field.

func ByHonorificPrefix

func ByHonorificPrefix(opts ...sql.OrderTermOption) OrderOption

ByHonorificPrefix orders the results by the honorific_prefix field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByPreferredFamilyName

func ByPreferredFamilyName(opts ...sql.OrderTermOption) OrderOption

ByPreferredFamilyName orders the results by the preferred_family_name field.

func ByPreferredGivenName

func ByPreferredGivenName(opts ...sql.OrderTermOption) OrderOption

ByPreferredGivenName orders the results by the preferred_given_name field.

func ByPublicID

func ByPublicID(opts ...sql.OrderTermOption) OrderOption

ByPublicID orders the results by the public_id field.

Jump to

Keyboard shortcuts

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