Documentation
¶
Index ¶
- Constants
- Variables
- func AddressEncrypted(v []byte) predicate.Users
- func AddressEncryptedEQ(v []byte) predicate.Users
- func AddressEncryptedGT(v []byte) predicate.Users
- func AddressEncryptedGTE(v []byte) predicate.Users
- func AddressEncryptedIn(vs ...[]byte) predicate.Users
- func AddressEncryptedIsNil() predicate.Users
- func AddressEncryptedLT(v []byte) predicate.Users
- func AddressEncryptedLTE(v []byte) predicate.Users
- func AddressEncryptedNEQ(v []byte) predicate.Users
- func AddressEncryptedNotIn(vs ...[]byte) predicate.Users
- func AddressEncryptedNotNil() predicate.Users
- func And(predicates ...predicate.Users) predicate.Users
- func Birthdate(v time.Time) predicate.Users
- func BirthdateEQ(v time.Time) predicate.Users
- func BirthdateGT(v time.Time) predicate.Users
- func BirthdateGTE(v time.Time) predicate.Users
- func BirthdateIn(vs ...time.Time) predicate.Users
- func BirthdateIsNil() predicate.Users
- func BirthdateLT(v time.Time) predicate.Users
- func BirthdateLTE(v time.Time) predicate.Users
- func BirthdateNEQ(v time.Time) predicate.Users
- func BirthdateNotIn(vs ...time.Time) predicate.Users
- func BirthdateNotNil() predicate.Users
- func CreatedAt(v time.Time) predicate.Users
- func CreatedAtEQ(v time.Time) predicate.Users
- func CreatedAtGT(v time.Time) predicate.Users
- func CreatedAtGTE(v time.Time) predicate.Users
- func CreatedAtIn(vs ...time.Time) predicate.Users
- func CreatedAtLT(v time.Time) predicate.Users
- func CreatedAtLTE(v time.Time) predicate.Users
- func CreatedAtNEQ(v time.Time) predicate.Users
- func CreatedAtNotIn(vs ...time.Time) predicate.Users
- func CreatedBy(v int64) predicate.Users
- func CreatedByEQ(v int64) predicate.Users
- func CreatedByGT(v int64) predicate.Users
- func CreatedByGTE(v int64) predicate.Users
- func CreatedByIn(vs ...int64) predicate.Users
- func CreatedByIsNil() predicate.Users
- func CreatedByLT(v int64) predicate.Users
- func CreatedByLTE(v int64) predicate.Users
- func CreatedByNEQ(v int64) predicate.Users
- func CreatedByNotIn(vs ...int64) predicate.Users
- func CreatedByNotNil() predicate.Users
- func DeletedAt(v time.Time) predicate.Users
- func DeletedAtEQ(v time.Time) predicate.Users
- func DeletedAtGT(v time.Time) predicate.Users
- func DeletedAtGTE(v time.Time) predicate.Users
- func DeletedAtIn(vs ...time.Time) predicate.Users
- func DeletedAtIsNil() predicate.Users
- func DeletedAtLT(v time.Time) predicate.Users
- func DeletedAtLTE(v time.Time) predicate.Users
- func DeletedAtNEQ(v time.Time) predicate.Users
- func DeletedAtNotIn(vs ...time.Time) predicate.Users
- func DeletedAtNotNil() predicate.Users
- func Description(v string) predicate.Users
- func DescriptionContains(v string) predicate.Users
- func DescriptionContainsFold(v string) predicate.Users
- func DescriptionEQ(v string) predicate.Users
- func DescriptionEqualFold(v string) predicate.Users
- func DescriptionGT(v string) predicate.Users
- func DescriptionGTE(v string) predicate.Users
- func DescriptionHasPrefix(v string) predicate.Users
- func DescriptionHasSuffix(v string) predicate.Users
- func DescriptionIn(vs ...string) predicate.Users
- func DescriptionIsNil() predicate.Users
- func DescriptionLT(v string) predicate.Users
- func DescriptionLTE(v string) predicate.Users
- func DescriptionNEQ(v string) predicate.Users
- func DescriptionNotIn(vs ...string) predicate.Users
- func DescriptionNotNil() predicate.Users
- func EmailEncrypted(v []byte) predicate.Users
- func EmailEncryptedEQ(v []byte) predicate.Users
- func EmailEncryptedGT(v []byte) predicate.Users
- func EmailEncryptedGTE(v []byte) predicate.Users
- func EmailEncryptedIn(vs ...[]byte) predicate.Users
- func EmailEncryptedIsNil() predicate.Users
- func EmailEncryptedLT(v []byte) predicate.Users
- func EmailEncryptedLTE(v []byte) predicate.Users
- func EmailEncryptedNEQ(v []byte) predicate.Users
- func EmailEncryptedNotIn(vs ...[]byte) predicate.Users
- func EmailEncryptedNotNil() predicate.Users
- func EmailHash(v string) predicate.Users
- func EmailHashContains(v string) predicate.Users
- func EmailHashContainsFold(v string) predicate.Users
- func EmailHashEQ(v string) predicate.Users
- func EmailHashEqualFold(v string) predicate.Users
- func EmailHashGT(v string) predicate.Users
- func EmailHashGTE(v string) predicate.Users
- func EmailHashHasPrefix(v string) predicate.Users
- func EmailHashHasSuffix(v string) predicate.Users
- func EmailHashIn(vs ...string) predicate.Users
- func EmailHashIsNil() predicate.Users
- func EmailHashLT(v string) predicate.Users
- func EmailHashLTE(v string) predicate.Users
- func EmailHashNEQ(v string) predicate.Users
- func EmailHashNotIn(vs ...string) predicate.Users
- func EmailHashNotNil() predicate.Users
- func EmailVerified(v bool) predicate.Users
- func EmailVerifiedEQ(v bool) predicate.Users
- func EmailVerifiedNEQ(v bool) predicate.Users
- func Gender(v int) predicate.Users
- func GenderEQ(v int) predicate.Users
- func GenderGT(v int) predicate.Users
- func GenderGTE(v int) predicate.Users
- func GenderIn(vs ...int) predicate.Users
- func GenderLT(v int) predicate.Users
- func GenderLTE(v int) predicate.Users
- func GenderNEQ(v int) predicate.Users
- func GenderNotIn(vs ...int) predicate.Users
- func HasLionUserDepartments() predicate.Users
- func HasLionUserDepartmentsWith(preds ...predicate.UserDepartments) predicate.Users
- func HasLionUserGroups() predicate.Users
- func HasLionUserGroupsWith(preds ...predicate.UserGroups) predicate.Users
- func HasLionUserIdentities() predicate.Users
- func HasLionUserIdentitiesWith(preds ...predicate.UserIdentities) predicate.Users
- func HasLionUserRoles() predicate.Users
- func HasLionUserRolesWith(preds ...predicate.UserRoles) predicate.Users
- func ID(id int) predicate.Users
- func IDEQ(id int) predicate.Users
- func IDGT(id int) predicate.Users
- func IDGTE(id int) predicate.Users
- func IDIn(ids ...int) predicate.Users
- func IDLT(id int) predicate.Users
- func IDLTE(id int) predicate.Users
- func IDNEQ(id int) predicate.Users
- func IDNotIn(ids ...int) predicate.Users
- func Locale(v string) predicate.Users
- func LocaleContains(v string) predicate.Users
- func LocaleContainsFold(v string) predicate.Users
- func LocaleEQ(v string) predicate.Users
- func LocaleEqualFold(v string) predicate.Users
- func LocaleGT(v string) predicate.Users
- func LocaleGTE(v string) predicate.Users
- func LocaleHasPrefix(v string) predicate.Users
- func LocaleHasSuffix(v string) predicate.Users
- func LocaleIn(vs ...string) predicate.Users
- func LocaleIsNil() predicate.Users
- func LocaleLT(v string) predicate.Users
- func LocaleLTE(v string) predicate.Users
- func LocaleNEQ(v string) predicate.Users
- func LocaleNotIn(vs ...string) predicate.Users
- func LocaleNotNil() predicate.Users
- func MetadataIsNil() predicate.Users
- func MetadataNotNil() predicate.Users
- func NationalIDEncrypted(v []byte) predicate.Users
- func NationalIDEncryptedEQ(v []byte) predicate.Users
- func NationalIDEncryptedGT(v []byte) predicate.Users
- func NationalIDEncryptedGTE(v []byte) predicate.Users
- func NationalIDEncryptedIn(vs ...[]byte) predicate.Users
- func NationalIDEncryptedIsNil() predicate.Users
- func NationalIDEncryptedLT(v []byte) predicate.Users
- func NationalIDEncryptedLTE(v []byte) predicate.Users
- func NationalIDEncryptedNEQ(v []byte) predicate.Users
- func NationalIDEncryptedNotIn(vs ...[]byte) predicate.Users
- func NationalIDEncryptedNotNil() predicate.Users
- func NationalIDHash(v string) predicate.Users
- func NationalIDHashContains(v string) predicate.Users
- func NationalIDHashContainsFold(v string) predicate.Users
- func NationalIDHashEQ(v string) predicate.Users
- func NationalIDHashEqualFold(v string) predicate.Users
- func NationalIDHashGT(v string) predicate.Users
- func NationalIDHashGTE(v string) predicate.Users
- func NationalIDHashHasPrefix(v string) predicate.Users
- func NationalIDHashHasSuffix(v string) predicate.Users
- func NationalIDHashIn(vs ...string) predicate.Users
- func NationalIDHashIsNil() predicate.Users
- func NationalIDHashLT(v string) predicate.Users
- func NationalIDHashLTE(v string) predicate.Users
- func NationalIDHashNEQ(v string) predicate.Users
- func NationalIDHashNotIn(vs ...string) predicate.Users
- func NationalIDHashNotNil() predicate.Users
- func Nickname(v string) predicate.Users
- func NicknameContains(v string) predicate.Users
- func NicknameContainsFold(v string) predicate.Users
- func NicknameEQ(v string) predicate.Users
- func NicknameEqualFold(v string) predicate.Users
- func NicknameGT(v string) predicate.Users
- func NicknameGTE(v string) predicate.Users
- func NicknameHasPrefix(v string) predicate.Users
- func NicknameHasSuffix(v string) predicate.Users
- func NicknameIn(vs ...string) predicate.Users
- func NicknameIsNil() predicate.Users
- func NicknameLT(v string) predicate.Users
- func NicknameLTE(v string) predicate.Users
- func NicknameNEQ(v string) predicate.Users
- func NicknameNotIn(vs ...string) predicate.Users
- func NicknameNotNil() predicate.Users
- func Not(p predicate.Users) predicate.Users
- func Or(predicates ...predicate.Users) predicate.Users
- func PhoneNumberEncrypted(v []byte) predicate.Users
- func PhoneNumberEncryptedEQ(v []byte) predicate.Users
- func PhoneNumberEncryptedGT(v []byte) predicate.Users
- func PhoneNumberEncryptedGTE(v []byte) predicate.Users
- func PhoneNumberEncryptedIn(vs ...[]byte) predicate.Users
- func PhoneNumberEncryptedIsNil() predicate.Users
- func PhoneNumberEncryptedLT(v []byte) predicate.Users
- func PhoneNumberEncryptedLTE(v []byte) predicate.Users
- func PhoneNumberEncryptedNEQ(v []byte) predicate.Users
- func PhoneNumberEncryptedNotIn(vs ...[]byte) predicate.Users
- func PhoneNumberEncryptedNotNil() predicate.Users
- func PhoneNumberHash(v string) predicate.Users
- func PhoneNumberHashContains(v string) predicate.Users
- func PhoneNumberHashContainsFold(v string) predicate.Users
- func PhoneNumberHashEQ(v string) predicate.Users
- func PhoneNumberHashEqualFold(v string) predicate.Users
- func PhoneNumberHashGT(v string) predicate.Users
- func PhoneNumberHashGTE(v string) predicate.Users
- func PhoneNumberHashHasPrefix(v string) predicate.Users
- func PhoneNumberHashHasSuffix(v string) predicate.Users
- func PhoneNumberHashIn(vs ...string) predicate.Users
- func PhoneNumberHashIsNil() predicate.Users
- func PhoneNumberHashLT(v string) predicate.Users
- func PhoneNumberHashLTE(v string) predicate.Users
- func PhoneNumberHashNEQ(v string) predicate.Users
- func PhoneNumberHashNotIn(vs ...string) predicate.Users
- func PhoneNumberHashNotNil() predicate.Users
- func PhoneNumberVerified(v bool) predicate.Users
- func PhoneNumberVerifiedEQ(v bool) predicate.Users
- func PhoneNumberVerifiedNEQ(v bool) predicate.Users
- func Picture(v string) predicate.Users
- func PictureContains(v string) predicate.Users
- func PictureContainsFold(v string) predicate.Users
- func PictureEQ(v string) predicate.Users
- func PictureEqualFold(v string) predicate.Users
- func PictureGT(v string) predicate.Users
- func PictureGTE(v string) predicate.Users
- func PictureHasPrefix(v string) predicate.Users
- func PictureHasSuffix(v string) predicate.Users
- func PictureIn(vs ...string) predicate.Users
- func PictureIsNil() predicate.Users
- func PictureLT(v string) predicate.Users
- func PictureLTE(v string) predicate.Users
- func PictureNEQ(v string) predicate.Users
- func PictureNotIn(vs ...string) predicate.Users
- func PictureNotNil() predicate.Users
- func Profile(v string) predicate.Users
- func ProfileContains(v string) predicate.Users
- func ProfileContainsFold(v string) predicate.Users
- func ProfileEQ(v string) predicate.Users
- func ProfileEqualFold(v string) predicate.Users
- func ProfileGT(v string) predicate.Users
- func ProfileGTE(v string) predicate.Users
- func ProfileHasPrefix(v string) predicate.Users
- func ProfileHasSuffix(v string) predicate.Users
- func ProfileIn(vs ...string) predicate.Users
- func ProfileIsNil() predicate.Users
- func ProfileLT(v string) predicate.Users
- func ProfileLTE(v string) predicate.Users
- func ProfileNEQ(v string) predicate.Users
- func ProfileNotIn(vs ...string) predicate.Users
- func ProfileNotNil() predicate.Users
- func RealnameEncrypted(v []byte) predicate.Users
- func RealnameEncryptedEQ(v []byte) predicate.Users
- func RealnameEncryptedGT(v []byte) predicate.Users
- func RealnameEncryptedGTE(v []byte) predicate.Users
- func RealnameEncryptedIn(vs ...[]byte) predicate.Users
- func RealnameEncryptedIsNil() predicate.Users
- func RealnameEncryptedLT(v []byte) predicate.Users
- func RealnameEncryptedLTE(v []byte) predicate.Users
- func RealnameEncryptedNEQ(v []byte) predicate.Users
- func RealnameEncryptedNotIn(vs ...[]byte) predicate.Users
- func RealnameEncryptedNotNil() predicate.Users
- func Timezone(v string) predicate.Users
- func TimezoneContains(v string) predicate.Users
- func TimezoneContainsFold(v string) predicate.Users
- func TimezoneEQ(v string) predicate.Users
- func TimezoneEqualFold(v string) predicate.Users
- func TimezoneGT(v string) predicate.Users
- func TimezoneGTE(v string) predicate.Users
- func TimezoneHasPrefix(v string) predicate.Users
- func TimezoneHasSuffix(v string) predicate.Users
- func TimezoneIn(vs ...string) predicate.Users
- func TimezoneIsNil() predicate.Users
- func TimezoneLT(v string) predicate.Users
- func TimezoneLTE(v string) predicate.Users
- func TimezoneNEQ(v string) predicate.Users
- func TimezoneNotIn(vs ...string) predicate.Users
- func TimezoneNotNil() predicate.Users
- func UpdatedAt(v time.Time) predicate.Users
- func UpdatedAtEQ(v time.Time) predicate.Users
- func UpdatedAtGT(v time.Time) predicate.Users
- func UpdatedAtGTE(v time.Time) predicate.Users
- func UpdatedAtIn(vs ...time.Time) predicate.Users
- func UpdatedAtLT(v time.Time) predicate.Users
- func UpdatedAtLTE(v time.Time) predicate.Users
- func UpdatedAtNEQ(v time.Time) predicate.Users
- func UpdatedAtNotIn(vs ...time.Time) predicate.Users
- func UpdatedBy(v int64) predicate.Users
- func UpdatedByEQ(v int64) predicate.Users
- func UpdatedByGT(v int64) predicate.Users
- func UpdatedByGTE(v int64) predicate.Users
- func UpdatedByIn(vs ...int64) predicate.Users
- func UpdatedByIsNil() predicate.Users
- func UpdatedByLT(v int64) predicate.Users
- func UpdatedByLTE(v int64) predicate.Users
- func UpdatedByNEQ(v int64) predicate.Users
- func UpdatedByNotIn(vs ...int64) predicate.Users
- func UpdatedByNotNil() predicate.Users
- func UserStatus(v int) predicate.Users
- func UserStatusEQ(v int) predicate.Users
- func UserStatusGT(v int) predicate.Users
- func UserStatusGTE(v int) predicate.Users
- func UserStatusIn(vs ...int) predicate.Users
- func UserStatusLT(v int) predicate.Users
- func UserStatusLTE(v int) predicate.Users
- func UserStatusNEQ(v int) predicate.Users
- func UserStatusNotIn(vs ...int) predicate.Users
- func UserType(v int) predicate.Users
- func UserTypeEQ(v int) predicate.Users
- func UserTypeGT(v int) predicate.Users
- func UserTypeGTE(v int) predicate.Users
- func UserTypeIn(vs ...int) predicate.Users
- func UserTypeLT(v int) predicate.Users
- func UserTypeLTE(v int) predicate.Users
- func UserTypeNEQ(v int) predicate.Users
- func UserTypeNotIn(vs ...int) predicate.Users
- func Username(v string) predicate.Users
- func UsernameContains(v string) predicate.Users
- func UsernameContainsFold(v string) predicate.Users
- func UsernameEQ(v string) predicate.Users
- func UsernameEqualFold(v string) predicate.Users
- func UsernameGT(v string) predicate.Users
- func UsernameGTE(v string) predicate.Users
- func UsernameHasPrefix(v string) predicate.Users
- func UsernameHasSuffix(v string) predicate.Users
- func UsernameIn(vs ...string) predicate.Users
- func UsernameLT(v string) predicate.Users
- func UsernameLTE(v string) predicate.Users
- func UsernameNEQ(v string) predicate.Users
- func UsernameNotIn(vs ...string) predicate.Users
- func ValidColumn(column string) bool
- func Website(v string) predicate.Users
- func WebsiteContains(v string) predicate.Users
- func WebsiteContainsFold(v string) predicate.Users
- func WebsiteEQ(v string) predicate.Users
- func WebsiteEqualFold(v string) predicate.Users
- func WebsiteGT(v string) predicate.Users
- func WebsiteGTE(v string) predicate.Users
- func WebsiteHasPrefix(v string) predicate.Users
- func WebsiteHasSuffix(v string) predicate.Users
- func WebsiteIn(vs ...string) predicate.Users
- func WebsiteIsNil() predicate.Users
- func WebsiteLT(v string) predicate.Users
- func WebsiteLTE(v string) predicate.Users
- func WebsiteNEQ(v string) predicate.Users
- func WebsiteNotIn(vs ...string) predicate.Users
- func WebsiteNotNil() predicate.Users
- type OrderOption
- func ByBirthdate(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEmailHash(opts ...sql.OrderTermOption) OrderOption
- func ByEmailVerified(opts ...sql.OrderTermOption) OrderOption
- func ByGender(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLionUserDepartments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLionUserDepartmentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByLionUserGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLionUserGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByLionUserIdentities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLionUserIdentitiesCount(opts ...sql.OrderTermOption) OrderOption
- func ByLionUserRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLionUserRolesCount(opts ...sql.OrderTermOption) OrderOption
- func ByLocale(opts ...sql.OrderTermOption) OrderOption
- func ByNationalIDHash(opts ...sql.OrderTermOption) OrderOption
- func ByNickname(opts ...sql.OrderTermOption) OrderOption
- func ByPhoneNumberHash(opts ...sql.OrderTermOption) OrderOption
- func ByPhoneNumberVerified(opts ...sql.OrderTermOption) OrderOption
- func ByPicture(opts ...sql.OrderTermOption) OrderOption
- func ByProfile(opts ...sql.OrderTermOption) OrderOption
- func ByTimezone(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUserStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUserType(opts ...sql.OrderTermOption) OrderOption
- func ByUsername(opts ...sql.OrderTermOption) OrderOption
- func ByWebsite(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldCreatedBy, FieldUpdatedBy, FieldUsername, FieldRealnameEncrypted, FieldUserType, FieldUserStatus, FieldNationalIDEncrypted, FieldNationalIDHash, FieldNickname, FieldProfile, FieldPicture, FieldWebsite, FieldEmailEncrypted, FieldEmailHash, FieldEmailVerified, FieldGender, FieldBirthdate, FieldTimezone, FieldLocale, FieldPhoneNumberEncrypted, FieldPhoneNumberHash, FieldPhoneNumberVerified, FieldAddressEncrypted, FieldDescription, FieldMetadata, }
Columns holds all SQL columns for users fields.
Functions ¶
func AddressEncrypted ¶
AddressEncrypted applies equality check predicate on the "address_encrypted" field. It's identical to AddressEncryptedEQ.
func AddressEncryptedEQ ¶
AddressEncryptedEQ applies the EQ predicate on the "address_encrypted" field.
func AddressEncryptedGT ¶
AddressEncryptedGT applies the GT predicate on the "address_encrypted" field.
func AddressEncryptedGTE ¶
AddressEncryptedGTE applies the GTE predicate on the "address_encrypted" field.
func AddressEncryptedIn ¶
AddressEncryptedIn applies the In predicate on the "address_encrypted" field.
func AddressEncryptedIsNil ¶
AddressEncryptedIsNil applies the IsNil predicate on the "address_encrypted" field.
func AddressEncryptedLT ¶
AddressEncryptedLT applies the LT predicate on the "address_encrypted" field.
func AddressEncryptedLTE ¶
AddressEncryptedLTE applies the LTE predicate on the "address_encrypted" field.
func AddressEncryptedNEQ ¶
AddressEncryptedNEQ applies the NEQ predicate on the "address_encrypted" field.
func AddressEncryptedNotIn ¶
AddressEncryptedNotIn applies the NotIn predicate on the "address_encrypted" field.
func AddressEncryptedNotNil ¶
AddressEncryptedNotNil applies the NotNil predicate on the "address_encrypted" field.
func Birthdate ¶
Birthdate applies equality check predicate on the "birthdate" field. It's identical to BirthdateEQ.
func BirthdateEQ ¶
BirthdateEQ applies the EQ predicate on the "birthdate" field.
func BirthdateGT ¶
BirthdateGT applies the GT predicate on the "birthdate" field.
func BirthdateGTE ¶
BirthdateGTE applies the GTE predicate on the "birthdate" field.
func BirthdateIn ¶
BirthdateIn applies the In predicate on the "birthdate" field.
func BirthdateIsNil ¶
BirthdateIsNil applies the IsNil predicate on the "birthdate" field.
func BirthdateLT ¶
BirthdateLT applies the LT predicate on the "birthdate" field.
func BirthdateLTE ¶
BirthdateLTE applies the LTE predicate on the "birthdate" field.
func BirthdateNEQ ¶
BirthdateNEQ applies the NEQ predicate on the "birthdate" field.
func BirthdateNotIn ¶
BirthdateNotIn applies the NotIn predicate on the "birthdate" field.
func BirthdateNotNil ¶
BirthdateNotNil applies the NotNil predicate on the "birthdate" field.
func 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 CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func EmailEncrypted ¶
EmailEncrypted applies equality check predicate on the "email_encrypted" field. It's identical to EmailEncryptedEQ.
func EmailEncryptedEQ ¶
EmailEncryptedEQ applies the EQ predicate on the "email_encrypted" field.
func EmailEncryptedGT ¶
EmailEncryptedGT applies the GT predicate on the "email_encrypted" field.
func EmailEncryptedGTE ¶
EmailEncryptedGTE applies the GTE predicate on the "email_encrypted" field.
func EmailEncryptedIn ¶
EmailEncryptedIn applies the In predicate on the "email_encrypted" field.
func EmailEncryptedIsNil ¶
EmailEncryptedIsNil applies the IsNil predicate on the "email_encrypted" field.
func EmailEncryptedLT ¶
EmailEncryptedLT applies the LT predicate on the "email_encrypted" field.
func EmailEncryptedLTE ¶
EmailEncryptedLTE applies the LTE predicate on the "email_encrypted" field.
func EmailEncryptedNEQ ¶
EmailEncryptedNEQ applies the NEQ predicate on the "email_encrypted" field.
func EmailEncryptedNotIn ¶
EmailEncryptedNotIn applies the NotIn predicate on the "email_encrypted" field.
func EmailEncryptedNotNil ¶
EmailEncryptedNotNil applies the NotNil predicate on the "email_encrypted" field.
func EmailHash ¶
EmailHash applies equality check predicate on the "email_hash" field. It's identical to EmailHashEQ.
func EmailHashContains ¶
EmailHashContains applies the Contains predicate on the "email_hash" field.
func EmailHashContainsFold ¶
EmailHashContainsFold applies the ContainsFold predicate on the "email_hash" field.
func EmailHashEQ ¶
EmailHashEQ applies the EQ predicate on the "email_hash" field.
func EmailHashEqualFold ¶
EmailHashEqualFold applies the EqualFold predicate on the "email_hash" field.
func EmailHashGT ¶
EmailHashGT applies the GT predicate on the "email_hash" field.
func EmailHashGTE ¶
EmailHashGTE applies the GTE predicate on the "email_hash" field.
func EmailHashHasPrefix ¶
EmailHashHasPrefix applies the HasPrefix predicate on the "email_hash" field.
func EmailHashHasSuffix ¶
EmailHashHasSuffix applies the HasSuffix predicate on the "email_hash" field.
func EmailHashIn ¶
EmailHashIn applies the In predicate on the "email_hash" field.
func EmailHashIsNil ¶
EmailHashIsNil applies the IsNil predicate on the "email_hash" field.
func EmailHashLT ¶
EmailHashLT applies the LT predicate on the "email_hash" field.
func EmailHashLTE ¶
EmailHashLTE applies the LTE predicate on the "email_hash" field.
func EmailHashNEQ ¶
EmailHashNEQ applies the NEQ predicate on the "email_hash" field.
func EmailHashNotIn ¶
EmailHashNotIn applies the NotIn predicate on the "email_hash" field.
func EmailHashNotNil ¶
EmailHashNotNil applies the NotNil predicate on the "email_hash" field.
func EmailVerified ¶
EmailVerified applies equality check predicate on the "email_verified" field. It's identical to EmailVerifiedEQ.
func EmailVerifiedEQ ¶
EmailVerifiedEQ applies the EQ predicate on the "email_verified" field.
func EmailVerifiedNEQ ¶
EmailVerifiedNEQ applies the NEQ predicate on the "email_verified" field.
func Gender ¶
Gender applies equality check predicate on the "gender" field. It's identical to GenderEQ.
func GenderNotIn ¶
GenderNotIn applies the NotIn predicate on the "gender" field.
func HasLionUserDepartments ¶
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 ¶
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 ¶
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 ¶
HasLionUserRoles applies the HasEdge predicate on the "lion_user_roles" edge.
func HasLionUserRolesWith ¶
HasLionUserRolesWith applies the HasEdge predicate on the "lion_user_roles" edge with a given conditions (other predicates).
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 MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func NationalIDEncrypted ¶
NationalIDEncrypted applies equality check predicate on the "national_id_encrypted" field. It's identical to NationalIDEncryptedEQ.
func NationalIDEncryptedEQ ¶
NationalIDEncryptedEQ applies the EQ predicate on the "national_id_encrypted" field.
func NationalIDEncryptedGT ¶
NationalIDEncryptedGT applies the GT predicate on the "national_id_encrypted" field.
func NationalIDEncryptedGTE ¶
NationalIDEncryptedGTE applies the GTE predicate on the "national_id_encrypted" field.
func NationalIDEncryptedIn ¶
NationalIDEncryptedIn applies the In predicate on the "national_id_encrypted" field.
func NationalIDEncryptedIsNil ¶
NationalIDEncryptedIsNil applies the IsNil predicate on the "national_id_encrypted" field.
func NationalIDEncryptedLT ¶
NationalIDEncryptedLT applies the LT predicate on the "national_id_encrypted" field.
func NationalIDEncryptedLTE ¶
NationalIDEncryptedLTE applies the LTE predicate on the "national_id_encrypted" field.
func NationalIDEncryptedNEQ ¶
NationalIDEncryptedNEQ applies the NEQ predicate on the "national_id_encrypted" field.
func NationalIDEncryptedNotIn ¶
NationalIDEncryptedNotIn applies the NotIn predicate on the "national_id_encrypted" field.
func NationalIDEncryptedNotNil ¶
NationalIDEncryptedNotNil applies the NotNil predicate on the "national_id_encrypted" field.
func NationalIDHash ¶
NationalIDHash applies equality check predicate on the "national_id_hash" field. It's identical to NationalIDHashEQ.
func NationalIDHashContains ¶
NationalIDHashContains applies the Contains predicate on the "national_id_hash" field.
func NationalIDHashContainsFold ¶
NationalIDHashContainsFold applies the ContainsFold predicate on the "national_id_hash" field.
func NationalIDHashEQ ¶
NationalIDHashEQ applies the EQ predicate on the "national_id_hash" field.
func NationalIDHashEqualFold ¶
NationalIDHashEqualFold applies the EqualFold predicate on the "national_id_hash" field.
func NationalIDHashGT ¶
NationalIDHashGT applies the GT predicate on the "national_id_hash" field.
func NationalIDHashGTE ¶
NationalIDHashGTE applies the GTE predicate on the "national_id_hash" field.
func NationalIDHashHasPrefix ¶
NationalIDHashHasPrefix applies the HasPrefix predicate on the "national_id_hash" field.
func NationalIDHashHasSuffix ¶
NationalIDHashHasSuffix applies the HasSuffix predicate on the "national_id_hash" field.
func NationalIDHashIn ¶
NationalIDHashIn applies the In predicate on the "national_id_hash" field.
func NationalIDHashIsNil ¶
NationalIDHashIsNil applies the IsNil predicate on the "national_id_hash" field.
func NationalIDHashLT ¶
NationalIDHashLT applies the LT predicate on the "national_id_hash" field.
func NationalIDHashLTE ¶
NationalIDHashLTE applies the LTE predicate on the "national_id_hash" field.
func NationalIDHashNEQ ¶
NationalIDHashNEQ applies the NEQ predicate on the "national_id_hash" field.
func NationalIDHashNotIn ¶
NationalIDHashNotIn applies the NotIn predicate on the "national_id_hash" field.
func NationalIDHashNotNil ¶
NationalIDHashNotNil applies the NotNil predicate on the "national_id_hash" field.
func Nickname ¶
Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
func NicknameContains ¶
NicknameContains applies the Contains predicate on the "nickname" field.
func NicknameContainsFold ¶
NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
func NicknameEQ ¶
NicknameEQ applies the EQ predicate on the "nickname" field.
func NicknameEqualFold ¶
NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
func NicknameGT ¶
NicknameGT applies the GT predicate on the "nickname" field.
func NicknameGTE ¶
NicknameGTE applies the GTE predicate on the "nickname" field.
func NicknameHasPrefix ¶
NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
func NicknameHasSuffix ¶
NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
func NicknameIn ¶
NicknameIn applies the In predicate on the "nickname" field.
func NicknameIsNil ¶
NicknameIsNil applies the IsNil predicate on the "nickname" field.
func NicknameLT ¶
NicknameLT applies the LT predicate on the "nickname" field.
func NicknameLTE ¶
NicknameLTE applies the LTE predicate on the "nickname" field.
func NicknameNEQ ¶
NicknameNEQ applies the NEQ predicate on the "nickname" field.
func NicknameNotIn ¶
NicknameNotIn applies the NotIn predicate on the "nickname" field.
func NicknameNotNil ¶
NicknameNotNil applies the NotNil predicate on the "nickname" field.
func PhoneNumberEncrypted ¶
PhoneNumberEncrypted applies equality check predicate on the "phone_number_encrypted" field. It's identical to PhoneNumberEncryptedEQ.
func PhoneNumberEncryptedEQ ¶
PhoneNumberEncryptedEQ applies the EQ predicate on the "phone_number_encrypted" field.
func PhoneNumberEncryptedGT ¶
PhoneNumberEncryptedGT applies the GT predicate on the "phone_number_encrypted" field.
func PhoneNumberEncryptedGTE ¶
PhoneNumberEncryptedGTE applies the GTE predicate on the "phone_number_encrypted" field.
func PhoneNumberEncryptedIn ¶
PhoneNumberEncryptedIn applies the In predicate on the "phone_number_encrypted" field.
func PhoneNumberEncryptedIsNil ¶
PhoneNumberEncryptedIsNil applies the IsNil predicate on the "phone_number_encrypted" field.
func PhoneNumberEncryptedLT ¶
PhoneNumberEncryptedLT applies the LT predicate on the "phone_number_encrypted" field.
func PhoneNumberEncryptedLTE ¶
PhoneNumberEncryptedLTE applies the LTE predicate on the "phone_number_encrypted" field.
func PhoneNumberEncryptedNEQ ¶
PhoneNumberEncryptedNEQ applies the NEQ predicate on the "phone_number_encrypted" field.
func PhoneNumberEncryptedNotIn ¶
PhoneNumberEncryptedNotIn applies the NotIn predicate on the "phone_number_encrypted" field.
func PhoneNumberEncryptedNotNil ¶
PhoneNumberEncryptedNotNil applies the NotNil predicate on the "phone_number_encrypted" field.
func PhoneNumberHash ¶
PhoneNumberHash applies equality check predicate on the "phone_number_hash" field. It's identical to PhoneNumberHashEQ.
func PhoneNumberHashContains ¶
PhoneNumberHashContains applies the Contains predicate on the "phone_number_hash" field.
func PhoneNumberHashContainsFold ¶
PhoneNumberHashContainsFold applies the ContainsFold predicate on the "phone_number_hash" field.
func PhoneNumberHashEQ ¶
PhoneNumberHashEQ applies the EQ predicate on the "phone_number_hash" field.
func PhoneNumberHashEqualFold ¶
PhoneNumberHashEqualFold applies the EqualFold predicate on the "phone_number_hash" field.
func PhoneNumberHashGT ¶
PhoneNumberHashGT applies the GT predicate on the "phone_number_hash" field.
func PhoneNumberHashGTE ¶
PhoneNumberHashGTE applies the GTE predicate on the "phone_number_hash" field.
func PhoneNumberHashHasPrefix ¶
PhoneNumberHashHasPrefix applies the HasPrefix predicate on the "phone_number_hash" field.
func PhoneNumberHashHasSuffix ¶
PhoneNumberHashHasSuffix applies the HasSuffix predicate on the "phone_number_hash" field.
func PhoneNumberHashIn ¶
PhoneNumberHashIn applies the In predicate on the "phone_number_hash" field.
func PhoneNumberHashIsNil ¶
PhoneNumberHashIsNil applies the IsNil predicate on the "phone_number_hash" field.
func PhoneNumberHashLT ¶
PhoneNumberHashLT applies the LT predicate on the "phone_number_hash" field.
func PhoneNumberHashLTE ¶
PhoneNumberHashLTE applies the LTE predicate on the "phone_number_hash" field.
func PhoneNumberHashNEQ ¶
PhoneNumberHashNEQ applies the NEQ predicate on the "phone_number_hash" field.
func PhoneNumberHashNotIn ¶
PhoneNumberHashNotIn applies the NotIn predicate on the "phone_number_hash" field.
func PhoneNumberHashNotNil ¶
PhoneNumberHashNotNil applies the NotNil predicate on the "phone_number_hash" field.
func PhoneNumberVerified ¶
PhoneNumberVerified applies equality check predicate on the "phone_number_verified" field. It's identical to PhoneNumberVerifiedEQ.
func PhoneNumberVerifiedEQ ¶
PhoneNumberVerifiedEQ applies the EQ predicate on the "phone_number_verified" field.
func PhoneNumberVerifiedNEQ ¶
PhoneNumberVerifiedNEQ applies the NEQ predicate on the "phone_number_verified" field.
func Picture ¶
Picture applies equality check predicate on the "picture" field. It's identical to PictureEQ.
func PictureContains ¶
PictureContains applies the Contains predicate on the "picture" field.
func PictureContainsFold ¶
PictureContainsFold applies the ContainsFold predicate on the "picture" field.
func PictureEqualFold ¶
PictureEqualFold applies the EqualFold predicate on the "picture" field.
func PictureGTE ¶
PictureGTE applies the GTE predicate on the "picture" field.
func PictureHasPrefix ¶
PictureHasPrefix applies the HasPrefix predicate on the "picture" field.
func PictureHasSuffix ¶
PictureHasSuffix applies the HasSuffix predicate on the "picture" field.
func PictureIsNil ¶
PictureIsNil applies the IsNil predicate on the "picture" field.
func PictureLTE ¶
PictureLTE applies the LTE predicate on the "picture" field.
func PictureNEQ ¶
PictureNEQ applies the NEQ predicate on the "picture" field.
func PictureNotIn ¶
PictureNotIn applies the NotIn predicate on the "picture" field.
func PictureNotNil ¶
PictureNotNil applies the NotNil predicate on the "picture" field.
func Profile ¶
Profile applies equality check predicate on the "profile" field. It's identical to ProfileEQ.
func ProfileContains ¶
ProfileContains applies the Contains predicate on the "profile" field.
func ProfileContainsFold ¶
ProfileContainsFold applies the ContainsFold predicate on the "profile" field.
func ProfileEqualFold ¶
ProfileEqualFold applies the EqualFold predicate on the "profile" field.
func ProfileGTE ¶
ProfileGTE applies the GTE predicate on the "profile" field.
func ProfileHasPrefix ¶
ProfileHasPrefix applies the HasPrefix predicate on the "profile" field.
func ProfileHasSuffix ¶
ProfileHasSuffix applies the HasSuffix predicate on the "profile" field.
func ProfileIsNil ¶
ProfileIsNil applies the IsNil predicate on the "profile" field.
func ProfileLTE ¶
ProfileLTE applies the LTE predicate on the "profile" field.
func ProfileNEQ ¶
ProfileNEQ applies the NEQ predicate on the "profile" field.
func ProfileNotIn ¶
ProfileNotIn applies the NotIn predicate on the "profile" field.
func ProfileNotNil ¶
ProfileNotNil applies the NotNil predicate on the "profile" field.
func RealnameEncrypted ¶
RealnameEncrypted applies equality check predicate on the "realname_encrypted" field. It's identical to RealnameEncryptedEQ.
func RealnameEncryptedEQ ¶
RealnameEncryptedEQ applies the EQ predicate on the "realname_encrypted" field.
func RealnameEncryptedGT ¶
RealnameEncryptedGT applies the GT predicate on the "realname_encrypted" field.
func RealnameEncryptedGTE ¶
RealnameEncryptedGTE applies the GTE predicate on the "realname_encrypted" field.
func RealnameEncryptedIn ¶
RealnameEncryptedIn applies the In predicate on the "realname_encrypted" field.
func RealnameEncryptedIsNil ¶
RealnameEncryptedIsNil applies the IsNil predicate on the "realname_encrypted" field.
func RealnameEncryptedLT ¶
RealnameEncryptedLT applies the LT predicate on the "realname_encrypted" field.
func RealnameEncryptedLTE ¶
RealnameEncryptedLTE applies the LTE predicate on the "realname_encrypted" field.
func RealnameEncryptedNEQ ¶
RealnameEncryptedNEQ applies the NEQ predicate on the "realname_encrypted" field.
func RealnameEncryptedNotIn ¶
RealnameEncryptedNotIn applies the NotIn predicate on the "realname_encrypted" field.
func RealnameEncryptedNotNil ¶
RealnameEncryptedNotNil applies the NotNil predicate on the "realname_encrypted" 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 UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func UserStatus ¶
UserStatus applies equality check predicate on the "user_status" field. It's identical to UserStatusEQ.
func UserStatusEQ ¶
UserStatusEQ applies the EQ predicate on the "user_status" field.
func UserStatusGT ¶
UserStatusGT applies the GT predicate on the "user_status" field.
func UserStatusGTE ¶
UserStatusGTE applies the GTE predicate on the "user_status" field.
func UserStatusIn ¶
UserStatusIn applies the In predicate on the "user_status" field.
func UserStatusLT ¶
UserStatusLT applies the LT predicate on the "user_status" field.
func UserStatusLTE ¶
UserStatusLTE applies the LTE predicate on the "user_status" field.
func UserStatusNEQ ¶
UserStatusNEQ applies the NEQ predicate on the "user_status" field.
func UserStatusNotIn ¶
UserStatusNotIn applies the NotIn predicate on the "user_status" field.
func UserType ¶
UserType applies equality check predicate on the "user_type" field. It's identical to UserTypeEQ.
func UserTypeEQ ¶
UserTypeEQ applies the EQ predicate on the "user_type" field.
func UserTypeGT ¶
UserTypeGT applies the GT predicate on the "user_type" field.
func UserTypeGTE ¶
UserTypeGTE applies the GTE predicate on the "user_type" field.
func UserTypeIn ¶
UserTypeIn applies the In predicate on the "user_type" field.
func UserTypeLT ¶
UserTypeLT applies the LT predicate on the "user_type" field.
func UserTypeLTE ¶
UserTypeLTE applies the LTE predicate on the "user_type" field.
func UserTypeNEQ ¶
UserTypeNEQ applies the NEQ predicate on the "user_type" field.
func UserTypeNotIn ¶
UserTypeNotIn applies the NotIn predicate on the "user_type" field.
func Username ¶
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Website ¶
Website applies equality check predicate on the "website" field. It's identical to WebsiteEQ.
func WebsiteContains ¶
WebsiteContains applies the Contains predicate on the "website" field.
func WebsiteContainsFold ¶
WebsiteContainsFold applies the ContainsFold predicate on the "website" field.
func WebsiteEqualFold ¶
WebsiteEqualFold applies the EqualFold predicate on the "website" field.
func WebsiteGTE ¶
WebsiteGTE applies the GTE predicate on the "website" field.
func WebsiteHasPrefix ¶
WebsiteHasPrefix applies the HasPrefix predicate on the "website" field.
func WebsiteHasSuffix ¶
WebsiteHasSuffix applies the HasSuffix predicate on the "website" field.
func WebsiteIsNil ¶
WebsiteIsNil applies the IsNil predicate on the "website" field.
func WebsiteLTE ¶
WebsiteLTE applies the LTE predicate on the "website" field.
func WebsiteNEQ ¶
WebsiteNEQ applies the NEQ predicate on the "website" field.
func WebsiteNotIn ¶
WebsiteNotIn applies the NotIn predicate on the "website" field.
func WebsiteNotNil ¶
WebsiteNotNil applies the NotNil predicate on the "website" field.
Types ¶
type OrderOption ¶
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.