human

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the human type in the database.
	Label = "human"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldPrincipalID holds the string denoting the principal_id field in the database.
	FieldPrincipalID = "principal_id"
	// 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"
	// FieldFamilyName holds the string denoting the family_name field in the database.
	FieldFamilyName = "family_name"
	// FieldAvatarURL holds the string denoting the avatar_url field in the database.
	FieldAvatarURL = "avatar_url"
	// FieldLocale holds the string denoting the locale field in the database.
	FieldLocale = "locale"
	// FieldTimezone holds the string denoting the timezone field in the database.
	FieldTimezone = "timezone"
	// FieldIsPlatformAdmin holds the string denoting the is_platform_admin field in the database.
	FieldIsPlatformAdmin = "is_platform_admin"
	// FieldLastLoginAt holds the string denoting the last_login_at field in the database.
	FieldLastLoginAt = "last_login_at"
	// FieldEmailVerifiedAt holds the string denoting the email_verified_at field in the database.
	FieldEmailVerifiedAt = "email_verified_at"
	// EdgePrincipal holds the string denoting the principal edge name in mutations.
	EdgePrincipal = "principal"
	// Table holds the table name of the human in the database.
	Table = "cf_humans"
	// PrincipalTable is the table that holds the principal relation/edge.
	PrincipalTable = "cf_humans"
	// PrincipalInverseTable is the table name for the Principal entity.
	// It exists in this package in order to avoid circular dependency with the "principal" package.
	PrincipalInverseTable = "cf_principals"
	// PrincipalColumn is the table column denoting the principal relation/edge.
	PrincipalColumn = "principal_id"
)

Variables

View Source
var (
	// 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
	// EmailValidator is a validator for the "email" field. It is called by the builders before save.
	EmailValidator func(string) error
	// DefaultLocale holds the default value on creation for the "locale" field.
	DefaultLocale string
	// DefaultTimezone holds the default value on creation for the "timezone" field.
	DefaultTimezone string
	// DefaultIsPlatformAdmin holds the default value on creation for the "is_platform_admin" field.
	DefaultIsPlatformAdmin bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for human fields.

Functions

func And

func And(predicates ...predicate.Human) predicate.Human

And groups predicates with the AND operator between them.

func AvatarURL

func AvatarURL(v string) predicate.Human

AvatarURL applies equality check predicate on the "avatar_url" field. It's identical to AvatarURLEQ.

func AvatarURLContains

func AvatarURLContains(v string) predicate.Human

AvatarURLContains applies the Contains predicate on the "avatar_url" field.

func AvatarURLContainsFold

func AvatarURLContainsFold(v string) predicate.Human

AvatarURLContainsFold applies the ContainsFold predicate on the "avatar_url" field.

func AvatarURLEQ

func AvatarURLEQ(v string) predicate.Human

AvatarURLEQ applies the EQ predicate on the "avatar_url" field.

func AvatarURLEqualFold

func AvatarURLEqualFold(v string) predicate.Human

AvatarURLEqualFold applies the EqualFold predicate on the "avatar_url" field.

func AvatarURLGT

func AvatarURLGT(v string) predicate.Human

AvatarURLGT applies the GT predicate on the "avatar_url" field.

func AvatarURLGTE

func AvatarURLGTE(v string) predicate.Human

AvatarURLGTE applies the GTE predicate on the "avatar_url" field.

func AvatarURLHasPrefix

func AvatarURLHasPrefix(v string) predicate.Human

AvatarURLHasPrefix applies the HasPrefix predicate on the "avatar_url" field.

func AvatarURLHasSuffix

func AvatarURLHasSuffix(v string) predicate.Human

AvatarURLHasSuffix applies the HasSuffix predicate on the "avatar_url" field.

func AvatarURLIn

func AvatarURLIn(vs ...string) predicate.Human

AvatarURLIn applies the In predicate on the "avatar_url" field.

func AvatarURLIsNil

func AvatarURLIsNil() predicate.Human

AvatarURLIsNil applies the IsNil predicate on the "avatar_url" field.

func AvatarURLLT

func AvatarURLLT(v string) predicate.Human

AvatarURLLT applies the LT predicate on the "avatar_url" field.

func AvatarURLLTE

func AvatarURLLTE(v string) predicate.Human

AvatarURLLTE applies the LTE predicate on the "avatar_url" field.

func AvatarURLNEQ

func AvatarURLNEQ(v string) predicate.Human

AvatarURLNEQ applies the NEQ predicate on the "avatar_url" field.

func AvatarURLNotIn

func AvatarURLNotIn(vs ...string) predicate.Human

AvatarURLNotIn applies the NotIn predicate on the "avatar_url" field.

func AvatarURLNotNil

func AvatarURLNotNil() predicate.Human

AvatarURLNotNil applies the NotNil predicate on the "avatar_url" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Human

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Human

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Human

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Human

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Human

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Human

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Human

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Human

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Human

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Email

func Email(v string) predicate.Human

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

func EmailContains

func EmailContains(v string) predicate.Human

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

func EmailContainsFold

func EmailContainsFold(v string) predicate.Human

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

func EmailEQ

func EmailEQ(v string) predicate.Human

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

func EmailEqualFold

func EmailEqualFold(v string) predicate.Human

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

func EmailGT

func EmailGT(v string) predicate.Human

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

func EmailGTE

func EmailGTE(v string) predicate.Human

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

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.Human

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

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.Human

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

func EmailIn

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

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

func EmailLT

func EmailLT(v string) predicate.Human

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

func EmailLTE

func EmailLTE(v string) predicate.Human

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

func EmailNEQ

func EmailNEQ(v string) predicate.Human

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

func EmailNotIn

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

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

func EmailVerifiedAt

func EmailVerifiedAt(v time.Time) predicate.Human

EmailVerifiedAt applies equality check predicate on the "email_verified_at" field. It's identical to EmailVerifiedAtEQ.

func EmailVerifiedAtEQ

func EmailVerifiedAtEQ(v time.Time) predicate.Human

EmailVerifiedAtEQ applies the EQ predicate on the "email_verified_at" field.

func EmailVerifiedAtGT

func EmailVerifiedAtGT(v time.Time) predicate.Human

EmailVerifiedAtGT applies the GT predicate on the "email_verified_at" field.

func EmailVerifiedAtGTE

func EmailVerifiedAtGTE(v time.Time) predicate.Human

EmailVerifiedAtGTE applies the GTE predicate on the "email_verified_at" field.

func EmailVerifiedAtIn

func EmailVerifiedAtIn(vs ...time.Time) predicate.Human

EmailVerifiedAtIn applies the In predicate on the "email_verified_at" field.

func EmailVerifiedAtIsNil

func EmailVerifiedAtIsNil() predicate.Human

EmailVerifiedAtIsNil applies the IsNil predicate on the "email_verified_at" field.

func EmailVerifiedAtLT

func EmailVerifiedAtLT(v time.Time) predicate.Human

EmailVerifiedAtLT applies the LT predicate on the "email_verified_at" field.

func EmailVerifiedAtLTE

func EmailVerifiedAtLTE(v time.Time) predicate.Human

EmailVerifiedAtLTE applies the LTE predicate on the "email_verified_at" field.

func EmailVerifiedAtNEQ

func EmailVerifiedAtNEQ(v time.Time) predicate.Human

EmailVerifiedAtNEQ applies the NEQ predicate on the "email_verified_at" field.

func EmailVerifiedAtNotIn

func EmailVerifiedAtNotIn(vs ...time.Time) predicate.Human

EmailVerifiedAtNotIn applies the NotIn predicate on the "email_verified_at" field.

func EmailVerifiedAtNotNil

func EmailVerifiedAtNotNil() predicate.Human

EmailVerifiedAtNotNil applies the NotNil predicate on the "email_verified_at" field.

func FamilyName

func FamilyName(v string) predicate.Human

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

func FamilyNameContains

func FamilyNameContains(v string) predicate.Human

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

func FamilyNameContainsFold

func FamilyNameContainsFold(v string) predicate.Human

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

func FamilyNameEQ

func FamilyNameEQ(v string) predicate.Human

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

func FamilyNameEqualFold

func FamilyNameEqualFold(v string) predicate.Human

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

func FamilyNameGT

func FamilyNameGT(v string) predicate.Human

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

func FamilyNameGTE

func FamilyNameGTE(v string) predicate.Human

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

func FamilyNameHasPrefix

func FamilyNameHasPrefix(v string) predicate.Human

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

func FamilyNameHasSuffix

func FamilyNameHasSuffix(v string) predicate.Human

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

func FamilyNameIn

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

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

func FamilyNameIsNil

func FamilyNameIsNil() predicate.Human

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

func FamilyNameLT

func FamilyNameLT(v string) predicate.Human

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

func FamilyNameLTE

func FamilyNameLTE(v string) predicate.Human

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

func FamilyNameNEQ

func FamilyNameNEQ(v string) predicate.Human

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

func FamilyNameNotIn

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

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

func FamilyNameNotNil

func FamilyNameNotNil() predicate.Human

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

func GivenName

func GivenName(v string) predicate.Human

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

func GivenNameContains

func GivenNameContains(v string) predicate.Human

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

func GivenNameContainsFold

func GivenNameContainsFold(v string) predicate.Human

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

func GivenNameEQ

func GivenNameEQ(v string) predicate.Human

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

func GivenNameEqualFold

func GivenNameEqualFold(v string) predicate.Human

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

func GivenNameGT

func GivenNameGT(v string) predicate.Human

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

func GivenNameGTE

func GivenNameGTE(v string) predicate.Human

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

func GivenNameHasPrefix

func GivenNameHasPrefix(v string) predicate.Human

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

func GivenNameHasSuffix

func GivenNameHasSuffix(v string) predicate.Human

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

func GivenNameIn

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

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

func GivenNameIsNil

func GivenNameIsNil() predicate.Human

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

func GivenNameLT

func GivenNameLT(v string) predicate.Human

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

func GivenNameLTE

func GivenNameLTE(v string) predicate.Human

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

func GivenNameNEQ

func GivenNameNEQ(v string) predicate.Human

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

func GivenNameNotIn

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

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

func GivenNameNotNil

func GivenNameNotNil() predicate.Human

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

func HasPrincipal

func HasPrincipal() predicate.Human

HasPrincipal applies the HasEdge predicate on the "principal" edge.

func HasPrincipalWith

func HasPrincipalWith(preds ...predicate.Principal) predicate.Human

HasPrincipalWith applies the HasEdge predicate on the "principal" edge with a given conditions (other predicates).

func ID

func ID(id uuid.UUID) predicate.Human

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Human

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Human

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Human

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Human

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Human

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Human

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Human

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Human

IDNotIn applies the NotIn predicate on the ID field.

func IsPlatformAdmin

func IsPlatformAdmin(v bool) predicate.Human

IsPlatformAdmin applies equality check predicate on the "is_platform_admin" field. It's identical to IsPlatformAdminEQ.

func IsPlatformAdminEQ

func IsPlatformAdminEQ(v bool) predicate.Human

IsPlatformAdminEQ applies the EQ predicate on the "is_platform_admin" field.

func IsPlatformAdminNEQ

func IsPlatformAdminNEQ(v bool) predicate.Human

IsPlatformAdminNEQ applies the NEQ predicate on the "is_platform_admin" field.

func LastLoginAt

func LastLoginAt(v time.Time) predicate.Human

LastLoginAt applies equality check predicate on the "last_login_at" field. It's identical to LastLoginAtEQ.

func LastLoginAtEQ

func LastLoginAtEQ(v time.Time) predicate.Human

LastLoginAtEQ applies the EQ predicate on the "last_login_at" field.

func LastLoginAtGT

func LastLoginAtGT(v time.Time) predicate.Human

LastLoginAtGT applies the GT predicate on the "last_login_at" field.

func LastLoginAtGTE

func LastLoginAtGTE(v time.Time) predicate.Human

LastLoginAtGTE applies the GTE predicate on the "last_login_at" field.

func LastLoginAtIn

func LastLoginAtIn(vs ...time.Time) predicate.Human

LastLoginAtIn applies the In predicate on the "last_login_at" field.

func LastLoginAtIsNil

func LastLoginAtIsNil() predicate.Human

LastLoginAtIsNil applies the IsNil predicate on the "last_login_at" field.

func LastLoginAtLT

func LastLoginAtLT(v time.Time) predicate.Human

LastLoginAtLT applies the LT predicate on the "last_login_at" field.

func LastLoginAtLTE

func LastLoginAtLTE(v time.Time) predicate.Human

LastLoginAtLTE applies the LTE predicate on the "last_login_at" field.

func LastLoginAtNEQ

func LastLoginAtNEQ(v time.Time) predicate.Human

LastLoginAtNEQ applies the NEQ predicate on the "last_login_at" field.

func LastLoginAtNotIn

func LastLoginAtNotIn(vs ...time.Time) predicate.Human

LastLoginAtNotIn applies the NotIn predicate on the "last_login_at" field.

func LastLoginAtNotNil

func LastLoginAtNotNil() predicate.Human

LastLoginAtNotNil applies the NotNil predicate on the "last_login_at" field.

func Locale

func Locale(v string) predicate.Human

Locale applies equality check predicate on the "locale" field. It's identical to LocaleEQ.

func LocaleContains

func LocaleContains(v string) predicate.Human

LocaleContains applies the Contains predicate on the "locale" field.

func LocaleContainsFold

func LocaleContainsFold(v string) predicate.Human

LocaleContainsFold applies the ContainsFold predicate on the "locale" field.

func LocaleEQ

func LocaleEQ(v string) predicate.Human

LocaleEQ applies the EQ predicate on the "locale" field.

func LocaleEqualFold

func LocaleEqualFold(v string) predicate.Human

LocaleEqualFold applies the EqualFold predicate on the "locale" field.

func LocaleGT

func LocaleGT(v string) predicate.Human

LocaleGT applies the GT predicate on the "locale" field.

func LocaleGTE

func LocaleGTE(v string) predicate.Human

LocaleGTE applies the GTE predicate on the "locale" field.

func LocaleHasPrefix

func LocaleHasPrefix(v string) predicate.Human

LocaleHasPrefix applies the HasPrefix predicate on the "locale" field.

func LocaleHasSuffix

func LocaleHasSuffix(v string) predicate.Human

LocaleHasSuffix applies the HasSuffix predicate on the "locale" field.

func LocaleIn

func LocaleIn(vs ...string) predicate.Human

LocaleIn applies the In predicate on the "locale" field.

func LocaleIsNil

func LocaleIsNil() predicate.Human

LocaleIsNil applies the IsNil predicate on the "locale" field.

func LocaleLT

func LocaleLT(v string) predicate.Human

LocaleLT applies the LT predicate on the "locale" field.

func LocaleLTE

func LocaleLTE(v string) predicate.Human

LocaleLTE applies the LTE predicate on the "locale" field.

func LocaleNEQ

func LocaleNEQ(v string) predicate.Human

LocaleNEQ applies the NEQ predicate on the "locale" field.

func LocaleNotIn

func LocaleNotIn(vs ...string) predicate.Human

LocaleNotIn applies the NotIn predicate on the "locale" field.

func LocaleNotNil

func LocaleNotNil() predicate.Human

LocaleNotNil applies the NotNil predicate on the "locale" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Human) predicate.Human

Or groups predicates with the OR operator between them.

func PrincipalID

func PrincipalID(v uuid.UUID) predicate.Human

PrincipalID applies equality check predicate on the "principal_id" field. It's identical to PrincipalIDEQ.

func PrincipalIDEQ

func PrincipalIDEQ(v uuid.UUID) predicate.Human

PrincipalIDEQ applies the EQ predicate on the "principal_id" field.

func PrincipalIDIn

func PrincipalIDIn(vs ...uuid.UUID) predicate.Human

PrincipalIDIn applies the In predicate on the "principal_id" field.

func PrincipalIDNEQ

func PrincipalIDNEQ(v uuid.UUID) predicate.Human

PrincipalIDNEQ applies the NEQ predicate on the "principal_id" field.

func PrincipalIDNotIn

func PrincipalIDNotIn(vs ...uuid.UUID) predicate.Human

PrincipalIDNotIn applies the NotIn predicate on the "principal_id" field.

func Timezone

func Timezone(v string) predicate.Human

Timezone applies equality check predicate on the "timezone" field. It's identical to TimezoneEQ.

func TimezoneContains

func TimezoneContains(v string) predicate.Human

TimezoneContains applies the Contains predicate on the "timezone" field.

func TimezoneContainsFold

func TimezoneContainsFold(v string) predicate.Human

TimezoneContainsFold applies the ContainsFold predicate on the "timezone" field.

func TimezoneEQ

func TimezoneEQ(v string) predicate.Human

TimezoneEQ applies the EQ predicate on the "timezone" field.

func TimezoneEqualFold

func TimezoneEqualFold(v string) predicate.Human

TimezoneEqualFold applies the EqualFold predicate on the "timezone" field.

func TimezoneGT

func TimezoneGT(v string) predicate.Human

TimezoneGT applies the GT predicate on the "timezone" field.

func TimezoneGTE

func TimezoneGTE(v string) predicate.Human

TimezoneGTE applies the GTE predicate on the "timezone" field.

func TimezoneHasPrefix

func TimezoneHasPrefix(v string) predicate.Human

TimezoneHasPrefix applies the HasPrefix predicate on the "timezone" field.

func TimezoneHasSuffix

func TimezoneHasSuffix(v string) predicate.Human

TimezoneHasSuffix applies the HasSuffix predicate on the "timezone" field.

func TimezoneIn

func TimezoneIn(vs ...string) predicate.Human

TimezoneIn applies the In predicate on the "timezone" field.

func TimezoneIsNil

func TimezoneIsNil() predicate.Human

TimezoneIsNil applies the IsNil predicate on the "timezone" field.

func TimezoneLT

func TimezoneLT(v string) predicate.Human

TimezoneLT applies the LT predicate on the "timezone" field.

func TimezoneLTE

func TimezoneLTE(v string) predicate.Human

TimezoneLTE applies the LTE predicate on the "timezone" field.

func TimezoneNEQ

func TimezoneNEQ(v string) predicate.Human

TimezoneNEQ applies the NEQ predicate on the "timezone" field.

func TimezoneNotIn

func TimezoneNotIn(vs ...string) predicate.Human

TimezoneNotIn applies the NotIn predicate on the "timezone" field.

func TimezoneNotNil

func TimezoneNotNil() predicate.Human

TimezoneNotNil applies the NotNil predicate on the "timezone" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Human

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Human

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Human

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Human

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Human

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Human

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Human

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Human

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Human

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 Human queries.

func ByAvatarURL

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

ByAvatarURL orders the results by the avatar_url 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 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 ByID

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

ByID orders the results by the id field.

func ByIsPlatformAdmin

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

ByIsPlatformAdmin orders the results by the is_platform_admin field.

func ByLastLoginAt

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

ByLastLoginAt orders the results by the last_login_at field.

func ByLocale

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

ByLocale orders the results by the locale field.

func ByPrincipalField

func ByPrincipalField(field string, opts ...sql.OrderTermOption) OrderOption

ByPrincipalField orders the results by principal field.

func ByPrincipalID

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

ByPrincipalID orders the results by the principal_id field.

func ByTimezone

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

ByTimezone orders the results by the timezone field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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