Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Human) predicate.Human
- func AvatarURL(v string) predicate.Human
- func AvatarURLContains(v string) predicate.Human
- func AvatarURLContainsFold(v string) predicate.Human
- func AvatarURLEQ(v string) predicate.Human
- func AvatarURLEqualFold(v string) predicate.Human
- func AvatarURLGT(v string) predicate.Human
- func AvatarURLGTE(v string) predicate.Human
- func AvatarURLHasPrefix(v string) predicate.Human
- func AvatarURLHasSuffix(v string) predicate.Human
- func AvatarURLIn(vs ...string) predicate.Human
- func AvatarURLIsNil() predicate.Human
- func AvatarURLLT(v string) predicate.Human
- func AvatarURLLTE(v string) predicate.Human
- func AvatarURLNEQ(v string) predicate.Human
- func AvatarURLNotIn(vs ...string) predicate.Human
- func AvatarURLNotNil() predicate.Human
- func CreatedAt(v time.Time) predicate.Human
- func CreatedAtEQ(v time.Time) predicate.Human
- func CreatedAtGT(v time.Time) predicate.Human
- func CreatedAtGTE(v time.Time) predicate.Human
- func CreatedAtIn(vs ...time.Time) predicate.Human
- func CreatedAtLT(v time.Time) predicate.Human
- func CreatedAtLTE(v time.Time) predicate.Human
- func CreatedAtNEQ(v time.Time) predicate.Human
- func CreatedAtNotIn(vs ...time.Time) predicate.Human
- func Email(v string) predicate.Human
- func EmailContains(v string) predicate.Human
- func EmailContainsFold(v string) predicate.Human
- func EmailEQ(v string) predicate.Human
- func EmailEqualFold(v string) predicate.Human
- func EmailGT(v string) predicate.Human
- func EmailGTE(v string) predicate.Human
- func EmailHasPrefix(v string) predicate.Human
- func EmailHasSuffix(v string) predicate.Human
- func EmailIn(vs ...string) predicate.Human
- func EmailLT(v string) predicate.Human
- func EmailLTE(v string) predicate.Human
- func EmailNEQ(v string) predicate.Human
- func EmailNotIn(vs ...string) predicate.Human
- func EmailVerifiedAt(v time.Time) predicate.Human
- func EmailVerifiedAtEQ(v time.Time) predicate.Human
- func EmailVerifiedAtGT(v time.Time) predicate.Human
- func EmailVerifiedAtGTE(v time.Time) predicate.Human
- func EmailVerifiedAtIn(vs ...time.Time) predicate.Human
- func EmailVerifiedAtIsNil() predicate.Human
- func EmailVerifiedAtLT(v time.Time) predicate.Human
- func EmailVerifiedAtLTE(v time.Time) predicate.Human
- func EmailVerifiedAtNEQ(v time.Time) predicate.Human
- func EmailVerifiedAtNotIn(vs ...time.Time) predicate.Human
- func EmailVerifiedAtNotNil() predicate.Human
- func FamilyName(v string) predicate.Human
- func FamilyNameContains(v string) predicate.Human
- func FamilyNameContainsFold(v string) predicate.Human
- func FamilyNameEQ(v string) predicate.Human
- func FamilyNameEqualFold(v string) predicate.Human
- func FamilyNameGT(v string) predicate.Human
- func FamilyNameGTE(v string) predicate.Human
- func FamilyNameHasPrefix(v string) predicate.Human
- func FamilyNameHasSuffix(v string) predicate.Human
- func FamilyNameIn(vs ...string) predicate.Human
- func FamilyNameIsNil() predicate.Human
- func FamilyNameLT(v string) predicate.Human
- func FamilyNameLTE(v string) predicate.Human
- func FamilyNameNEQ(v string) predicate.Human
- func FamilyNameNotIn(vs ...string) predicate.Human
- func FamilyNameNotNil() predicate.Human
- func GivenName(v string) predicate.Human
- func GivenNameContains(v string) predicate.Human
- func GivenNameContainsFold(v string) predicate.Human
- func GivenNameEQ(v string) predicate.Human
- func GivenNameEqualFold(v string) predicate.Human
- func GivenNameGT(v string) predicate.Human
- func GivenNameGTE(v string) predicate.Human
- func GivenNameHasPrefix(v string) predicate.Human
- func GivenNameHasSuffix(v string) predicate.Human
- func GivenNameIn(vs ...string) predicate.Human
- func GivenNameIsNil() predicate.Human
- func GivenNameLT(v string) predicate.Human
- func GivenNameLTE(v string) predicate.Human
- func GivenNameNEQ(v string) predicate.Human
- func GivenNameNotIn(vs ...string) predicate.Human
- func GivenNameNotNil() predicate.Human
- func HasPrincipal() predicate.Human
- func HasPrincipalWith(preds ...predicate.Principal) predicate.Human
- func ID(id uuid.UUID) predicate.Human
- func IDEQ(id uuid.UUID) predicate.Human
- func IDGT(id uuid.UUID) predicate.Human
- func IDGTE(id uuid.UUID) predicate.Human
- func IDIn(ids ...uuid.UUID) predicate.Human
- func IDLT(id uuid.UUID) predicate.Human
- func IDLTE(id uuid.UUID) predicate.Human
- func IDNEQ(id uuid.UUID) predicate.Human
- func IDNotIn(ids ...uuid.UUID) predicate.Human
- func IsPlatformAdmin(v bool) predicate.Human
- func IsPlatformAdminEQ(v bool) predicate.Human
- func IsPlatformAdminNEQ(v bool) predicate.Human
- func LastLoginAt(v time.Time) predicate.Human
- func LastLoginAtEQ(v time.Time) predicate.Human
- func LastLoginAtGT(v time.Time) predicate.Human
- func LastLoginAtGTE(v time.Time) predicate.Human
- func LastLoginAtIn(vs ...time.Time) predicate.Human
- func LastLoginAtIsNil() predicate.Human
- func LastLoginAtLT(v time.Time) predicate.Human
- func LastLoginAtLTE(v time.Time) predicate.Human
- func LastLoginAtNEQ(v time.Time) predicate.Human
- func LastLoginAtNotIn(vs ...time.Time) predicate.Human
- func LastLoginAtNotNil() predicate.Human
- func Locale(v string) predicate.Human
- func LocaleContains(v string) predicate.Human
- func LocaleContainsFold(v string) predicate.Human
- func LocaleEQ(v string) predicate.Human
- func LocaleEqualFold(v string) predicate.Human
- func LocaleGT(v string) predicate.Human
- func LocaleGTE(v string) predicate.Human
- func LocaleHasPrefix(v string) predicate.Human
- func LocaleHasSuffix(v string) predicate.Human
- func LocaleIn(vs ...string) predicate.Human
- func LocaleIsNil() predicate.Human
- func LocaleLT(v string) predicate.Human
- func LocaleLTE(v string) predicate.Human
- func LocaleNEQ(v string) predicate.Human
- func LocaleNotIn(vs ...string) predicate.Human
- func LocaleNotNil() predicate.Human
- func Not(p predicate.Human) predicate.Human
- func Or(predicates ...predicate.Human) predicate.Human
- func PrincipalID(v uuid.UUID) predicate.Human
- func PrincipalIDEQ(v uuid.UUID) predicate.Human
- func PrincipalIDIn(vs ...uuid.UUID) predicate.Human
- func PrincipalIDNEQ(v uuid.UUID) predicate.Human
- func PrincipalIDNotIn(vs ...uuid.UUID) predicate.Human
- func Timezone(v string) predicate.Human
- func TimezoneContains(v string) predicate.Human
- func TimezoneContainsFold(v string) predicate.Human
- func TimezoneEQ(v string) predicate.Human
- func TimezoneEqualFold(v string) predicate.Human
- func TimezoneGT(v string) predicate.Human
- func TimezoneGTE(v string) predicate.Human
- func TimezoneHasPrefix(v string) predicate.Human
- func TimezoneHasSuffix(v string) predicate.Human
- func TimezoneIn(vs ...string) predicate.Human
- func TimezoneIsNil() predicate.Human
- func TimezoneLT(v string) predicate.Human
- func TimezoneLTE(v string) predicate.Human
- func TimezoneNEQ(v string) predicate.Human
- func TimezoneNotIn(vs ...string) predicate.Human
- func TimezoneNotNil() predicate.Human
- func UpdatedAt(v time.Time) predicate.Human
- func UpdatedAtEQ(v time.Time) predicate.Human
- func UpdatedAtGT(v time.Time) predicate.Human
- func UpdatedAtGTE(v time.Time) predicate.Human
- func UpdatedAtIn(vs ...time.Time) predicate.Human
- func UpdatedAtLT(v time.Time) predicate.Human
- func UpdatedAtLTE(v time.Time) predicate.Human
- func UpdatedAtNEQ(v time.Time) predicate.Human
- func UpdatedAtNotIn(vs ...time.Time) predicate.Human
- func ValidColumn(column string) bool
- type OrderOption
- func ByAvatarURL(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByEmailVerifiedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFamilyName(opts ...sql.OrderTermOption) OrderOption
- func ByGivenName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsPlatformAdmin(opts ...sql.OrderTermOption) OrderOption
- func ByLastLoginAt(opts ...sql.OrderTermOption) OrderOption
- func ByLocale(opts ...sql.OrderTermOption) OrderOption
- func ByPrincipalField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByPrincipalID(opts ...sql.OrderTermOption) OrderOption
- func ByTimezone(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldPrincipalID, FieldEmail, FieldGivenName, FieldFamilyName, FieldAvatarURL, FieldLocale, FieldTimezone, FieldIsPlatformAdmin, FieldLastLoginAt, FieldEmailVerifiedAt, }
Columns holds all SQL columns for human fields.
Functions ¶
func AvatarURL ¶
AvatarURL applies equality check predicate on the "avatar_url" field. It's identical to AvatarURLEQ.
func AvatarURLContains ¶
AvatarURLContains applies the Contains predicate on the "avatar_url" field.
func AvatarURLContainsFold ¶
AvatarURLContainsFold applies the ContainsFold predicate on the "avatar_url" field.
func AvatarURLEQ ¶
AvatarURLEQ applies the EQ predicate on the "avatar_url" field.
func AvatarURLEqualFold ¶
AvatarURLEqualFold applies the EqualFold predicate on the "avatar_url" field.
func AvatarURLGT ¶
AvatarURLGT applies the GT predicate on the "avatar_url" field.
func AvatarURLGTE ¶
AvatarURLGTE applies the GTE predicate on the "avatar_url" field.
func AvatarURLHasPrefix ¶
AvatarURLHasPrefix applies the HasPrefix predicate on the "avatar_url" field.
func AvatarURLHasSuffix ¶
AvatarURLHasSuffix applies the HasSuffix predicate on the "avatar_url" field.
func AvatarURLIn ¶
AvatarURLIn applies the In predicate on the "avatar_url" field.
func AvatarURLIsNil ¶
AvatarURLIsNil applies the IsNil predicate on the "avatar_url" field.
func AvatarURLLT ¶
AvatarURLLT applies the LT predicate on the "avatar_url" field.
func AvatarURLLTE ¶
AvatarURLLTE applies the LTE predicate on the "avatar_url" field.
func AvatarURLNEQ ¶
AvatarURLNEQ applies the NEQ predicate on the "avatar_url" field.
func AvatarURLNotIn ¶
AvatarURLNotIn applies the NotIn predicate on the "avatar_url" field.
func AvatarURLNotNil ¶
AvatarURLNotNil applies the NotNil predicate on the "avatar_url" 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 FamilyName ¶
FamilyName applies equality check predicate on the "family_name" field. It's identical to FamilyNameEQ.
func FamilyNameContains ¶
FamilyNameContains applies the Contains predicate on the "family_name" field.
func FamilyNameContainsFold ¶
FamilyNameContainsFold applies the ContainsFold predicate on the "family_name" field.
func FamilyNameEQ ¶
FamilyNameEQ applies the EQ predicate on the "family_name" field.
func FamilyNameEqualFold ¶
FamilyNameEqualFold applies the EqualFold predicate on the "family_name" field.
func FamilyNameGT ¶
FamilyNameGT applies the GT predicate on the "family_name" field.
func FamilyNameGTE ¶
FamilyNameGTE applies the GTE predicate on the "family_name" field.
func FamilyNameHasPrefix ¶
FamilyNameHasPrefix applies the HasPrefix predicate on the "family_name" field.
func FamilyNameHasSuffix ¶
FamilyNameHasSuffix applies the HasSuffix predicate on the "family_name" field.
func FamilyNameIn ¶
FamilyNameIn applies the In predicate on the "family_name" field.
func FamilyNameIsNil ¶
FamilyNameIsNil applies the IsNil predicate on the "family_name" field.
func FamilyNameLT ¶
FamilyNameLT applies the LT predicate on the "family_name" field.
func FamilyNameLTE ¶
FamilyNameLTE applies the LTE predicate on the "family_name" field.
func FamilyNameNEQ ¶
FamilyNameNEQ applies the NEQ predicate on the "family_name" field.
func FamilyNameNotIn ¶
FamilyNameNotIn applies the NotIn predicate on the "family_name" field.
func FamilyNameNotNil ¶
FamilyNameNotNil applies the NotNil predicate on the "family_name" field.
func GivenName ¶
GivenName applies equality check predicate on the "given_name" field. It's identical to GivenNameEQ.
func GivenNameContains ¶
GivenNameContains applies the Contains predicate on the "given_name" field.
func GivenNameContainsFold ¶
GivenNameContainsFold applies the ContainsFold predicate on the "given_name" field.
func GivenNameEQ ¶
GivenNameEQ applies the EQ predicate on the "given_name" field.
func GivenNameEqualFold ¶
GivenNameEqualFold applies the EqualFold predicate on the "given_name" field.
func GivenNameGT ¶
GivenNameGT applies the GT predicate on the "given_name" field.
func GivenNameGTE ¶
GivenNameGTE applies the GTE predicate on the "given_name" field.
func GivenNameHasPrefix ¶
GivenNameHasPrefix applies the HasPrefix predicate on the "given_name" field.
func GivenNameHasSuffix ¶
GivenNameHasSuffix applies the HasSuffix predicate on the "given_name" field.
func GivenNameIn ¶
GivenNameIn applies the In predicate on the "given_name" field.
func GivenNameIsNil ¶
GivenNameIsNil applies the IsNil predicate on the "given_name" field.
func GivenNameLT ¶
GivenNameLT applies the LT predicate on the "given_name" field.
func GivenNameLTE ¶
GivenNameLTE applies the LTE predicate on the "given_name" field.
func GivenNameNEQ ¶
GivenNameNEQ applies the NEQ predicate on the "given_name" field.
func GivenNameNotIn ¶
GivenNameNotIn applies the NotIn predicate on the "given_name" field.
func GivenNameNotNil ¶
GivenNameNotNil applies the NotNil predicate on the "given_name" field.
func HasPrincipal ¶
HasPrincipal applies the HasEdge predicate on the "principal" edge.
func HasPrincipalWith ¶
HasPrincipalWith applies the HasEdge predicate on the "principal" edge with a given conditions (other predicates).
func IsPlatformAdmin ¶
IsPlatformAdmin applies equality check predicate on the "is_platform_admin" field. It's identical to IsPlatformAdminEQ.
func IsPlatformAdminEQ ¶
IsPlatformAdminEQ applies the EQ predicate on the "is_platform_admin" field.
func IsPlatformAdminNEQ ¶
IsPlatformAdminNEQ applies the NEQ predicate on the "is_platform_admin" field.
func LastLoginAt ¶
LastLoginAt applies equality check predicate on the "last_login_at" field. It's identical to LastLoginAtEQ.
func LastLoginAtEQ ¶
LastLoginAtEQ applies the EQ predicate on the "last_login_at" field.
func LastLoginAtGT ¶
LastLoginAtGT applies the GT predicate on the "last_login_at" field.
func LastLoginAtGTE ¶
LastLoginAtGTE applies the GTE predicate on the "last_login_at" field.
func LastLoginAtIn ¶
LastLoginAtIn applies the In predicate on the "last_login_at" field.
func LastLoginAtIsNil ¶
LastLoginAtIsNil applies the IsNil predicate on the "last_login_at" field.
func LastLoginAtLT ¶
LastLoginAtLT applies the LT predicate on the "last_login_at" field.
func LastLoginAtLTE ¶
LastLoginAtLTE applies the LTE predicate on the "last_login_at" field.
func LastLoginAtNEQ ¶
LastLoginAtNEQ applies the NEQ predicate on the "last_login_at" field.
func LastLoginAtNotIn ¶
LastLoginAtNotIn applies the NotIn predicate on the "last_login_at" field.
func LastLoginAtNotNil ¶
LastLoginAtNotNil applies the NotNil predicate on the "last_login_at" field.
func Locale ¶
Locale applies equality check predicate on the "locale" field. It's identical to LocaleEQ.
func LocaleContains ¶
LocaleContains applies the Contains predicate on the "locale" field.
func LocaleContainsFold ¶
LocaleContainsFold applies the ContainsFold predicate on the "locale" field.
func LocaleEqualFold ¶
LocaleEqualFold applies the EqualFold predicate on the "locale" field.
func LocaleHasPrefix ¶
LocaleHasPrefix applies the HasPrefix predicate on the "locale" field.
func LocaleHasSuffix ¶
LocaleHasSuffix applies the HasSuffix predicate on the "locale" field.
func LocaleIsNil ¶
LocaleIsNil applies the IsNil predicate on the "locale" field.
func LocaleNotIn ¶
LocaleNotIn applies the NotIn predicate on the "locale" field.
func LocaleNotNil ¶
LocaleNotNil applies the NotNil predicate on the "locale" field.
func PrincipalID ¶
PrincipalID applies equality check predicate on the "principal_id" field. It's identical to PrincipalIDEQ.
func PrincipalIDEQ ¶
PrincipalIDEQ applies the EQ predicate on the "principal_id" field.
func PrincipalIDIn ¶
PrincipalIDIn applies the In predicate on the "principal_id" field.
func PrincipalIDNEQ ¶
PrincipalIDNEQ applies the NEQ predicate on the "principal_id" field.
func PrincipalIDNotIn ¶
PrincipalIDNotIn applies the NotIn predicate on the "principal_id" field.
func Timezone ¶
Timezone applies equality check predicate on the "timezone" field. It's identical to TimezoneEQ.
func TimezoneContains ¶
TimezoneContains applies the Contains predicate on the "timezone" field.
func TimezoneContainsFold ¶
TimezoneContainsFold applies the ContainsFold predicate on the "timezone" field.
func TimezoneEQ ¶
TimezoneEQ applies the EQ predicate on the "timezone" field.
func TimezoneEqualFold ¶
TimezoneEqualFold applies the EqualFold predicate on the "timezone" field.
func TimezoneGT ¶
TimezoneGT applies the GT predicate on the "timezone" field.
func TimezoneGTE ¶
TimezoneGTE applies the GTE predicate on the "timezone" field.
func TimezoneHasPrefix ¶
TimezoneHasPrefix applies the HasPrefix predicate on the "timezone" field.
func TimezoneHasSuffix ¶
TimezoneHasSuffix applies the HasSuffix predicate on the "timezone" field.
func TimezoneIn ¶
TimezoneIn applies the In predicate on the "timezone" field.
func TimezoneIsNil ¶
TimezoneIsNil applies the IsNil predicate on the "timezone" field.
func TimezoneLT ¶
TimezoneLT applies the LT predicate on the "timezone" field.
func TimezoneLTE ¶
TimezoneLTE applies the LTE predicate on the "timezone" field.
func TimezoneNEQ ¶
TimezoneNEQ applies the NEQ predicate on the "timezone" field.
func TimezoneNotIn ¶
TimezoneNotIn applies the NotIn predicate on the "timezone" field.
func TimezoneNotNil ¶
TimezoneNotNil applies the NotNil predicate on the "timezone" 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 OrderOption ¶
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.