Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func AvatarURL(v string) predicate.User
- func AvatarURLContains(v string) predicate.User
- func AvatarURLContainsFold(v string) predicate.User
- func AvatarURLEQ(v string) predicate.User
- func AvatarURLEqualFold(v string) predicate.User
- func AvatarURLGT(v string) predicate.User
- func AvatarURLGTE(v string) predicate.User
- func AvatarURLHasPrefix(v string) predicate.User
- func AvatarURLHasSuffix(v string) predicate.User
- func AvatarURLIn(vs ...string) predicate.User
- func AvatarURLIsNil() predicate.User
- func AvatarURLLT(v string) predicate.User
- func AvatarURLLTE(v string) predicate.User
- func AvatarURLNEQ(v string) predicate.User
- func AvatarURLNotIn(vs ...string) predicate.User
- func AvatarURLNotNil() predicate.User
- func Bio(v string) predicate.User
- func BioContains(v string) predicate.User
- func BioContainsFold(v string) predicate.User
- func BioEQ(v string) predicate.User
- func BioEqualFold(v string) predicate.User
- func BioGT(v string) predicate.User
- func BioGTE(v string) predicate.User
- func BioHasPrefix(v string) predicate.User
- func BioHasSuffix(v string) predicate.User
- func BioIn(vs ...string) predicate.User
- func BioIsNil() predicate.User
- func BioLT(v string) predicate.User
- func BioLTE(v string) predicate.User
- func BioNEQ(v string) predicate.User
- func BioNotIn(vs ...string) predicate.User
- func BioNotNil() predicate.User
- func CreateTime(v time.Time) predicate.User
- func CreateTimeEQ(v time.Time) predicate.User
- func CreateTimeGT(v time.Time) predicate.User
- func CreateTimeGTE(v time.Time) predicate.User
- func CreateTimeIn(vs ...time.Time) predicate.User
- func CreateTimeLT(v time.Time) predicate.User
- func CreateTimeLTE(v time.Time) predicate.User
- func CreateTimeNEQ(v time.Time) predicate.User
- func CreateTimeNotIn(vs ...time.Time) predicate.User
- func DeleteTime(v time.Time) predicate.User
- func DeleteTimeEQ(v time.Time) predicate.User
- func DeleteTimeGT(v time.Time) predicate.User
- func DeleteTimeGTE(v time.Time) predicate.User
- func DeleteTimeIn(vs ...time.Time) predicate.User
- func DeleteTimeIsNil() predicate.User
- func DeleteTimeLT(v time.Time) predicate.User
- func DeleteTimeLTE(v time.Time) predicate.User
- func DeleteTimeNEQ(v time.Time) predicate.User
- func DeleteTimeNotIn(vs ...time.Time) predicate.User
- func DeleteTimeNotNil() predicate.User
- func GenderEQ(v Gender) predicate.User
- func GenderIn(vs ...Gender) predicate.User
- func GenderNEQ(v Gender) predicate.User
- func GenderNotIn(vs ...Gender) predicate.User
- func GenderValidator(ge Gender) error
- func HasComponents() predicate.User
- func HasComponentsWith(preds ...predicate.Component) predicate.User
- func HasUserEmails() predicate.User
- func HasUserEmailsWith(preds ...predicate.UserEmail) predicate.User
- func HasUserSecurityLogs() predicate.User
- func HasUserSecurityLogsWith(preds ...predicate.UserSecurityLog) predicate.User
- func HasUserSettings() predicate.User
- func HasUserSettingsWith(preds ...predicate.UserSetting) predicate.User
- func Homepage(v string) predicate.User
- func HomepageContains(v string) predicate.User
- func HomepageContainsFold(v string) predicate.User
- func HomepageEQ(v string) predicate.User
- func HomepageEqualFold(v string) predicate.User
- func HomepageGT(v string) predicate.User
- func HomepageGTE(v string) predicate.User
- func HomepageHasPrefix(v string) predicate.User
- func HomepageHasSuffix(v string) predicate.User
- func HomepageIn(vs ...string) predicate.User
- func HomepageIsNil() predicate.User
- func HomepageLT(v string) predicate.User
- func HomepageLTE(v string) predicate.User
- func HomepageNEQ(v string) predicate.User
- func HomepageNotIn(vs ...string) predicate.User
- func HomepageNotNil() predicate.User
- func ID(id int) predicate.User
- func IDEQ(id int) predicate.User
- func IDGT(id int) predicate.User
- func IDGTE(id int) predicate.User
- func IDIn(ids ...int) predicate.User
- func IDLT(id int) predicate.User
- func IDLTE(id int) predicate.User
- func IDNEQ(id int) predicate.User
- func IDNotIn(ids ...int) predicate.User
- func LastPwdAuth(v time.Time) predicate.User
- func LastPwdAuthEQ(v time.Time) predicate.User
- func LastPwdAuthGT(v time.Time) predicate.User
- func LastPwdAuthGTE(v time.Time) predicate.User
- func LastPwdAuthIn(vs ...time.Time) predicate.User
- func LastPwdAuthIsNil() predicate.User
- func LastPwdAuthLT(v time.Time) predicate.User
- func LastPwdAuthLTE(v time.Time) predicate.User
- func LastPwdAuthNEQ(v time.Time) predicate.User
- func LastPwdAuthNotIn(vs ...time.Time) predicate.User
- func LastPwdAuthNotNil() predicate.User
- func Nickname(v string) predicate.User
- func NicknameContains(v string) predicate.User
- func NicknameContainsFold(v string) predicate.User
- func NicknameEQ(v string) predicate.User
- func NicknameEqualFold(v string) predicate.User
- func NicknameGT(v string) predicate.User
- func NicknameGTE(v string) predicate.User
- func NicknameHasPrefix(v string) predicate.User
- func NicknameHasSuffix(v string) predicate.User
- func NicknameIn(vs ...string) predicate.User
- func NicknameIsNil() predicate.User
- func NicknameLT(v string) predicate.User
- func NicknameLTE(v string) predicate.User
- func NicknameNEQ(v string) predicate.User
- func NicknameNotIn(vs ...string) predicate.User
- func NicknameNotNil() predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func Password(v string) predicate.User
- func PasswordContains(v string) predicate.User
- func PasswordContainsFold(v string) predicate.User
- func PasswordEQ(v string) predicate.User
- func PasswordEqualFold(v string) predicate.User
- func PasswordGT(v string) predicate.User
- func PasswordGTE(v string) predicate.User
- func PasswordHasPrefix(v string) predicate.User
- func PasswordHasSuffix(v string) predicate.User
- func PasswordIn(vs ...string) predicate.User
- func PasswordIsNil() predicate.User
- func PasswordLT(v string) predicate.User
- func PasswordLTE(v string) predicate.User
- func PasswordNEQ(v string) predicate.User
- func PasswordNotIn(vs ...string) predicate.User
- func PasswordNotNil() predicate.User
- func Phone(v string) predicate.User
- func PhoneContains(v string) predicate.User
- func PhoneContainsFold(v string) predicate.User
- func PhoneEQ(v string) predicate.User
- func PhoneEqualFold(v string) predicate.User
- func PhoneGT(v string) predicate.User
- func PhoneGTE(v string) predicate.User
- func PhoneHasPrefix(v string) predicate.User
- func PhoneHasSuffix(v string) predicate.User
- func PhoneIn(vs ...string) predicate.User
- func PhoneIsNil() predicate.User
- func PhoneLT(v string) predicate.User
- func PhoneLTE(v string) predicate.User
- func PhoneNEQ(v string) predicate.User
- func PhoneNotIn(vs ...string) predicate.User
- func PhoneNotNil() predicate.User
- func Sn(v string) predicate.User
- func SnContains(v string) predicate.User
- func SnContainsFold(v string) predicate.User
- func SnEQ(v string) predicate.User
- func SnEqualFold(v string) predicate.User
- func SnGT(v string) predicate.User
- func SnGTE(v string) predicate.User
- func SnHasPrefix(v string) predicate.User
- func SnHasSuffix(v string) predicate.User
- func SnIn(vs ...string) predicate.User
- func SnLT(v string) predicate.User
- func SnLTE(v string) predicate.User
- func SnNEQ(v string) predicate.User
- func SnNotIn(vs ...string) predicate.User
- func StatusEQ(v Status) predicate.User
- func StatusIn(vs ...Status) predicate.User
- func StatusIsNil() predicate.User
- func StatusNEQ(v Status) predicate.User
- func StatusNotIn(vs ...Status) predicate.User
- func StatusNotNil() predicate.User
- func StatusValidator(s Status) error
- func UpdateTime(v time.Time) predicate.User
- func UpdateTimeEQ(v time.Time) predicate.User
- func UpdateTimeGT(v time.Time) predicate.User
- func UpdateTimeGTE(v time.Time) predicate.User
- func UpdateTimeIn(vs ...time.Time) predicate.User
- func UpdateTimeLT(v time.Time) predicate.User
- func UpdateTimeLTE(v time.Time) predicate.User
- func UpdateTimeNEQ(v time.Time) predicate.User
- func UpdateTimeNotIn(vs ...time.Time) 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
- type Gender
- type Status
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 = "id" // FieldSn holds the string denoting the sn field in the database. FieldSn = "sn" // FieldNickname holds the string denoting the nickname field in the database. FieldNickname = "nickname" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldGender holds the string denoting the gender field in the database. FieldGender = "gender" // FieldPhone holds the string denoting the phone field in the database. FieldPhone = "phone" // FieldAvatarURL holds the string denoting the avatar_url field in the database. FieldAvatarURL = "avatar_url" // FieldHomepage holds the string denoting the homepage field in the database. FieldHomepage = "homepage" // FieldBio holds the string denoting the bio field in the database. FieldBio = "bio" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldLastPwdAuth holds the string denoting the last_pwd_auth field in the database. FieldLastPwdAuth = "last_pwd_auth" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldDeleteTime holds the string denoting the delete_time field in the database. FieldDeleteTime = "delete_time" // EdgeUserEmails holds the string denoting the useremails edge name in mutations. EdgeUserEmails = "UserEmails" // EdgeComponents holds the string denoting the components edge name in mutations. EdgeComponents = "Components" // EdgeUserSettings holds the string denoting the usersettings edge name in mutations. EdgeUserSettings = "UserSettings" // EdgeUserSecurityLogs holds the string denoting the usersecuritylogs edge name in mutations. EdgeUserSecurityLogs = "UserSecurityLogs" // Table holds the table name of the user in the database. Table = "user" // UserEmailsTable is the table that holds the UserEmails relation/edge. UserEmailsTable = "user_email" // UserEmailsInverseTable is the table name for the UserEmail entity. // It exists in this package in order to avoid circular dependency with the "useremail" package. UserEmailsInverseTable = "user_email" // UserEmailsColumn is the table column denoting the UserEmails relation/edge. UserEmailsColumn = "owner_id" // ComponentsTable is the table that holds the Components relation/edge. ComponentsTable = "components" // ComponentsInverseTable is the table name for the Component entity. // It exists in this package in order to avoid circular dependency with the "component" package. ComponentsInverseTable = "components" // ComponentsColumn is the table column denoting the Components relation/edge. ComponentsColumn = "owner_id" // UserSettingsTable is the table that holds the UserSettings relation/edge. UserSettingsTable = "user_setting" // UserSettingsInverseTable is the table name for the UserSetting entity. // It exists in this package in order to avoid circular dependency with the "usersetting" package. UserSettingsInverseTable = "user_setting" // UserSettingsColumn is the table column denoting the UserSettings relation/edge. UserSettingsColumn = "owner_id" // UserSecurityLogsTable is the table that holds the UserSecurityLogs relation/edge. UserSecurityLogsTable = "user_security_log" // UserSecurityLogsInverseTable is the table name for the UserSecurityLog entity. // It exists in this package in order to avoid circular dependency with the "usersecuritylog" package. UserSecurityLogsInverseTable = "user_security_log" // UserSecurityLogsColumn is the table column denoting the UserSecurityLogs relation/edge. UserSecurityLogsColumn = "owner_id" )
const DefaultGender = GenderUnknown
GenderUnknown is the default value of the Gender enum.
Variables ¶
var ( // DefaultSn holds the default value on creation for the "sn" field. DefaultSn func() string // SnValidator is a validator for the "sn" field. It is called by the builders before save. SnValidator func(string) error // NicknameValidator is a validator for the "nickname" field. It is called by the builders before save. NicknameValidator func(string) error // UsernameValidator is a validator for the "username" field. It is called by the builders before save. UsernameValidator func(string) error // PhoneValidator is a validator for the "phone" field. It is called by the builders before save. PhoneValidator func(string) error // AvatarURLValidator is a validator for the "avatar_url" field. It is called by the builders before save. AvatarURLValidator func(string) error // HomepageValidator is a validator for the "homepage" field. It is called by the builders before save. HomepageValidator func(string) error // BioValidator is a validator for the "bio" field. It is called by the builders before save. BioValidator func(string) error // PasswordValidator is a validator for the "password" field. It is called by the builders before save. PasswordValidator func(string) error // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time )
var Columns = []string{ FieldID, FieldSn, FieldNickname, FieldUsername, FieldGender, FieldPhone, FieldAvatarURL, FieldHomepage, FieldBio, FieldPassword, FieldStatus, FieldLastPwdAuth, FieldCreateTime, FieldUpdateTime, FieldDeleteTime, }
Columns holds all SQL columns for user fields.
Functions ¶
func AvatarURL ¶ added in v1.0.6
AvatarURL applies equality check predicate on the "avatar_url" field. It's identical to AvatarURLEQ.
func AvatarURLContains ¶ added in v1.0.6
AvatarURLContains applies the Contains predicate on the "avatar_url" field.
func AvatarURLContainsFold ¶ added in v1.0.6
AvatarURLContainsFold applies the ContainsFold predicate on the "avatar_url" field.
func AvatarURLEQ ¶ added in v1.0.6
AvatarURLEQ applies the EQ predicate on the "avatar_url" field.
func AvatarURLEqualFold ¶ added in v1.0.6
AvatarURLEqualFold applies the EqualFold predicate on the "avatar_url" field.
func AvatarURLGT ¶ added in v1.0.6
AvatarURLGT applies the GT predicate on the "avatar_url" field.
func AvatarURLGTE ¶ added in v1.0.6
AvatarURLGTE applies the GTE predicate on the "avatar_url" field.
func AvatarURLHasPrefix ¶ added in v1.0.6
AvatarURLHasPrefix applies the HasPrefix predicate on the "avatar_url" field.
func AvatarURLHasSuffix ¶ added in v1.0.6
AvatarURLHasSuffix applies the HasSuffix predicate on the "avatar_url" field.
func AvatarURLIn ¶ added in v1.0.6
AvatarURLIn applies the In predicate on the "avatar_url" field.
func AvatarURLIsNil ¶ added in v1.0.6
AvatarURLIsNil applies the IsNil predicate on the "avatar_url" field.
func AvatarURLLT ¶ added in v1.0.6
AvatarURLLT applies the LT predicate on the "avatar_url" field.
func AvatarURLLTE ¶ added in v1.0.6
AvatarURLLTE applies the LTE predicate on the "avatar_url" field.
func AvatarURLNEQ ¶ added in v1.0.6
AvatarURLNEQ applies the NEQ predicate on the "avatar_url" field.
func AvatarURLNotIn ¶ added in v1.0.6
AvatarURLNotIn applies the NotIn predicate on the "avatar_url" field.
func AvatarURLNotNil ¶ added in v1.0.6
AvatarURLNotNil applies the NotNil predicate on the "avatar_url" field.
func Bio ¶ added in v1.0.6
Bio applies equality check predicate on the "bio" field. It's identical to BioEQ.
func BioContains ¶ added in v1.0.6
BioContains applies the Contains predicate on the "bio" field.
func BioContainsFold ¶ added in v1.0.6
BioContainsFold applies the ContainsFold predicate on the "bio" field.
func BioEqualFold ¶ added in v1.0.6
BioEqualFold applies the EqualFold predicate on the "bio" field.
func BioHasPrefix ¶ added in v1.0.6
BioHasPrefix applies the HasPrefix predicate on the "bio" field.
func BioHasSuffix ¶ added in v1.0.6
BioHasSuffix applies the HasSuffix predicate on the "bio" field.
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func DeleteTime ¶
DeleteTime applies equality check predicate on the "delete_time" field. It's identical to DeleteTimeEQ.
func DeleteTimeEQ ¶
DeleteTimeEQ applies the EQ predicate on the "delete_time" field.
func DeleteTimeGT ¶
DeleteTimeGT applies the GT predicate on the "delete_time" field.
func DeleteTimeGTE ¶
DeleteTimeGTE applies the GTE predicate on the "delete_time" field.
func DeleteTimeIn ¶
DeleteTimeIn applies the In predicate on the "delete_time" field.
func DeleteTimeIsNil ¶
DeleteTimeIsNil applies the IsNil predicate on the "delete_time" field.
func DeleteTimeLT ¶
DeleteTimeLT applies the LT predicate on the "delete_time" field.
func DeleteTimeLTE ¶
DeleteTimeLTE applies the LTE predicate on the "delete_time" field.
func DeleteTimeNEQ ¶
DeleteTimeNEQ applies the NEQ predicate on the "delete_time" field.
func DeleteTimeNotIn ¶
DeleteTimeNotIn applies the NotIn predicate on the "delete_time" field.
func DeleteTimeNotNil ¶
DeleteTimeNotNil applies the NotNil predicate on the "delete_time" field.
func GenderNotIn ¶ added in v1.0.3
GenderNotIn applies the NotIn predicate on the "gender" field.
func GenderValidator ¶ added in v1.0.3
GenderValidator is a validator for the "gender" field enum values. It is called by the builders before save.
func HasComponents ¶ added in v1.0.3
HasComponents applies the HasEdge predicate on the "Components" edge.
func HasComponentsWith ¶ added in v1.0.3
HasComponentsWith applies the HasEdge predicate on the "Components" edge with a given conditions (other predicates).
func HasUserEmails ¶
HasUserEmails applies the HasEdge predicate on the "UserEmails" edge.
func HasUserEmailsWith ¶
HasUserEmailsWith applies the HasEdge predicate on the "UserEmails" edge with a given conditions (other predicates).
func HasUserSecurityLogs ¶
HasUserSecurityLogs applies the HasEdge predicate on the "UserSecurityLogs" edge.
func HasUserSecurityLogsWith ¶
func HasUserSecurityLogsWith(preds ...predicate.UserSecurityLog) predicate.User
HasUserSecurityLogsWith applies the HasEdge predicate on the "UserSecurityLogs" edge with a given conditions (other predicates).
func HasUserSettings ¶
HasUserSettings applies the HasEdge predicate on the "UserSettings" edge.
func HasUserSettingsWith ¶
func HasUserSettingsWith(preds ...predicate.UserSetting) predicate.User
HasUserSettingsWith applies the HasEdge predicate on the "UserSettings" edge with a given conditions (other predicates).
func Homepage ¶ added in v1.0.3
Homepage applies equality check predicate on the "homepage" field. It's identical to HomepageEQ.
func HomepageContains ¶ added in v1.0.3
HomepageContains applies the Contains predicate on the "homepage" field.
func HomepageContainsFold ¶ added in v1.0.3
HomepageContainsFold applies the ContainsFold predicate on the "homepage" field.
func HomepageEQ ¶ added in v1.0.3
HomepageEQ applies the EQ predicate on the "homepage" field.
func HomepageEqualFold ¶ added in v1.0.3
HomepageEqualFold applies the EqualFold predicate on the "homepage" field.
func HomepageGT ¶ added in v1.0.3
HomepageGT applies the GT predicate on the "homepage" field.
func HomepageGTE ¶ added in v1.0.3
HomepageGTE applies the GTE predicate on the "homepage" field.
func HomepageHasPrefix ¶ added in v1.0.3
HomepageHasPrefix applies the HasPrefix predicate on the "homepage" field.
func HomepageHasSuffix ¶ added in v1.0.3
HomepageHasSuffix applies the HasSuffix predicate on the "homepage" field.
func HomepageIn ¶ added in v1.0.3
HomepageIn applies the In predicate on the "homepage" field.
func HomepageIsNil ¶ added in v1.0.3
HomepageIsNil applies the IsNil predicate on the "homepage" field.
func HomepageLT ¶ added in v1.0.3
HomepageLT applies the LT predicate on the "homepage" field.
func HomepageLTE ¶ added in v1.0.3
HomepageLTE applies the LTE predicate on the "homepage" field.
func HomepageNEQ ¶ added in v1.0.3
HomepageNEQ applies the NEQ predicate on the "homepage" field.
func HomepageNotIn ¶ added in v1.0.3
HomepageNotIn applies the NotIn predicate on the "homepage" field.
func HomepageNotNil ¶ added in v1.0.3
HomepageNotNil applies the NotNil predicate on the "homepage" field.
func LastPwdAuth ¶
LastPwdAuth applies equality check predicate on the "last_pwd_auth" field. It's identical to LastPwdAuthEQ.
func LastPwdAuthEQ ¶
LastPwdAuthEQ applies the EQ predicate on the "last_pwd_auth" field.
func LastPwdAuthGT ¶
LastPwdAuthGT applies the GT predicate on the "last_pwd_auth" field.
func LastPwdAuthGTE ¶
LastPwdAuthGTE applies the GTE predicate on the "last_pwd_auth" field.
func LastPwdAuthIn ¶
LastPwdAuthIn applies the In predicate on the "last_pwd_auth" field.
func LastPwdAuthIsNil ¶
LastPwdAuthIsNil applies the IsNil predicate on the "last_pwd_auth" field.
func LastPwdAuthLT ¶
LastPwdAuthLT applies the LT predicate on the "last_pwd_auth" field.
func LastPwdAuthLTE ¶
LastPwdAuthLTE applies the LTE predicate on the "last_pwd_auth" field.
func LastPwdAuthNEQ ¶
LastPwdAuthNEQ applies the NEQ predicate on the "last_pwd_auth" field.
func LastPwdAuthNotIn ¶
LastPwdAuthNotIn applies the NotIn predicate on the "last_pwd_auth" field.
func LastPwdAuthNotNil ¶
LastPwdAuthNotNil applies the NotNil predicate on the "last_pwd_auth" 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 ¶ added in v1.0.5
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 ¶ added in v1.0.5
NicknameNotNil applies the NotNil predicate on the "nickname" field.
func Password ¶
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
PasswordIn applies the In predicate on the "password" field.
func PasswordIsNil ¶
PasswordIsNil applies the IsNil predicate on the "password" field.
func PasswordLT ¶
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
PasswordNotIn applies the NotIn predicate on the "password" field.
func PasswordNotNil ¶
PasswordNotNil applies the NotNil predicate on the "password" field.
func Phone ¶
Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
func PhoneContains ¶
PhoneContains applies the Contains predicate on the "phone" field.
func PhoneContainsFold ¶
PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
func PhoneEqualFold ¶
PhoneEqualFold applies the EqualFold predicate on the "phone" field.
func PhoneHasPrefix ¶
PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
func PhoneHasSuffix ¶
PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
func PhoneIsNil ¶
PhoneIsNil applies the IsNil predicate on the "phone" field.
func PhoneNotIn ¶
PhoneNotIn applies the NotIn predicate on the "phone" field.
func PhoneNotNil ¶
PhoneNotNil applies the NotNil predicate on the "phone" field.
func SnContains ¶
SnContains applies the Contains predicate on the "sn" field.
func SnContainsFold ¶
SnContainsFold applies the ContainsFold predicate on the "sn" field.
func SnEqualFold ¶
SnEqualFold applies the EqualFold predicate on the "sn" field.
func SnHasPrefix ¶
SnHasPrefix applies the HasPrefix predicate on the "sn" field.
func SnHasSuffix ¶
SnHasSuffix applies the HasSuffix predicate on the "sn" field.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func Username ¶ added in v1.0.5
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶ added in v1.0.5
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶ added in v1.0.5
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶ added in v1.0.5
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶ added in v1.0.5
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶ added in v1.0.5
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶ added in v1.0.5
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶ added in v1.0.5
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶ added in v1.0.5
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶ added in v1.0.5
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶ added in v1.0.5
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶ added in v1.0.5
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶ added in v1.0.5
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶ added in v1.0.5
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).