Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func CreatedAt(v time.Time) predicate.User
- func CreatedAtEQ(v time.Time) predicate.User
- func CreatedAtGT(v time.Time) predicate.User
- func CreatedAtGTE(v time.Time) predicate.User
- func CreatedAtIn(vs ...time.Time) predicate.User
- func CreatedAtLT(v time.Time) predicate.User
- func CreatedAtLTE(v time.Time) predicate.User
- func CreatedAtNEQ(v time.Time) predicate.User
- func CreatedAtNotIn(vs ...time.Time) predicate.User
- func FailedLogins(v int) predicate.User
- func FailedLoginsEQ(v int) predicate.User
- func FailedLoginsGT(v int) predicate.User
- func FailedLoginsGTE(v int) predicate.User
- func FailedLoginsIn(vs ...int) predicate.User
- func FailedLoginsLT(v int) predicate.User
- func FailedLoginsLTE(v int) predicate.User
- func FailedLoginsNEQ(v int) predicate.User
- func FailedLoginsNotIn(vs ...int) predicate.User
- func ForcePasswordChange(v bool) predicate.User
- func ForcePasswordChangeEQ(v bool) predicate.User
- func ForcePasswordChangeNEQ(v bool) predicate.User
- func HashedPassword(v string) predicate.User
- func HashedPasswordContains(v string) predicate.User
- func HashedPasswordContainsFold(v string) predicate.User
- func HashedPasswordEQ(v string) predicate.User
- func HashedPasswordEqualFold(v string) predicate.User
- func HashedPasswordGT(v string) predicate.User
- func HashedPasswordGTE(v string) predicate.User
- func HashedPasswordHasPrefix(v string) predicate.User
- func HashedPasswordHasSuffix(v string) predicate.User
- func HashedPasswordIn(vs ...string) predicate.User
- func HashedPasswordLT(v string) predicate.User
- func HashedPasswordLTE(v string) predicate.User
- func HashedPasswordNEQ(v string) predicate.User
- func HashedPasswordNotIn(vs ...string) predicate.User
- func ID(id uuid.UUID) predicate.User
- func IDEQ(id uuid.UUID) predicate.User
- func IDGT(id uuid.UUID) predicate.User
- func IDGTE(id uuid.UUID) predicate.User
- func IDIn(ids ...uuid.UUID) predicate.User
- func IDLT(id uuid.UUID) predicate.User
- func IDLTE(id uuid.UUID) predicate.User
- func IDNEQ(id uuid.UUID) predicate.User
- func IDNotIn(ids ...uuid.UUID) predicate.User
- func LastLogin(v time.Time) predicate.User
- func LastLoginEQ(v time.Time) predicate.User
- func LastLoginGT(v time.Time) predicate.User
- func LastLoginGTE(v time.Time) predicate.User
- func LastLoginIn(vs ...time.Time) predicate.User
- func LastLoginLT(v time.Time) predicate.User
- func LastLoginLTE(v time.Time) predicate.User
- func LastLoginNEQ(v time.Time) predicate.User
- func LastLoginNotIn(vs ...time.Time) predicate.User
- func Locked(v bool) predicate.User
- func LockedEQ(v bool) predicate.User
- func LockedNEQ(v bool) predicate.User
- func LockedUntil(v time.Time) predicate.User
- func LockedUntilEQ(v time.Time) predicate.User
- func LockedUntilGT(v time.Time) predicate.User
- func LockedUntilGTE(v time.Time) predicate.User
- func LockedUntilIn(vs ...time.Time) predicate.User
- func LockedUntilLT(v time.Time) predicate.User
- func LockedUntilLTE(v time.Time) predicate.User
- func LockedUntilNEQ(v time.Time) predicate.User
- func LockedUntilNotIn(vs ...time.Time) predicate.User
- func MfaImage(v []byte) predicate.User
- func MfaImageEQ(v []byte) predicate.User
- func MfaImageGT(v []byte) predicate.User
- func MfaImageGTE(v []byte) predicate.User
- func MfaImageIn(vs ...[]byte) predicate.User
- func MfaImageIsNil() predicate.User
- func MfaImageLT(v []byte) predicate.User
- func MfaImageLTE(v []byte) predicate.User
- func MfaImageNEQ(v []byte) predicate.User
- func MfaImageNotIn(vs ...[]byte) predicate.User
- func MfaImageNotNil() predicate.User
- func MfaSecret(v string) predicate.User
- func MfaSecretContains(v string) predicate.User
- func MfaSecretContainsFold(v string) predicate.User
- func MfaSecretEQ(v string) predicate.User
- func MfaSecretEqualFold(v string) predicate.User
- func MfaSecretGT(v string) predicate.User
- func MfaSecretGTE(v string) predicate.User
- func MfaSecretHasPrefix(v string) predicate.User
- func MfaSecretHasSuffix(v string) predicate.User
- func MfaSecretIn(vs ...string) predicate.User
- func MfaSecretIsNil() predicate.User
- func MfaSecretLT(v string) predicate.User
- func MfaSecretLTE(v string) predicate.User
- func MfaSecretNEQ(v string) predicate.User
- func MfaSecretNotIn(vs ...string) predicate.User
- func MfaSecretNotNil() predicate.User
- func MfaSetupCompleted(v bool) predicate.User
- func MfaSetupCompletedEQ(v bool) predicate.User
- func MfaSetupCompletedNEQ(v bool) predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func PasswordLastSetAt(v time.Time) predicate.User
- func PasswordLastSetAtEQ(v time.Time) predicate.User
- func PasswordLastSetAtGT(v time.Time) predicate.User
- func PasswordLastSetAtGTE(v time.Time) predicate.User
- func PasswordLastSetAtIn(vs ...time.Time) predicate.User
- func PasswordLastSetAtLT(v time.Time) predicate.User
- func PasswordLastSetAtLTE(v time.Time) predicate.User
- func PasswordLastSetAtNEQ(v time.Time) predicate.User
- func PasswordLastSetAtNotIn(vs ...time.Time) predicate.User
- func RecentPasswordsIsNil() predicate.User
- func RecentPasswordsNotNil() predicate.User
- func Role(v string) predicate.User
- func RoleContains(v string) predicate.User
- func RoleContainsFold(v string) predicate.User
- func RoleEQ(v string) predicate.User
- func RoleEqualFold(v string) predicate.User
- func RoleGT(v string) predicate.User
- func RoleGTE(v string) predicate.User
- func RoleHasPrefix(v string) predicate.User
- func RoleHasSuffix(v string) predicate.User
- func RoleIn(vs ...string) predicate.User
- func RoleLT(v string) predicate.User
- func RoleLTE(v string) predicate.User
- func RoleNEQ(v string) predicate.User
- func RoleNotIn(vs ...string) predicate.User
- func Timezone(v string) predicate.User
- func TimezoneContains(v string) predicate.User
- func TimezoneContainsFold(v string) predicate.User
- func TimezoneEQ(v string) predicate.User
- func TimezoneEqualFold(v string) predicate.User
- func TimezoneGT(v string) predicate.User
- func TimezoneGTE(v string) predicate.User
- func TimezoneHasPrefix(v string) predicate.User
- func TimezoneHasSuffix(v string) predicate.User
- func TimezoneIn(vs ...string) predicate.User
- func TimezoneIsNil() predicate.User
- func TimezoneLT(v string) predicate.User
- func TimezoneLTE(v string) predicate.User
- func TimezoneNEQ(v string) predicate.User
- func TimezoneNotIn(vs ...string) predicate.User
- func TimezoneNotNil() predicate.User
- func Username(v string) predicate.User
- func UsernameContains(v string) predicate.User
- func UsernameContainsFold(v string) predicate.User
- func UsernameEQ(v string) predicate.User
- func UsernameEqualFold(v string) predicate.User
- func UsernameGT(v string) predicate.User
- func UsernameGTE(v string) predicate.User
- func UsernameHasPrefix(v string) predicate.User
- func UsernameHasSuffix(v string) predicate.User
- func UsernameIn(vs ...string) predicate.User
- func UsernameLT(v string) predicate.User
- func UsernameLTE(v string) predicate.User
- func UsernameNEQ(v string) predicate.User
- func UsernameNotIn(vs ...string) predicate.User
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the user type in the database. Label = "user" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldHashedPassword holds the string denoting the hashed_password field in the database. FieldHashedPassword = "hashed_password" // FieldRole holds the string denoting the role field in the database. FieldRole = "role" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldPasswordLastSetAt holds the string denoting the password_last_set_at field in the database. FieldPasswordLastSetAt = "password_last_set_at" // FieldForcePasswordChange holds the string denoting the force_password_change field in the database. FieldForcePasswordChange = "force_password_change" // FieldLastLogin holds the string denoting the last_login field in the database. FieldLastLogin = "last_login" // FieldFailedLogins holds the string denoting the failed_logins field in the database. FieldFailedLogins = "failed_logins" // FieldLocked holds the string denoting the locked field in the database. FieldLocked = "locked" // FieldLockedUntil holds the string denoting the locked_until field in the database. FieldLockedUntil = "locked_until" // FieldMfaSecret holds the string denoting the mfa_secret field in the database. FieldMfaSecret = "mfa_secret" // FieldMfaSetupCompleted holds the string denoting the mfa_setup_completed field in the database. FieldMfaSetupCompleted = "mfa_setup_completed" // FieldRecentPasswords holds the string denoting the recent_passwords field in the database. FieldRecentPasswords = "recent_passwords" // FieldMfaImage holds the string denoting the mfa_image field in the database. FieldMfaImage = "mfa_image" // FieldTimezone holds the string denoting the timezone field in the database. FieldTimezone = "timezone" // Table holds the table name of the user in the database. Table = "users" )
Variables ¶
var ( // HashedPasswordValidator is a validator for the "hashed_password" field. It is called by the builders before save. HashedPasswordValidator func(string) error // RoleValidator is a validator for the "role" field. It is called by the builders before save. RoleValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt time.Time // DefaultPasswordLastSetAt holds the default value on creation for the "password_last_set_at" field. DefaultPasswordLastSetAt time.Time // DefaultForcePasswordChange holds the default value on creation for the "force_password_change" field. DefaultForcePasswordChange bool // DefaultLastLogin holds the default value on creation for the "last_login" field. DefaultLastLogin time.Time // DefaultFailedLogins holds the default value on creation for the "failed_logins" field. DefaultFailedLogins int // DefaultLocked holds the default value on creation for the "locked" field. DefaultLocked bool // DefaultLockedUntil holds the default value on creation for the "locked_until" field. DefaultLockedUntil time.Time // DefaultMfaSetupCompleted holds the default value on creation for the "mfa_setup_completed" field. DefaultMfaSetupCompleted bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldUsername, FieldHashedPassword, FieldRole, FieldCreatedAt, FieldPasswordLastSetAt, FieldForcePasswordChange, FieldLastLogin, FieldFailedLogins, FieldLocked, FieldLockedUntil, FieldMfaSecret, FieldMfaSetupCompleted, FieldRecentPasswords, FieldMfaImage, FieldTimezone, }
Columns holds all SQL columns for user fields.
Functions ¶
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 FailedLogins ¶
FailedLogins applies equality check predicate on the "failed_logins" field. It's identical to FailedLoginsEQ.
func FailedLoginsEQ ¶
FailedLoginsEQ applies the EQ predicate on the "failed_logins" field.
func FailedLoginsGT ¶
FailedLoginsGT applies the GT predicate on the "failed_logins" field.
func FailedLoginsGTE ¶
FailedLoginsGTE applies the GTE predicate on the "failed_logins" field.
func FailedLoginsIn ¶
FailedLoginsIn applies the In predicate on the "failed_logins" field.
func FailedLoginsLT ¶
FailedLoginsLT applies the LT predicate on the "failed_logins" field.
func FailedLoginsLTE ¶
FailedLoginsLTE applies the LTE predicate on the "failed_logins" field.
func FailedLoginsNEQ ¶
FailedLoginsNEQ applies the NEQ predicate on the "failed_logins" field.
func FailedLoginsNotIn ¶
FailedLoginsNotIn applies the NotIn predicate on the "failed_logins" field.
func ForcePasswordChange ¶
ForcePasswordChange applies equality check predicate on the "force_password_change" field. It's identical to ForcePasswordChangeEQ.
func ForcePasswordChangeEQ ¶
ForcePasswordChangeEQ applies the EQ predicate on the "force_password_change" field.
func ForcePasswordChangeNEQ ¶
ForcePasswordChangeNEQ applies the NEQ predicate on the "force_password_change" field.
func HashedPassword ¶
HashedPassword applies equality check predicate on the "hashed_password" field. It's identical to HashedPasswordEQ.
func HashedPasswordContains ¶
HashedPasswordContains applies the Contains predicate on the "hashed_password" field.
func HashedPasswordContainsFold ¶
HashedPasswordContainsFold applies the ContainsFold predicate on the "hashed_password" field.
func HashedPasswordEQ ¶
HashedPasswordEQ applies the EQ predicate on the "hashed_password" field.
func HashedPasswordEqualFold ¶
HashedPasswordEqualFold applies the EqualFold predicate on the "hashed_password" field.
func HashedPasswordGT ¶
HashedPasswordGT applies the GT predicate on the "hashed_password" field.
func HashedPasswordGTE ¶
HashedPasswordGTE applies the GTE predicate on the "hashed_password" field.
func HashedPasswordHasPrefix ¶
HashedPasswordHasPrefix applies the HasPrefix predicate on the "hashed_password" field.
func HashedPasswordHasSuffix ¶
HashedPasswordHasSuffix applies the HasSuffix predicate on the "hashed_password" field.
func HashedPasswordIn ¶
HashedPasswordIn applies the In predicate on the "hashed_password" field.
func HashedPasswordLT ¶
HashedPasswordLT applies the LT predicate on the "hashed_password" field.
func HashedPasswordLTE ¶
HashedPasswordLTE applies the LTE predicate on the "hashed_password" field.
func HashedPasswordNEQ ¶
HashedPasswordNEQ applies the NEQ predicate on the "hashed_password" field.
func HashedPasswordNotIn ¶
HashedPasswordNotIn applies the NotIn predicate on the "hashed_password" field.
func LastLogin ¶
LastLogin applies equality check predicate on the "last_login" field. It's identical to LastLoginEQ.
func LastLoginEQ ¶
LastLoginEQ applies the EQ predicate on the "last_login" field.
func LastLoginGT ¶
LastLoginGT applies the GT predicate on the "last_login" field.
func LastLoginGTE ¶
LastLoginGTE applies the GTE predicate on the "last_login" field.
func LastLoginIn ¶
LastLoginIn applies the In predicate on the "last_login" field.
func LastLoginLT ¶
LastLoginLT applies the LT predicate on the "last_login" field.
func LastLoginLTE ¶
LastLoginLTE applies the LTE predicate on the "last_login" field.
func LastLoginNEQ ¶
LastLoginNEQ applies the NEQ predicate on the "last_login" field.
func LastLoginNotIn ¶
LastLoginNotIn applies the NotIn predicate on the "last_login" field.
func Locked ¶
Locked applies equality check predicate on the "locked" field. It's identical to LockedEQ.
func LockedUntil ¶
LockedUntil applies equality check predicate on the "locked_until" field. It's identical to LockedUntilEQ.
func LockedUntilEQ ¶
LockedUntilEQ applies the EQ predicate on the "locked_until" field.
func LockedUntilGT ¶
LockedUntilGT applies the GT predicate on the "locked_until" field.
func LockedUntilGTE ¶
LockedUntilGTE applies the GTE predicate on the "locked_until" field.
func LockedUntilIn ¶
LockedUntilIn applies the In predicate on the "locked_until" field.
func LockedUntilLT ¶
LockedUntilLT applies the LT predicate on the "locked_until" field.
func LockedUntilLTE ¶
LockedUntilLTE applies the LTE predicate on the "locked_until" field.
func LockedUntilNEQ ¶
LockedUntilNEQ applies the NEQ predicate on the "locked_until" field.
func LockedUntilNotIn ¶
LockedUntilNotIn applies the NotIn predicate on the "locked_until" field.
func MfaImage ¶
MfaImage applies equality check predicate on the "mfa_image" field. It's identical to MfaImageEQ.
func MfaImageEQ ¶
MfaImageEQ applies the EQ predicate on the "mfa_image" field.
func MfaImageGT ¶
MfaImageGT applies the GT predicate on the "mfa_image" field.
func MfaImageGTE ¶
MfaImageGTE applies the GTE predicate on the "mfa_image" field.
func MfaImageIn ¶
MfaImageIn applies the In predicate on the "mfa_image" field.
func MfaImageIsNil ¶
MfaImageIsNil applies the IsNil predicate on the "mfa_image" field.
func MfaImageLT ¶
MfaImageLT applies the LT predicate on the "mfa_image" field.
func MfaImageLTE ¶
MfaImageLTE applies the LTE predicate on the "mfa_image" field.
func MfaImageNEQ ¶
MfaImageNEQ applies the NEQ predicate on the "mfa_image" field.
func MfaImageNotIn ¶
MfaImageNotIn applies the NotIn predicate on the "mfa_image" field.
func MfaImageNotNil ¶
MfaImageNotNil applies the NotNil predicate on the "mfa_image" field.
func MfaSecret ¶
MfaSecret applies equality check predicate on the "mfa_secret" field. It's identical to MfaSecretEQ.
func MfaSecretContains ¶
MfaSecretContains applies the Contains predicate on the "mfa_secret" field.
func MfaSecretContainsFold ¶
MfaSecretContainsFold applies the ContainsFold predicate on the "mfa_secret" field.
func MfaSecretEQ ¶
MfaSecretEQ applies the EQ predicate on the "mfa_secret" field.
func MfaSecretEqualFold ¶
MfaSecretEqualFold applies the EqualFold predicate on the "mfa_secret" field.
func MfaSecretGT ¶
MfaSecretGT applies the GT predicate on the "mfa_secret" field.
func MfaSecretGTE ¶
MfaSecretGTE applies the GTE predicate on the "mfa_secret" field.
func MfaSecretHasPrefix ¶
MfaSecretHasPrefix applies the HasPrefix predicate on the "mfa_secret" field.
func MfaSecretHasSuffix ¶
MfaSecretHasSuffix applies the HasSuffix predicate on the "mfa_secret" field.
func MfaSecretIn ¶
MfaSecretIn applies the In predicate on the "mfa_secret" field.
func MfaSecretIsNil ¶
MfaSecretIsNil applies the IsNil predicate on the "mfa_secret" field.
func MfaSecretLT ¶
MfaSecretLT applies the LT predicate on the "mfa_secret" field.
func MfaSecretLTE ¶
MfaSecretLTE applies the LTE predicate on the "mfa_secret" field.
func MfaSecretNEQ ¶
MfaSecretNEQ applies the NEQ predicate on the "mfa_secret" field.
func MfaSecretNotIn ¶
MfaSecretNotIn applies the NotIn predicate on the "mfa_secret" field.
func MfaSecretNotNil ¶
MfaSecretNotNil applies the NotNil predicate on the "mfa_secret" field.
func MfaSetupCompleted ¶
MfaSetupCompleted applies equality check predicate on the "mfa_setup_completed" field. It's identical to MfaSetupCompletedEQ.
func MfaSetupCompletedEQ ¶
MfaSetupCompletedEQ applies the EQ predicate on the "mfa_setup_completed" field.
func MfaSetupCompletedNEQ ¶
MfaSetupCompletedNEQ applies the NEQ predicate on the "mfa_setup_completed" field.
func PasswordLastSetAt ¶
PasswordLastSetAt applies equality check predicate on the "password_last_set_at" field. It's identical to PasswordLastSetAtEQ.
func PasswordLastSetAtEQ ¶
PasswordLastSetAtEQ applies the EQ predicate on the "password_last_set_at" field.
func PasswordLastSetAtGT ¶
PasswordLastSetAtGT applies the GT predicate on the "password_last_set_at" field.
func PasswordLastSetAtGTE ¶
PasswordLastSetAtGTE applies the GTE predicate on the "password_last_set_at" field.
func PasswordLastSetAtIn ¶
PasswordLastSetAtIn applies the In predicate on the "password_last_set_at" field.
func PasswordLastSetAtLT ¶
PasswordLastSetAtLT applies the LT predicate on the "password_last_set_at" field.
func PasswordLastSetAtLTE ¶
PasswordLastSetAtLTE applies the LTE predicate on the "password_last_set_at" field.
func PasswordLastSetAtNEQ ¶
PasswordLastSetAtNEQ applies the NEQ predicate on the "password_last_set_at" field.
func PasswordLastSetAtNotIn ¶
PasswordLastSetAtNotIn applies the NotIn predicate on the "password_last_set_at" field.
func RecentPasswordsIsNil ¶
RecentPasswordsIsNil applies the IsNil predicate on the "recent_passwords" field.
func RecentPasswordsNotNil ¶
RecentPasswordsNotNil applies the NotNil predicate on the "recent_passwords" field.
func RoleContains ¶
RoleContains applies the Contains predicate on the "role" field.
func RoleContainsFold ¶
RoleContainsFold applies the ContainsFold predicate on the "role" field.
func RoleEqualFold ¶
RoleEqualFold applies the EqualFold predicate on the "role" field.
func RoleHasPrefix ¶
RoleHasPrefix applies the HasPrefix predicate on the "role" field.
func RoleHasSuffix ¶
RoleHasSuffix applies the HasSuffix predicate on the "role" 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 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).
Types ¶
This section is empty.