users

package
v0.3.9-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the users type in the database.
	Label = "users"
	// 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"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldUsername holds the string denoting the username field in the database.
	FieldUsername = "username"
	// FieldRealnameEncrypted holds the string denoting the realname_encrypted field in the database.
	FieldRealnameEncrypted = "realname_encrypted"
	// FieldUserType holds the string denoting the user_type field in the database.
	FieldUserType = "user_type"
	// FieldUserStatus holds the string denoting the user_status field in the database.
	FieldUserStatus = "user_status"
	// FieldNationalIDEncrypted holds the string denoting the national_id_encrypted field in the database.
	FieldNationalIDEncrypted = "national_id_encrypted"
	// FieldNationalIDHash holds the string denoting the national_id_hash field in the database.
	FieldNationalIDHash = "national_id_hash"
	// FieldNickname holds the string denoting the nickname field in the database.
	FieldNickname = "nickname"
	// FieldProfile holds the string denoting the profile field in the database.
	FieldProfile = "profile"
	// FieldPicture holds the string denoting the picture field in the database.
	FieldPicture = "picture"
	// FieldWebsite holds the string denoting the website field in the database.
	FieldWebsite = "website"
	// FieldEmailEncrypted holds the string denoting the email_encrypted field in the database.
	FieldEmailEncrypted = "email_encrypted"
	// FieldEmailHash holds the string denoting the email_hash field in the database.
	FieldEmailHash = "email_hash"
	// FieldEmailVerified holds the string denoting the email_verified field in the database.
	FieldEmailVerified = "email_verified"
	// FieldGender holds the string denoting the gender field in the database.
	FieldGender = "gender"
	// FieldBirthdate holds the string denoting the birthdate field in the database.
	FieldBirthdate = "birthdate"
	// FieldTimezone holds the string denoting the timezone field in the database.
	FieldTimezone = "timezone"
	// FieldLocale holds the string denoting the locale field in the database.
	FieldLocale = "locale"
	// FieldPhoneNumberEncrypted holds the string denoting the phone_number_encrypted field in the database.
	FieldPhoneNumberEncrypted = "phone_number_encrypted"
	// FieldPhoneNumberHash holds the string denoting the phone_number_hash field in the database.
	FieldPhoneNumberHash = "phone_number_hash"
	// FieldPhoneNumberVerified holds the string denoting the phone_number_verified field in the database.
	FieldPhoneNumberVerified = "phone_number_verified"
	// FieldAddressEncrypted holds the string denoting the address_encrypted field in the database.
	FieldAddressEncrypted = "address_encrypted"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// EdgeLionUserRoles holds the string denoting the lion_user_roles edge name in mutations.
	EdgeLionUserRoles = "lion_user_roles"
	// EdgeLionUserGroups holds the string denoting the lion_user_groups edge name in mutations.
	EdgeLionUserGroups = "lion_user_groups"
	// EdgeLionUserIdentities holds the string denoting the lion_user_identities edge name in mutations.
	EdgeLionUserIdentities = "lion_user_identities"
	// EdgeLionUserDepartments holds the string denoting the lion_user_departments edge name in mutations.
	EdgeLionUserDepartments = "lion_user_departments"
	// Table holds the table name of the users in the database.
	Table = "lion_users"
	// LionUserRolesTable is the table that holds the lion_user_roles relation/edge.
	LionUserRolesTable = "lion_user_roles"
	// LionUserRolesInverseTable is the table name for the UserRoles entity.
	// It exists in this package in order to avoid circular dependency with the "userroles" package.
	LionUserRolesInverseTable = "lion_user_roles"
	// LionUserRolesColumn is the table column denoting the lion_user_roles relation/edge.
	LionUserRolesColumn = "user_id"
	// LionUserGroupsTable is the table that holds the lion_user_groups relation/edge.
	LionUserGroupsTable = "lion_user_groups"
	// LionUserGroupsInverseTable is the table name for the UserGroups entity.
	// It exists in this package in order to avoid circular dependency with the "usergroups" package.
	LionUserGroupsInverseTable = "lion_user_groups"
	// LionUserGroupsColumn is the table column denoting the lion_user_groups relation/edge.
	LionUserGroupsColumn = "user_id"
	// LionUserIdentitiesTable is the table that holds the lion_user_identities relation/edge.
	LionUserIdentitiesTable = "lion_user_identities"
	// LionUserIdentitiesInverseTable is the table name for the UserIdentities entity.
	// It exists in this package in order to avoid circular dependency with the "useridentities" package.
	LionUserIdentitiesInverseTable = "lion_user_identities"
	// LionUserIdentitiesColumn is the table column denoting the lion_user_identities relation/edge.
	LionUserIdentitiesColumn = "user_id"
	// LionUserDepartmentsTable is the table that holds the lion_user_departments relation/edge.
	LionUserDepartmentsTable = "lion_user_departments"
	// LionUserDepartmentsInverseTable is the table name for the UserDepartments entity.
	// It exists in this package in order to avoid circular dependency with the "userdepartments" package.
	LionUserDepartmentsInverseTable = "lion_user_departments"
	// LionUserDepartmentsColumn is the table column denoting the lion_user_departments relation/edge.
	LionUserDepartmentsColumn = "user_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
	// DefaultCreatedBy holds the default value on creation for the "created_by" field.
	DefaultCreatedBy int64
	// DefaultUpdatedBy holds the default value on creation for the "updated_by" field.
	DefaultUpdatedBy int64
	// UsernameValidator is a validator for the "username" field. It is called by the builders before save.
	UsernameValidator func(string) error
	// DefaultUserType holds the default value on creation for the "user_type" field.
	DefaultUserType int
	// DefaultUserStatus holds the default value on creation for the "user_status" field.
	DefaultUserStatus int
	// ProfileValidator is a validator for the "profile" field. It is called by the builders before save.
	ProfileValidator func(string) error
	// PictureValidator is a validator for the "picture" field. It is called by the builders before save.
	PictureValidator func(string) error
	// WebsiteValidator is a validator for the "website" field. It is called by the builders before save.
	WebsiteValidator func(string) error
	// DefaultEmailVerified holds the default value on creation for the "email_verified" field.
	DefaultEmailVerified bool
	// DefaultGender holds the default value on creation for the "gender" field.
	DefaultGender int
	// GenderValidator is a validator for the "gender" field. It is called by the builders before save.
	GenderValidator func(int) error
	// DefaultPhoneNumberVerified holds the default value on creation for the "phone_number_verified" field.
	DefaultPhoneNumberVerified bool
	// DescriptionValidator is a validator for the "description" field. It is called by the builders before save.
	DescriptionValidator func(string) error
)

Columns holds all SQL columns for users fields.

Functions

func AddressEncrypted

func AddressEncrypted(v []byte) predicate.Users

AddressEncrypted applies equality check predicate on the "address_encrypted" field. It's identical to AddressEncryptedEQ.

func AddressEncryptedEQ

func AddressEncryptedEQ(v []byte) predicate.Users

AddressEncryptedEQ applies the EQ predicate on the "address_encrypted" field.

func AddressEncryptedGT

func AddressEncryptedGT(v []byte) predicate.Users

AddressEncryptedGT applies the GT predicate on the "address_encrypted" field.

func AddressEncryptedGTE

func AddressEncryptedGTE(v []byte) predicate.Users

AddressEncryptedGTE applies the GTE predicate on the "address_encrypted" field.

func AddressEncryptedIn

func AddressEncryptedIn(vs ...[]byte) predicate.Users

AddressEncryptedIn applies the In predicate on the "address_encrypted" field.

func AddressEncryptedIsNil

func AddressEncryptedIsNil() predicate.Users

AddressEncryptedIsNil applies the IsNil predicate on the "address_encrypted" field.

func AddressEncryptedLT

func AddressEncryptedLT(v []byte) predicate.Users

AddressEncryptedLT applies the LT predicate on the "address_encrypted" field.

func AddressEncryptedLTE

func AddressEncryptedLTE(v []byte) predicate.Users

AddressEncryptedLTE applies the LTE predicate on the "address_encrypted" field.

func AddressEncryptedNEQ

func AddressEncryptedNEQ(v []byte) predicate.Users

AddressEncryptedNEQ applies the NEQ predicate on the "address_encrypted" field.

func AddressEncryptedNotIn

func AddressEncryptedNotIn(vs ...[]byte) predicate.Users

AddressEncryptedNotIn applies the NotIn predicate on the "address_encrypted" field.

func AddressEncryptedNotNil

func AddressEncryptedNotNil() predicate.Users

AddressEncryptedNotNil applies the NotNil predicate on the "address_encrypted" field.

func And

func And(predicates ...predicate.Users) predicate.Users

And groups predicates with the AND operator between them.

func Birthdate

func Birthdate(v time.Time) predicate.Users

Birthdate applies equality check predicate on the "birthdate" field. It's identical to BirthdateEQ.

func BirthdateEQ

func BirthdateEQ(v time.Time) predicate.Users

BirthdateEQ applies the EQ predicate on the "birthdate" field.

func BirthdateGT

func BirthdateGT(v time.Time) predicate.Users

BirthdateGT applies the GT predicate on the "birthdate" field.

func BirthdateGTE

func BirthdateGTE(v time.Time) predicate.Users

BirthdateGTE applies the GTE predicate on the "birthdate" field.

func BirthdateIn

func BirthdateIn(vs ...time.Time) predicate.Users

BirthdateIn applies the In predicate on the "birthdate" field.

func BirthdateIsNil

func BirthdateIsNil() predicate.Users

BirthdateIsNil applies the IsNil predicate on the "birthdate" field.

func BirthdateLT

func BirthdateLT(v time.Time) predicate.Users

BirthdateLT applies the LT predicate on the "birthdate" field.

func BirthdateLTE

func BirthdateLTE(v time.Time) predicate.Users

BirthdateLTE applies the LTE predicate on the "birthdate" field.

func BirthdateNEQ

func BirthdateNEQ(v time.Time) predicate.Users

BirthdateNEQ applies the NEQ predicate on the "birthdate" field.

func BirthdateNotIn

func BirthdateNotIn(vs ...time.Time) predicate.Users

BirthdateNotIn applies the NotIn predicate on the "birthdate" field.

func BirthdateNotNil

func BirthdateNotNil() predicate.Users

BirthdateNotNil applies the NotNil predicate on the "birthdate" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Users

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Users

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Users

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Users

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Users

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Users

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Users

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v int64) predicate.Users

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByEQ

func CreatedByEQ(v int64) predicate.Users

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v int64) predicate.Users

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v int64) predicate.Users

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...int64) predicate.Users

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.Users

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v int64) predicate.Users

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v int64) predicate.Users

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v int64) predicate.Users

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...int64) predicate.Users

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.Users

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Users

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Users

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Users

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Users

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Users

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Users

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Users

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Users

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Users

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Users

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Users

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func Description

func Description(v string) predicate.Users

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Users

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Users

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Users

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Users

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Users

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Users

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Users

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Users

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Users

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Users

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Users

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Users

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Users

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Users

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Users

DescriptionNotNil applies the NotNil predicate on the "description" field.

func EmailEncrypted

func EmailEncrypted(v []byte) predicate.Users

EmailEncrypted applies equality check predicate on the "email_encrypted" field. It's identical to EmailEncryptedEQ.

func EmailEncryptedEQ

func EmailEncryptedEQ(v []byte) predicate.Users

EmailEncryptedEQ applies the EQ predicate on the "email_encrypted" field.

func EmailEncryptedGT

func EmailEncryptedGT(v []byte) predicate.Users

EmailEncryptedGT applies the GT predicate on the "email_encrypted" field.

func EmailEncryptedGTE

func EmailEncryptedGTE(v []byte) predicate.Users

EmailEncryptedGTE applies the GTE predicate on the "email_encrypted" field.

func EmailEncryptedIn

func EmailEncryptedIn(vs ...[]byte) predicate.Users

EmailEncryptedIn applies the In predicate on the "email_encrypted" field.

func EmailEncryptedIsNil

func EmailEncryptedIsNil() predicate.Users

EmailEncryptedIsNil applies the IsNil predicate on the "email_encrypted" field.

func EmailEncryptedLT

func EmailEncryptedLT(v []byte) predicate.Users

EmailEncryptedLT applies the LT predicate on the "email_encrypted" field.

func EmailEncryptedLTE

func EmailEncryptedLTE(v []byte) predicate.Users

EmailEncryptedLTE applies the LTE predicate on the "email_encrypted" field.

func EmailEncryptedNEQ

func EmailEncryptedNEQ(v []byte) predicate.Users

EmailEncryptedNEQ applies the NEQ predicate on the "email_encrypted" field.

func EmailEncryptedNotIn

func EmailEncryptedNotIn(vs ...[]byte) predicate.Users

EmailEncryptedNotIn applies the NotIn predicate on the "email_encrypted" field.

func EmailEncryptedNotNil

func EmailEncryptedNotNil() predicate.Users

EmailEncryptedNotNil applies the NotNil predicate on the "email_encrypted" field.

func EmailHash

func EmailHash(v string) predicate.Users

EmailHash applies equality check predicate on the "email_hash" field. It's identical to EmailHashEQ.

func EmailHashContains

func EmailHashContains(v string) predicate.Users

EmailHashContains applies the Contains predicate on the "email_hash" field.

func EmailHashContainsFold

func EmailHashContainsFold(v string) predicate.Users

EmailHashContainsFold applies the ContainsFold predicate on the "email_hash" field.

func EmailHashEQ

func EmailHashEQ(v string) predicate.Users

EmailHashEQ applies the EQ predicate on the "email_hash" field.

func EmailHashEqualFold

func EmailHashEqualFold(v string) predicate.Users

EmailHashEqualFold applies the EqualFold predicate on the "email_hash" field.

func EmailHashGT

func EmailHashGT(v string) predicate.Users

EmailHashGT applies the GT predicate on the "email_hash" field.

func EmailHashGTE

func EmailHashGTE(v string) predicate.Users

EmailHashGTE applies the GTE predicate on the "email_hash" field.

func EmailHashHasPrefix

func EmailHashHasPrefix(v string) predicate.Users

EmailHashHasPrefix applies the HasPrefix predicate on the "email_hash" field.

func EmailHashHasSuffix

func EmailHashHasSuffix(v string) predicate.Users

EmailHashHasSuffix applies the HasSuffix predicate on the "email_hash" field.

func EmailHashIn

func EmailHashIn(vs ...string) predicate.Users

EmailHashIn applies the In predicate on the "email_hash" field.

func EmailHashIsNil

func EmailHashIsNil() predicate.Users

EmailHashIsNil applies the IsNil predicate on the "email_hash" field.

func EmailHashLT

func EmailHashLT(v string) predicate.Users

EmailHashLT applies the LT predicate on the "email_hash" field.

func EmailHashLTE

func EmailHashLTE(v string) predicate.Users

EmailHashLTE applies the LTE predicate on the "email_hash" field.

func EmailHashNEQ

func EmailHashNEQ(v string) predicate.Users

EmailHashNEQ applies the NEQ predicate on the "email_hash" field.

func EmailHashNotIn

func EmailHashNotIn(vs ...string) predicate.Users

EmailHashNotIn applies the NotIn predicate on the "email_hash" field.

func EmailHashNotNil

func EmailHashNotNil() predicate.Users

EmailHashNotNil applies the NotNil predicate on the "email_hash" field.

func EmailVerified

func EmailVerified(v bool) predicate.Users

EmailVerified applies equality check predicate on the "email_verified" field. It's identical to EmailVerifiedEQ.

func EmailVerifiedEQ

func EmailVerifiedEQ(v bool) predicate.Users

EmailVerifiedEQ applies the EQ predicate on the "email_verified" field.

func EmailVerifiedNEQ

func EmailVerifiedNEQ(v bool) predicate.Users

EmailVerifiedNEQ applies the NEQ predicate on the "email_verified" field.

func Gender

func Gender(v int) predicate.Users

Gender applies equality check predicate on the "gender" field. It's identical to GenderEQ.

func GenderEQ

func GenderEQ(v int) predicate.Users

GenderEQ applies the EQ predicate on the "gender" field.

func GenderGT

func GenderGT(v int) predicate.Users

GenderGT applies the GT predicate on the "gender" field.

func GenderGTE

func GenderGTE(v int) predicate.Users

GenderGTE applies the GTE predicate on the "gender" field.

func GenderIn

func GenderIn(vs ...int) predicate.Users

GenderIn applies the In predicate on the "gender" field.

func GenderLT

func GenderLT(v int) predicate.Users

GenderLT applies the LT predicate on the "gender" field.

func GenderLTE

func GenderLTE(v int) predicate.Users

GenderLTE applies the LTE predicate on the "gender" field.

func GenderNEQ

func GenderNEQ(v int) predicate.Users

GenderNEQ applies the NEQ predicate on the "gender" field.

func GenderNotIn

func GenderNotIn(vs ...int) predicate.Users

GenderNotIn applies the NotIn predicate on the "gender" field.

func HasLionUserDepartments

func HasLionUserDepartments() predicate.Users

HasLionUserDepartments applies the HasEdge predicate on the "lion_user_departments" edge.

func HasLionUserDepartmentsWith

func HasLionUserDepartmentsWith(preds ...predicate.UserDepartments) predicate.Users

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

func HasLionUserGroups

func HasLionUserGroups() predicate.Users

HasLionUserGroups applies the HasEdge predicate on the "lion_user_groups" edge.

func HasLionUserGroupsWith

func HasLionUserGroupsWith(preds ...predicate.UserGroups) predicate.Users

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

func HasLionUserIdentities

func HasLionUserIdentities() predicate.Users

HasLionUserIdentities applies the HasEdge predicate on the "lion_user_identities" edge.

func HasLionUserIdentitiesWith

func HasLionUserIdentitiesWith(preds ...predicate.UserIdentities) predicate.Users

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

func HasLionUserRoles

func HasLionUserRoles() predicate.Users

HasLionUserRoles applies the HasEdge predicate on the "lion_user_roles" edge.

func HasLionUserRolesWith

func HasLionUserRolesWith(preds ...predicate.UserRoles) predicate.Users

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

func ID

func ID(id int) predicate.Users

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Users

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Users

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Users

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Users

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Users

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Users

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Locale

func Locale(v string) predicate.Users

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

func LocaleContains

func LocaleContains(v string) predicate.Users

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

func LocaleContainsFold

func LocaleContainsFold(v string) predicate.Users

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

func LocaleEQ

func LocaleEQ(v string) predicate.Users

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

func LocaleEqualFold

func LocaleEqualFold(v string) predicate.Users

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

func LocaleGT

func LocaleGT(v string) predicate.Users

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

func LocaleGTE

func LocaleGTE(v string) predicate.Users

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

func LocaleHasPrefix

func LocaleHasPrefix(v string) predicate.Users

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

func LocaleHasSuffix

func LocaleHasSuffix(v string) predicate.Users

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

func LocaleIn

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

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

func LocaleIsNil

func LocaleIsNil() predicate.Users

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

func LocaleLT

func LocaleLT(v string) predicate.Users

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

func LocaleLTE

func LocaleLTE(v string) predicate.Users

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

func LocaleNEQ

func LocaleNEQ(v string) predicate.Users

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

func LocaleNotIn

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

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

func LocaleNotNil

func LocaleNotNil() predicate.Users

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

func MetadataIsNil

func MetadataIsNil() predicate.Users

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.Users

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func NationalIDEncrypted

func NationalIDEncrypted(v []byte) predicate.Users

NationalIDEncrypted applies equality check predicate on the "national_id_encrypted" field. It's identical to NationalIDEncryptedEQ.

func NationalIDEncryptedEQ

func NationalIDEncryptedEQ(v []byte) predicate.Users

NationalIDEncryptedEQ applies the EQ predicate on the "national_id_encrypted" field.

func NationalIDEncryptedGT

func NationalIDEncryptedGT(v []byte) predicate.Users

NationalIDEncryptedGT applies the GT predicate on the "national_id_encrypted" field.

func NationalIDEncryptedGTE

func NationalIDEncryptedGTE(v []byte) predicate.Users

NationalIDEncryptedGTE applies the GTE predicate on the "national_id_encrypted" field.

func NationalIDEncryptedIn

func NationalIDEncryptedIn(vs ...[]byte) predicate.Users

NationalIDEncryptedIn applies the In predicate on the "national_id_encrypted" field.

func NationalIDEncryptedIsNil

func NationalIDEncryptedIsNil() predicate.Users

NationalIDEncryptedIsNil applies the IsNil predicate on the "national_id_encrypted" field.

func NationalIDEncryptedLT

func NationalIDEncryptedLT(v []byte) predicate.Users

NationalIDEncryptedLT applies the LT predicate on the "national_id_encrypted" field.

func NationalIDEncryptedLTE

func NationalIDEncryptedLTE(v []byte) predicate.Users

NationalIDEncryptedLTE applies the LTE predicate on the "national_id_encrypted" field.

func NationalIDEncryptedNEQ

func NationalIDEncryptedNEQ(v []byte) predicate.Users

NationalIDEncryptedNEQ applies the NEQ predicate on the "national_id_encrypted" field.

func NationalIDEncryptedNotIn

func NationalIDEncryptedNotIn(vs ...[]byte) predicate.Users

NationalIDEncryptedNotIn applies the NotIn predicate on the "national_id_encrypted" field.

func NationalIDEncryptedNotNil

func NationalIDEncryptedNotNil() predicate.Users

NationalIDEncryptedNotNil applies the NotNil predicate on the "national_id_encrypted" field.

func NationalIDHash

func NationalIDHash(v string) predicate.Users

NationalIDHash applies equality check predicate on the "national_id_hash" field. It's identical to NationalIDHashEQ.

func NationalIDHashContains

func NationalIDHashContains(v string) predicate.Users

NationalIDHashContains applies the Contains predicate on the "national_id_hash" field.

func NationalIDHashContainsFold

func NationalIDHashContainsFold(v string) predicate.Users

NationalIDHashContainsFold applies the ContainsFold predicate on the "national_id_hash" field.

func NationalIDHashEQ

func NationalIDHashEQ(v string) predicate.Users

NationalIDHashEQ applies the EQ predicate on the "national_id_hash" field.

func NationalIDHashEqualFold

func NationalIDHashEqualFold(v string) predicate.Users

NationalIDHashEqualFold applies the EqualFold predicate on the "national_id_hash" field.

func NationalIDHashGT

func NationalIDHashGT(v string) predicate.Users

NationalIDHashGT applies the GT predicate on the "national_id_hash" field.

func NationalIDHashGTE

func NationalIDHashGTE(v string) predicate.Users

NationalIDHashGTE applies the GTE predicate on the "national_id_hash" field.

func NationalIDHashHasPrefix

func NationalIDHashHasPrefix(v string) predicate.Users

NationalIDHashHasPrefix applies the HasPrefix predicate on the "national_id_hash" field.

func NationalIDHashHasSuffix

func NationalIDHashHasSuffix(v string) predicate.Users

NationalIDHashHasSuffix applies the HasSuffix predicate on the "national_id_hash" field.

func NationalIDHashIn

func NationalIDHashIn(vs ...string) predicate.Users

NationalIDHashIn applies the In predicate on the "national_id_hash" field.

func NationalIDHashIsNil

func NationalIDHashIsNil() predicate.Users

NationalIDHashIsNil applies the IsNil predicate on the "national_id_hash" field.

func NationalIDHashLT

func NationalIDHashLT(v string) predicate.Users

NationalIDHashLT applies the LT predicate on the "national_id_hash" field.

func NationalIDHashLTE

func NationalIDHashLTE(v string) predicate.Users

NationalIDHashLTE applies the LTE predicate on the "national_id_hash" field.

func NationalIDHashNEQ

func NationalIDHashNEQ(v string) predicate.Users

NationalIDHashNEQ applies the NEQ predicate on the "national_id_hash" field.

func NationalIDHashNotIn

func NationalIDHashNotIn(vs ...string) predicate.Users

NationalIDHashNotIn applies the NotIn predicate on the "national_id_hash" field.

func NationalIDHashNotNil

func NationalIDHashNotNil() predicate.Users

NationalIDHashNotNil applies the NotNil predicate on the "national_id_hash" field.

func Nickname

func Nickname(v string) predicate.Users

Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.

func NicknameContains

func NicknameContains(v string) predicate.Users

NicknameContains applies the Contains predicate on the "nickname" field.

func NicknameContainsFold

func NicknameContainsFold(v string) predicate.Users

NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.

func NicknameEQ

func NicknameEQ(v string) predicate.Users

NicknameEQ applies the EQ predicate on the "nickname" field.

func NicknameEqualFold

func NicknameEqualFold(v string) predicate.Users

NicknameEqualFold applies the EqualFold predicate on the "nickname" field.

func NicknameGT

func NicknameGT(v string) predicate.Users

NicknameGT applies the GT predicate on the "nickname" field.

func NicknameGTE

func NicknameGTE(v string) predicate.Users

NicknameGTE applies the GTE predicate on the "nickname" field.

func NicknameHasPrefix

func NicknameHasPrefix(v string) predicate.Users

NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.

func NicknameHasSuffix

func NicknameHasSuffix(v string) predicate.Users

NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.

func NicknameIn

func NicknameIn(vs ...string) predicate.Users

NicknameIn applies the In predicate on the "nickname" field.

func NicknameIsNil

func NicknameIsNil() predicate.Users

NicknameIsNil applies the IsNil predicate on the "nickname" field.

func NicknameLT

func NicknameLT(v string) predicate.Users

NicknameLT applies the LT predicate on the "nickname" field.

func NicknameLTE

func NicknameLTE(v string) predicate.Users

NicknameLTE applies the LTE predicate on the "nickname" field.

func NicknameNEQ

func NicknameNEQ(v string) predicate.Users

NicknameNEQ applies the NEQ predicate on the "nickname" field.

func NicknameNotIn

func NicknameNotIn(vs ...string) predicate.Users

NicknameNotIn applies the NotIn predicate on the "nickname" field.

func NicknameNotNil

func NicknameNotNil() predicate.Users

NicknameNotNil applies the NotNil predicate on the "nickname" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Users) predicate.Users

Or groups predicates with the OR operator between them.

func PhoneNumberEncrypted

func PhoneNumberEncrypted(v []byte) predicate.Users

PhoneNumberEncrypted applies equality check predicate on the "phone_number_encrypted" field. It's identical to PhoneNumberEncryptedEQ.

func PhoneNumberEncryptedEQ

func PhoneNumberEncryptedEQ(v []byte) predicate.Users

PhoneNumberEncryptedEQ applies the EQ predicate on the "phone_number_encrypted" field.

func PhoneNumberEncryptedGT

func PhoneNumberEncryptedGT(v []byte) predicate.Users

PhoneNumberEncryptedGT applies the GT predicate on the "phone_number_encrypted" field.

func PhoneNumberEncryptedGTE

func PhoneNumberEncryptedGTE(v []byte) predicate.Users

PhoneNumberEncryptedGTE applies the GTE predicate on the "phone_number_encrypted" field.

func PhoneNumberEncryptedIn

func PhoneNumberEncryptedIn(vs ...[]byte) predicate.Users

PhoneNumberEncryptedIn applies the In predicate on the "phone_number_encrypted" field.

func PhoneNumberEncryptedIsNil

func PhoneNumberEncryptedIsNil() predicate.Users

PhoneNumberEncryptedIsNil applies the IsNil predicate on the "phone_number_encrypted" field.

func PhoneNumberEncryptedLT

func PhoneNumberEncryptedLT(v []byte) predicate.Users

PhoneNumberEncryptedLT applies the LT predicate on the "phone_number_encrypted" field.

func PhoneNumberEncryptedLTE

func PhoneNumberEncryptedLTE(v []byte) predicate.Users

PhoneNumberEncryptedLTE applies the LTE predicate on the "phone_number_encrypted" field.

func PhoneNumberEncryptedNEQ

func PhoneNumberEncryptedNEQ(v []byte) predicate.Users

PhoneNumberEncryptedNEQ applies the NEQ predicate on the "phone_number_encrypted" field.

func PhoneNumberEncryptedNotIn

func PhoneNumberEncryptedNotIn(vs ...[]byte) predicate.Users

PhoneNumberEncryptedNotIn applies the NotIn predicate on the "phone_number_encrypted" field.

func PhoneNumberEncryptedNotNil

func PhoneNumberEncryptedNotNil() predicate.Users

PhoneNumberEncryptedNotNil applies the NotNil predicate on the "phone_number_encrypted" field.

func PhoneNumberHash

func PhoneNumberHash(v string) predicate.Users

PhoneNumberHash applies equality check predicate on the "phone_number_hash" field. It's identical to PhoneNumberHashEQ.

func PhoneNumberHashContains

func PhoneNumberHashContains(v string) predicate.Users

PhoneNumberHashContains applies the Contains predicate on the "phone_number_hash" field.

func PhoneNumberHashContainsFold

func PhoneNumberHashContainsFold(v string) predicate.Users

PhoneNumberHashContainsFold applies the ContainsFold predicate on the "phone_number_hash" field.

func PhoneNumberHashEQ

func PhoneNumberHashEQ(v string) predicate.Users

PhoneNumberHashEQ applies the EQ predicate on the "phone_number_hash" field.

func PhoneNumberHashEqualFold

func PhoneNumberHashEqualFold(v string) predicate.Users

PhoneNumberHashEqualFold applies the EqualFold predicate on the "phone_number_hash" field.

func PhoneNumberHashGT

func PhoneNumberHashGT(v string) predicate.Users

PhoneNumberHashGT applies the GT predicate on the "phone_number_hash" field.

func PhoneNumberHashGTE

func PhoneNumberHashGTE(v string) predicate.Users

PhoneNumberHashGTE applies the GTE predicate on the "phone_number_hash" field.

func PhoneNumberHashHasPrefix

func PhoneNumberHashHasPrefix(v string) predicate.Users

PhoneNumberHashHasPrefix applies the HasPrefix predicate on the "phone_number_hash" field.

func PhoneNumberHashHasSuffix

func PhoneNumberHashHasSuffix(v string) predicate.Users

PhoneNumberHashHasSuffix applies the HasSuffix predicate on the "phone_number_hash" field.

func PhoneNumberHashIn

func PhoneNumberHashIn(vs ...string) predicate.Users

PhoneNumberHashIn applies the In predicate on the "phone_number_hash" field.

func PhoneNumberHashIsNil

func PhoneNumberHashIsNil() predicate.Users

PhoneNumberHashIsNil applies the IsNil predicate on the "phone_number_hash" field.

func PhoneNumberHashLT

func PhoneNumberHashLT(v string) predicate.Users

PhoneNumberHashLT applies the LT predicate on the "phone_number_hash" field.

func PhoneNumberHashLTE

func PhoneNumberHashLTE(v string) predicate.Users

PhoneNumberHashLTE applies the LTE predicate on the "phone_number_hash" field.

func PhoneNumberHashNEQ

func PhoneNumberHashNEQ(v string) predicate.Users

PhoneNumberHashNEQ applies the NEQ predicate on the "phone_number_hash" field.

func PhoneNumberHashNotIn

func PhoneNumberHashNotIn(vs ...string) predicate.Users

PhoneNumberHashNotIn applies the NotIn predicate on the "phone_number_hash" field.

func PhoneNumberHashNotNil

func PhoneNumberHashNotNil() predicate.Users

PhoneNumberHashNotNil applies the NotNil predicate on the "phone_number_hash" field.

func PhoneNumberVerified

func PhoneNumberVerified(v bool) predicate.Users

PhoneNumberVerified applies equality check predicate on the "phone_number_verified" field. It's identical to PhoneNumberVerifiedEQ.

func PhoneNumberVerifiedEQ

func PhoneNumberVerifiedEQ(v bool) predicate.Users

PhoneNumberVerifiedEQ applies the EQ predicate on the "phone_number_verified" field.

func PhoneNumberVerifiedNEQ

func PhoneNumberVerifiedNEQ(v bool) predicate.Users

PhoneNumberVerifiedNEQ applies the NEQ predicate on the "phone_number_verified" field.

func Picture

func Picture(v string) predicate.Users

Picture applies equality check predicate on the "picture" field. It's identical to PictureEQ.

func PictureContains

func PictureContains(v string) predicate.Users

PictureContains applies the Contains predicate on the "picture" field.

func PictureContainsFold

func PictureContainsFold(v string) predicate.Users

PictureContainsFold applies the ContainsFold predicate on the "picture" field.

func PictureEQ

func PictureEQ(v string) predicate.Users

PictureEQ applies the EQ predicate on the "picture" field.

func PictureEqualFold

func PictureEqualFold(v string) predicate.Users

PictureEqualFold applies the EqualFold predicate on the "picture" field.

func PictureGT

func PictureGT(v string) predicate.Users

PictureGT applies the GT predicate on the "picture" field.

func PictureGTE

func PictureGTE(v string) predicate.Users

PictureGTE applies the GTE predicate on the "picture" field.

func PictureHasPrefix

func PictureHasPrefix(v string) predicate.Users

PictureHasPrefix applies the HasPrefix predicate on the "picture" field.

func PictureHasSuffix

func PictureHasSuffix(v string) predicate.Users

PictureHasSuffix applies the HasSuffix predicate on the "picture" field.

func PictureIn

func PictureIn(vs ...string) predicate.Users

PictureIn applies the In predicate on the "picture" field.

func PictureIsNil

func PictureIsNil() predicate.Users

PictureIsNil applies the IsNil predicate on the "picture" field.

func PictureLT

func PictureLT(v string) predicate.Users

PictureLT applies the LT predicate on the "picture" field.

func PictureLTE

func PictureLTE(v string) predicate.Users

PictureLTE applies the LTE predicate on the "picture" field.

func PictureNEQ

func PictureNEQ(v string) predicate.Users

PictureNEQ applies the NEQ predicate on the "picture" field.

func PictureNotIn

func PictureNotIn(vs ...string) predicate.Users

PictureNotIn applies the NotIn predicate on the "picture" field.

func PictureNotNil

func PictureNotNil() predicate.Users

PictureNotNil applies the NotNil predicate on the "picture" field.

func Profile

func Profile(v string) predicate.Users

Profile applies equality check predicate on the "profile" field. It's identical to ProfileEQ.

func ProfileContains

func ProfileContains(v string) predicate.Users

ProfileContains applies the Contains predicate on the "profile" field.

func ProfileContainsFold

func ProfileContainsFold(v string) predicate.Users

ProfileContainsFold applies the ContainsFold predicate on the "profile" field.

func ProfileEQ

func ProfileEQ(v string) predicate.Users

ProfileEQ applies the EQ predicate on the "profile" field.

func ProfileEqualFold

func ProfileEqualFold(v string) predicate.Users

ProfileEqualFold applies the EqualFold predicate on the "profile" field.

func ProfileGT

func ProfileGT(v string) predicate.Users

ProfileGT applies the GT predicate on the "profile" field.

func ProfileGTE

func ProfileGTE(v string) predicate.Users

ProfileGTE applies the GTE predicate on the "profile" field.

func ProfileHasPrefix

func ProfileHasPrefix(v string) predicate.Users

ProfileHasPrefix applies the HasPrefix predicate on the "profile" field.

func ProfileHasSuffix

func ProfileHasSuffix(v string) predicate.Users

ProfileHasSuffix applies the HasSuffix predicate on the "profile" field.

func ProfileIn

func ProfileIn(vs ...string) predicate.Users

ProfileIn applies the In predicate on the "profile" field.

func ProfileIsNil

func ProfileIsNil() predicate.Users

ProfileIsNil applies the IsNil predicate on the "profile" field.

func ProfileLT

func ProfileLT(v string) predicate.Users

ProfileLT applies the LT predicate on the "profile" field.

func ProfileLTE

func ProfileLTE(v string) predicate.Users

ProfileLTE applies the LTE predicate on the "profile" field.

func ProfileNEQ

func ProfileNEQ(v string) predicate.Users

ProfileNEQ applies the NEQ predicate on the "profile" field.

func ProfileNotIn

func ProfileNotIn(vs ...string) predicate.Users

ProfileNotIn applies the NotIn predicate on the "profile" field.

func ProfileNotNil

func ProfileNotNil() predicate.Users

ProfileNotNil applies the NotNil predicate on the "profile" field.

func RealnameEncrypted

func RealnameEncrypted(v []byte) predicate.Users

RealnameEncrypted applies equality check predicate on the "realname_encrypted" field. It's identical to RealnameEncryptedEQ.

func RealnameEncryptedEQ

func RealnameEncryptedEQ(v []byte) predicate.Users

RealnameEncryptedEQ applies the EQ predicate on the "realname_encrypted" field.

func RealnameEncryptedGT

func RealnameEncryptedGT(v []byte) predicate.Users

RealnameEncryptedGT applies the GT predicate on the "realname_encrypted" field.

func RealnameEncryptedGTE

func RealnameEncryptedGTE(v []byte) predicate.Users

RealnameEncryptedGTE applies the GTE predicate on the "realname_encrypted" field.

func RealnameEncryptedIn

func RealnameEncryptedIn(vs ...[]byte) predicate.Users

RealnameEncryptedIn applies the In predicate on the "realname_encrypted" field.

func RealnameEncryptedIsNil

func RealnameEncryptedIsNil() predicate.Users

RealnameEncryptedIsNil applies the IsNil predicate on the "realname_encrypted" field.

func RealnameEncryptedLT

func RealnameEncryptedLT(v []byte) predicate.Users

RealnameEncryptedLT applies the LT predicate on the "realname_encrypted" field.

func RealnameEncryptedLTE

func RealnameEncryptedLTE(v []byte) predicate.Users

RealnameEncryptedLTE applies the LTE predicate on the "realname_encrypted" field.

func RealnameEncryptedNEQ

func RealnameEncryptedNEQ(v []byte) predicate.Users

RealnameEncryptedNEQ applies the NEQ predicate on the "realname_encrypted" field.

func RealnameEncryptedNotIn

func RealnameEncryptedNotIn(vs ...[]byte) predicate.Users

RealnameEncryptedNotIn applies the NotIn predicate on the "realname_encrypted" field.

func RealnameEncryptedNotNil

func RealnameEncryptedNotNil() predicate.Users

RealnameEncryptedNotNil applies the NotNil predicate on the "realname_encrypted" field.

func Timezone

func Timezone(v string) predicate.Users

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

func TimezoneContains

func TimezoneContains(v string) predicate.Users

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

func TimezoneContainsFold

func TimezoneContainsFold(v string) predicate.Users

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

func TimezoneEQ

func TimezoneEQ(v string) predicate.Users

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

func TimezoneEqualFold

func TimezoneEqualFold(v string) predicate.Users

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

func TimezoneGT

func TimezoneGT(v string) predicate.Users

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

func TimezoneGTE

func TimezoneGTE(v string) predicate.Users

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

func TimezoneHasPrefix

func TimezoneHasPrefix(v string) predicate.Users

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

func TimezoneHasSuffix

func TimezoneHasSuffix(v string) predicate.Users

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

func TimezoneIn

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

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

func TimezoneIsNil

func TimezoneIsNil() predicate.Users

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

func TimezoneLT

func TimezoneLT(v string) predicate.Users

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

func TimezoneLTE

func TimezoneLTE(v string) predicate.Users

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

func TimezoneNEQ

func TimezoneNEQ(v string) predicate.Users

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

func TimezoneNotIn

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

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

func TimezoneNotNil

func TimezoneNotNil() predicate.Users

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Users

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Users

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Users

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Users

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Users

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Users

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Users

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

func UpdatedAtNotIn

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

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v int64) predicate.Users

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByEQ

func UpdatedByEQ(v int64) predicate.Users

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v int64) predicate.Users

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v int64) predicate.Users

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...int64) predicate.Users

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Users

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v int64) predicate.Users

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v int64) predicate.Users

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v int64) predicate.Users

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...int64) predicate.Users

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Users

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func UserStatus

func UserStatus(v int) predicate.Users

UserStatus applies equality check predicate on the "user_status" field. It's identical to UserStatusEQ.

func UserStatusEQ

func UserStatusEQ(v int) predicate.Users

UserStatusEQ applies the EQ predicate on the "user_status" field.

func UserStatusGT

func UserStatusGT(v int) predicate.Users

UserStatusGT applies the GT predicate on the "user_status" field.

func UserStatusGTE

func UserStatusGTE(v int) predicate.Users

UserStatusGTE applies the GTE predicate on the "user_status" field.

func UserStatusIn

func UserStatusIn(vs ...int) predicate.Users

UserStatusIn applies the In predicate on the "user_status" field.

func UserStatusLT

func UserStatusLT(v int) predicate.Users

UserStatusLT applies the LT predicate on the "user_status" field.

func UserStatusLTE

func UserStatusLTE(v int) predicate.Users

UserStatusLTE applies the LTE predicate on the "user_status" field.

func UserStatusNEQ

func UserStatusNEQ(v int) predicate.Users

UserStatusNEQ applies the NEQ predicate on the "user_status" field.

func UserStatusNotIn

func UserStatusNotIn(vs ...int) predicate.Users

UserStatusNotIn applies the NotIn predicate on the "user_status" field.

func UserType

func UserType(v int) predicate.Users

UserType applies equality check predicate on the "user_type" field. It's identical to UserTypeEQ.

func UserTypeEQ

func UserTypeEQ(v int) predicate.Users

UserTypeEQ applies the EQ predicate on the "user_type" field.

func UserTypeGT

func UserTypeGT(v int) predicate.Users

UserTypeGT applies the GT predicate on the "user_type" field.

func UserTypeGTE

func UserTypeGTE(v int) predicate.Users

UserTypeGTE applies the GTE predicate on the "user_type" field.

func UserTypeIn

func UserTypeIn(vs ...int) predicate.Users

UserTypeIn applies the In predicate on the "user_type" field.

func UserTypeLT

func UserTypeLT(v int) predicate.Users

UserTypeLT applies the LT predicate on the "user_type" field.

func UserTypeLTE

func UserTypeLTE(v int) predicate.Users

UserTypeLTE applies the LTE predicate on the "user_type" field.

func UserTypeNEQ

func UserTypeNEQ(v int) predicate.Users

UserTypeNEQ applies the NEQ predicate on the "user_type" field.

func UserTypeNotIn

func UserTypeNotIn(vs ...int) predicate.Users

UserTypeNotIn applies the NotIn predicate on the "user_type" field.

func Username

func Username(v string) predicate.Users

Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.

func UsernameContains

func UsernameContains(v string) predicate.Users

UsernameContains applies the Contains predicate on the "username" field.

func UsernameContainsFold

func UsernameContainsFold(v string) predicate.Users

UsernameContainsFold applies the ContainsFold predicate on the "username" field.

func UsernameEQ

func UsernameEQ(v string) predicate.Users

UsernameEQ applies the EQ predicate on the "username" field.

func UsernameEqualFold

func UsernameEqualFold(v string) predicate.Users

UsernameEqualFold applies the EqualFold predicate on the "username" field.

func UsernameGT

func UsernameGT(v string) predicate.Users

UsernameGT applies the GT predicate on the "username" field.

func UsernameGTE

func UsernameGTE(v string) predicate.Users

UsernameGTE applies the GTE predicate on the "username" field.

func UsernameHasPrefix

func UsernameHasPrefix(v string) predicate.Users

UsernameHasPrefix applies the HasPrefix predicate on the "username" field.

func UsernameHasSuffix

func UsernameHasSuffix(v string) predicate.Users

UsernameHasSuffix applies the HasSuffix predicate on the "username" field.

func UsernameIn

func UsernameIn(vs ...string) predicate.Users

UsernameIn applies the In predicate on the "username" field.

func UsernameLT

func UsernameLT(v string) predicate.Users

UsernameLT applies the LT predicate on the "username" field.

func UsernameLTE

func UsernameLTE(v string) predicate.Users

UsernameLTE applies the LTE predicate on the "username" field.

func UsernameNEQ

func UsernameNEQ(v string) predicate.Users

UsernameNEQ applies the NEQ predicate on the "username" field.

func UsernameNotIn

func UsernameNotIn(vs ...string) predicate.Users

UsernameNotIn applies the NotIn predicate on the "username" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Website

func Website(v string) predicate.Users

Website applies equality check predicate on the "website" field. It's identical to WebsiteEQ.

func WebsiteContains

func WebsiteContains(v string) predicate.Users

WebsiteContains applies the Contains predicate on the "website" field.

func WebsiteContainsFold

func WebsiteContainsFold(v string) predicate.Users

WebsiteContainsFold applies the ContainsFold predicate on the "website" field.

func WebsiteEQ

func WebsiteEQ(v string) predicate.Users

WebsiteEQ applies the EQ predicate on the "website" field.

func WebsiteEqualFold

func WebsiteEqualFold(v string) predicate.Users

WebsiteEqualFold applies the EqualFold predicate on the "website" field.

func WebsiteGT

func WebsiteGT(v string) predicate.Users

WebsiteGT applies the GT predicate on the "website" field.

func WebsiteGTE

func WebsiteGTE(v string) predicate.Users

WebsiteGTE applies the GTE predicate on the "website" field.

func WebsiteHasPrefix

func WebsiteHasPrefix(v string) predicate.Users

WebsiteHasPrefix applies the HasPrefix predicate on the "website" field.

func WebsiteHasSuffix

func WebsiteHasSuffix(v string) predicate.Users

WebsiteHasSuffix applies the HasSuffix predicate on the "website" field.

func WebsiteIn

func WebsiteIn(vs ...string) predicate.Users

WebsiteIn applies the In predicate on the "website" field.

func WebsiteIsNil

func WebsiteIsNil() predicate.Users

WebsiteIsNil applies the IsNil predicate on the "website" field.

func WebsiteLT

func WebsiteLT(v string) predicate.Users

WebsiteLT applies the LT predicate on the "website" field.

func WebsiteLTE

func WebsiteLTE(v string) predicate.Users

WebsiteLTE applies the LTE predicate on the "website" field.

func WebsiteNEQ

func WebsiteNEQ(v string) predicate.Users

WebsiteNEQ applies the NEQ predicate on the "website" field.

func WebsiteNotIn

func WebsiteNotIn(vs ...string) predicate.Users

WebsiteNotIn applies the NotIn predicate on the "website" field.

func WebsiteNotNil

func WebsiteNotNil() predicate.Users

WebsiteNotNil applies the NotNil predicate on the "website" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Users queries.

func ByBirthdate

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

ByBirthdate orders the results by the birthdate field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByEmailHash

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

ByEmailHash orders the results by the email_hash field.

func ByEmailVerified

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

ByEmailVerified orders the results by the email_verified 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 ByLionUserDepartments

func ByLionUserDepartments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByLionUserDepartments orders the results by lion_user_departments terms.

func ByLionUserDepartmentsCount

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

ByLionUserDepartmentsCount orders the results by lion_user_departments count.

func ByLionUserGroups

func ByLionUserGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByLionUserGroups orders the results by lion_user_groups terms.

func ByLionUserGroupsCount

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

ByLionUserGroupsCount orders the results by lion_user_groups count.

func ByLionUserIdentities

func ByLionUserIdentities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByLionUserIdentities orders the results by lion_user_identities terms.

func ByLionUserIdentitiesCount

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

ByLionUserIdentitiesCount orders the results by lion_user_identities count.

func ByLionUserRoles

func ByLionUserRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByLionUserRoles orders the results by lion_user_roles terms.

func ByLionUserRolesCount

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

ByLionUserRolesCount orders the results by lion_user_roles count.

func ByLocale

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

ByLocale orders the results by the locale field.

func ByNationalIDHash

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

ByNationalIDHash orders the results by the national_id_hash field.

func ByNickname

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

ByNickname orders the results by the nickname field.

func ByPhoneNumberHash

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

ByPhoneNumberHash orders the results by the phone_number_hash field.

func ByPhoneNumberVerified

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

ByPhoneNumberVerified orders the results by the phone_number_verified field.

func ByPicture

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

ByPicture orders the results by the picture field.

func ByProfile

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

ByProfile orders the results by the profile 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.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

func ByUserStatus

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

ByUserStatus orders the results by the user_status field.

func ByUserType

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

ByUserType orders the results by the user_type field.

func ByUsername

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

ByUsername orders the results by the username field.

func ByWebsite

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

ByWebsite orders the results by the website field.

Jump to

Keyboard shortcuts

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