Documentation ¶
Index ¶
- Constants
- Variables
- func Account(v string) predicate.Employee
- func AccountContains(v string) predicate.Employee
- func AccountContainsFold(v string) predicate.Employee
- func AccountEQ(v string) predicate.Employee
- func AccountEqualFold(v string) predicate.Employee
- func AccountGT(v string) predicate.Employee
- func AccountGTE(v string) predicate.Employee
- func AccountHasPrefix(v string) predicate.Employee
- func AccountHasSuffix(v string) predicate.Employee
- func AccountIn(vs ...string) predicate.Employee
- func AccountLT(v string) predicate.Employee
- func AccountLTE(v string) predicate.Employee
- func AccountNEQ(v string) predicate.Employee
- func AccountNotIn(vs ...string) predicate.Employee
- func And(predicates ...predicate.Employee) predicate.Employee
- func Avatar(v string) predicate.Employee
- func AvatarContains(v string) predicate.Employee
- func AvatarContainsFold(v string) predicate.Employee
- func AvatarEQ(v string) predicate.Employee
- func AvatarEqualFold(v string) predicate.Employee
- func AvatarGT(v string) predicate.Employee
- func AvatarGTE(v string) predicate.Employee
- func AvatarHasPrefix(v string) predicate.Employee
- func AvatarHasSuffix(v string) predicate.Employee
- func AvatarIn(vs ...string) predicate.Employee
- func AvatarIsNil() predicate.Employee
- func AvatarLT(v string) predicate.Employee
- func AvatarLTE(v string) predicate.Employee
- func AvatarNEQ(v string) predicate.Employee
- func AvatarNotIn(vs ...string) predicate.Employee
- func AvatarNotNil() predicate.Employee
- func Birthday(v time.Time) predicate.Employee
- func BirthdayEQ(v time.Time) predicate.Employee
- func BirthdayGT(v time.Time) predicate.Employee
- func BirthdayGTE(v time.Time) predicate.Employee
- func BirthdayIn(vs ...time.Time) predicate.Employee
- func BirthdayIsNil() predicate.Employee
- func BirthdayLT(v time.Time) predicate.Employee
- func BirthdayLTE(v time.Time) predicate.Employee
- func BirthdayNEQ(v time.Time) predicate.Employee
- func BirthdayNotIn(vs ...time.Time) predicate.Employee
- func BirthdayNotNil() predicate.Employee
- func CreateTime(v time.Time) predicate.Employee
- func CreateTimeEQ(v time.Time) predicate.Employee
- func CreateTimeGT(v time.Time) predicate.Employee
- func CreateTimeGTE(v time.Time) predicate.Employee
- func CreateTimeIn(vs ...time.Time) predicate.Employee
- func CreateTimeLT(v time.Time) predicate.Employee
- func CreateTimeLTE(v time.Time) predicate.Employee
- func CreateTimeNEQ(v time.Time) predicate.Employee
- func CreateTimeNotIn(vs ...time.Time) predicate.Employee
- func Email(v string) predicate.Employee
- func EmailContains(v string) predicate.Employee
- func EmailContainsFold(v string) predicate.Employee
- func EmailEQ(v string) predicate.Employee
- func EmailEqualFold(v string) predicate.Employee
- func EmailGT(v string) predicate.Employee
- func EmailGTE(v string) predicate.Employee
- func EmailHasPrefix(v string) predicate.Employee
- func EmailHasSuffix(v string) predicate.Employee
- func EmailIn(vs ...string) predicate.Employee
- func EmailLT(v string) predicate.Employee
- func EmailLTE(v string) predicate.Employee
- func EmailNEQ(v string) predicate.Employee
- func EmailNotIn(vs ...string) predicate.Employee
- func HasRoles() predicate.Employee
- func HasRolesWith(preds ...predicate.Role) predicate.Employee
- func ID(id int64) predicate.Employee
- func IDCard(v string) predicate.Employee
- func IDCardContains(v string) predicate.Employee
- func IDCardContainsFold(v string) predicate.Employee
- func IDCardEQ(v string) predicate.Employee
- func IDCardEqualFold(v string) predicate.Employee
- func IDCardGT(v string) predicate.Employee
- func IDCardGTE(v string) predicate.Employee
- func IDCardHasPrefix(v string) predicate.Employee
- func IDCardHasSuffix(v string) predicate.Employee
- func IDCardIn(vs ...string) predicate.Employee
- func IDCardIsNil() predicate.Employee
- func IDCardLT(v string) predicate.Employee
- func IDCardLTE(v string) predicate.Employee
- func IDCardNEQ(v string) predicate.Employee
- func IDCardNotIn(vs ...string) predicate.Employee
- func IDCardNotNil() predicate.Employee
- func IDEQ(id int64) predicate.Employee
- func IDGT(id int64) predicate.Employee
- func IDGTE(id int64) predicate.Employee
- func IDIn(ids ...int64) predicate.Employee
- func IDLT(id int64) predicate.Employee
- func IDLTE(id int64) predicate.Employee
- func IDNEQ(id int64) predicate.Employee
- func IDNotIn(ids ...int64) predicate.Employee
- func LastIP(v string) predicate.Employee
- func LastIPContains(v string) predicate.Employee
- func LastIPContainsFold(v string) predicate.Employee
- func LastIPEQ(v string) predicate.Employee
- func LastIPEqualFold(v string) predicate.Employee
- func LastIPGT(v string) predicate.Employee
- func LastIPGTE(v string) predicate.Employee
- func LastIPHasPrefix(v string) predicate.Employee
- func LastIPHasSuffix(v string) predicate.Employee
- func LastIPIn(vs ...string) predicate.Employee
- func LastIPIsNil() predicate.Employee
- func LastIPLT(v string) predicate.Employee
- func LastIPLTE(v string) predicate.Employee
- func LastIPNEQ(v string) predicate.Employee
- func LastIPNotIn(vs ...string) predicate.Employee
- func LastIPNotNil() predicate.Employee
- func LastTime(v time.Time) predicate.Employee
- func LastTimeEQ(v time.Time) predicate.Employee
- func LastTimeGT(v time.Time) predicate.Employee
- func LastTimeGTE(v time.Time) predicate.Employee
- func LastTimeIn(vs ...time.Time) predicate.Employee
- func LastTimeIsNil() predicate.Employee
- func LastTimeLT(v time.Time) predicate.Employee
- func LastTimeLTE(v time.Time) predicate.Employee
- func LastTimeNEQ(v time.Time) predicate.Employee
- func LastTimeNotIn(vs ...time.Time) predicate.Employee
- func LastTimeNotNil() predicate.Employee
- func Mobile(v string) predicate.Employee
- func MobileContains(v string) predicate.Employee
- func MobileContainsFold(v string) predicate.Employee
- func MobileEQ(v string) predicate.Employee
- func MobileEqualFold(v string) predicate.Employee
- func MobileGT(v string) predicate.Employee
- func MobileGTE(v string) predicate.Employee
- func MobileHasPrefix(v string) predicate.Employee
- func MobileHasSuffix(v string) predicate.Employee
- func MobileIn(vs ...string) predicate.Employee
- func MobileIsNil() predicate.Employee
- func MobileLT(v string) predicate.Employee
- func MobileLTE(v string) predicate.Employee
- func MobileNEQ(v string) predicate.Employee
- func MobileNotIn(vs ...string) predicate.Employee
- func MobileNotNil() predicate.Employee
- func Name(v string) predicate.Employee
- func NameContains(v string) predicate.Employee
- func NameContainsFold(v string) predicate.Employee
- func NameEQ(v string) predicate.Employee
- func NameEqualFold(v string) predicate.Employee
- func NameGT(v string) predicate.Employee
- func NameGTE(v string) predicate.Employee
- func NameHasPrefix(v string) predicate.Employee
- func NameHasSuffix(v string) predicate.Employee
- func NameIn(vs ...string) predicate.Employee
- func NameIsNil() predicate.Employee
- func NameLT(v string) predicate.Employee
- func NameLTE(v string) predicate.Employee
- func NameNEQ(v string) predicate.Employee
- func NameNotIn(vs ...string) predicate.Employee
- func NameNotNil() predicate.Employee
- func Not(p predicate.Employee) predicate.Employee
- func Or(predicates ...predicate.Employee) predicate.Employee
- func Password(v string) predicate.Employee
- func PasswordContains(v string) predicate.Employee
- func PasswordContainsFold(v string) predicate.Employee
- func PasswordEQ(v string) predicate.Employee
- func PasswordEqualFold(v string) predicate.Employee
- func PasswordGT(v string) predicate.Employee
- func PasswordGTE(v string) predicate.Employee
- func PasswordHasPrefix(v string) predicate.Employee
- func PasswordHasSuffix(v string) predicate.Employee
- func PasswordIn(vs ...string) predicate.Employee
- func PasswordLT(v string) predicate.Employee
- func PasswordLTE(v string) predicate.Employee
- func PasswordNEQ(v string) predicate.Employee
- func PasswordNotIn(vs ...string) predicate.Employee
- func Salt(v string) predicate.Employee
- func SaltContains(v string) predicate.Employee
- func SaltContainsFold(v string) predicate.Employee
- func SaltEQ(v string) predicate.Employee
- func SaltEqualFold(v string) predicate.Employee
- func SaltGT(v string) predicate.Employee
- func SaltGTE(v string) predicate.Employee
- func SaltHasPrefix(v string) predicate.Employee
- func SaltHasSuffix(v string) predicate.Employee
- func SaltIn(vs ...string) predicate.Employee
- func SaltLT(v string) predicate.Employee
- func SaltLTE(v string) predicate.Employee
- func SaltNEQ(v string) predicate.Employee
- func SaltNotIn(vs ...string) predicate.Employee
- func SexEQ(v Sex) predicate.Employee
- func SexIn(vs ...Sex) predicate.Employee
- func SexNEQ(v Sex) predicate.Employee
- func SexNotIn(vs ...Sex) predicate.Employee
- func SexValidator(s Sex) error
- func UUID(v uuid.UUID) predicate.Employee
- func UUIDEQ(v uuid.UUID) predicate.Employee
- func UUIDGT(v uuid.UUID) predicate.Employee
- func UUIDGTE(v uuid.UUID) predicate.Employee
- func UUIDIn(vs ...uuid.UUID) predicate.Employee
- func UUIDLT(v uuid.UUID) predicate.Employee
- func UUIDLTE(v uuid.UUID) predicate.Employee
- func UUIDNEQ(v uuid.UUID) predicate.Employee
- func UUIDNotIn(vs ...uuid.UUID) predicate.Employee
- func UpdateTime(v time.Time) predicate.Employee
- func UpdateTimeEQ(v time.Time) predicate.Employee
- func UpdateTimeGT(v time.Time) predicate.Employee
- func UpdateTimeGTE(v time.Time) predicate.Employee
- func UpdateTimeIn(vs ...time.Time) predicate.Employee
- func UpdateTimeLT(v time.Time) predicate.Employee
- func UpdateTimeLTE(v time.Time) predicate.Employee
- func UpdateTimeNEQ(v time.Time) predicate.Employee
- func UpdateTimeNotIn(vs ...time.Time) predicate.Employee
- func ValidColumn(column string) bool
- type Sex
Constants ¶
const ( // Label holds the string label denoting the employee type in the database. Label = "employee" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // FieldSex holds the string denoting the sex field in the database. FieldSex = "sex" // FieldUUID holds the string denoting the uuid field in the database. FieldUUID = "uuid" // FieldAccount holds the string denoting the account field in the database. FieldAccount = "account" // FieldAvatar holds the string denoting the avatar field in the database. FieldAvatar = "avatar" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldMobile holds the string denoting the mobile field in the database. FieldMobile = "mobile" // FieldIDCard holds the string denoting the id_card field in the database. FieldIDCard = "id_card" // FieldBirthday holds the string denoting the birthday field in the database. FieldBirthday = "birthday" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldSalt holds the string denoting the salt field in the database. FieldSalt = "salt" // FieldLastIP holds the string denoting the last_ip field in the database. FieldLastIP = "last_ip" // FieldLastTime holds the string denoting the last_time field in the database. FieldLastTime = "last_time" // EdgeRoles holds the string denoting the roles edge name in mutations. EdgeRoles = "roles" // Table holds the table name of the employee in the database. Table = "employees" // RolesTable is the table the holds the roles relation/edge. The primary key declared below. RolesTable = "employee_roles" // RolesInverseTable is the table name for the Role entity. // It exists in this package in order to avoid circular dependency with the "role" package. RolesInverseTable = "roles" )
const DefaultSex = SexUnknown
SexUnknown is the default value of the Sex enum.
Variables ¶
var ( // 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 // DefaultUUID holds the default value on creation for the "uuid" field. DefaultUUID func() uuid.UUID // AccountValidator is a validator for the "account" field. It is called by the builders before save. AccountValidator func(string) error // DefaultName holds the default value on creation for the "name" field. DefaultName string // PasswordValidator is a validator for the "password" field. It is called by the builders before save. PasswordValidator func(string) error // SaltValidator is a validator for the "salt" field. It is called by the builders before save. SaltValidator func(string) error )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldSex, FieldUUID, FieldAccount, FieldAvatar, FieldName, FieldEmail, FieldMobile, FieldIDCard, FieldBirthday, FieldPassword, FieldSalt, FieldLastIP, FieldLastTime, }
Columns holds all SQL columns for employee fields.
var ( // RolesPrimaryKey and RolesColumn2 are the table columns denoting the // primary key for the roles relation (M2M). RolesPrimaryKey = []string{"employee_id", "role_id"} )
Functions ¶
func Account ¶
Account applies equality check predicate on the "account" field. It's identical to AccountEQ.
func AccountContains ¶
AccountContains applies the Contains predicate on the "account" field.
func AccountContainsFold ¶
AccountContainsFold applies the ContainsFold predicate on the "account" field.
func AccountEqualFold ¶
AccountEqualFold applies the EqualFold predicate on the "account" field.
func AccountGTE ¶
AccountGTE applies the GTE predicate on the "account" field.
func AccountHasPrefix ¶
AccountHasPrefix applies the HasPrefix predicate on the "account" field.
func AccountHasSuffix ¶
AccountHasSuffix applies the HasSuffix predicate on the "account" field.
func AccountLTE ¶
AccountLTE applies the LTE predicate on the "account" field.
func AccountNEQ ¶
AccountNEQ applies the NEQ predicate on the "account" field.
func AccountNotIn ¶
AccountNotIn applies the NotIn predicate on the "account" field.
func Avatar ¶
Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
func AvatarContains ¶
AvatarContains applies the Contains predicate on the "avatar" field.
func AvatarContainsFold ¶
AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
func AvatarEqualFold ¶
AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
func AvatarHasPrefix ¶
AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
func AvatarHasSuffix ¶
AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
func AvatarIsNil ¶
AvatarIsNil applies the IsNil predicate on the "avatar" field.
func AvatarNotIn ¶
AvatarNotIn applies the NotIn predicate on the "avatar" field.
func AvatarNotNil ¶
AvatarNotNil applies the NotNil predicate on the "avatar" field.
func Birthday ¶
Birthday applies equality check predicate on the "birthday" field. It's identical to BirthdayEQ.
func BirthdayEQ ¶
BirthdayEQ applies the EQ predicate on the "birthday" field.
func BirthdayGT ¶
BirthdayGT applies the GT predicate on the "birthday" field.
func BirthdayGTE ¶
BirthdayGTE applies the GTE predicate on the "birthday" field.
func BirthdayIn ¶
BirthdayIn applies the In predicate on the "birthday" field.
func BirthdayIsNil ¶
BirthdayIsNil applies the IsNil predicate on the "birthday" field.
func BirthdayLT ¶
BirthdayLT applies the LT predicate on the "birthday" field.
func BirthdayLTE ¶
BirthdayLTE applies the LTE predicate on the "birthday" field.
func BirthdayNEQ ¶
BirthdayNEQ applies the NEQ predicate on the "birthday" field.
func BirthdayNotIn ¶
BirthdayNotIn applies the NotIn predicate on the "birthday" field.
func BirthdayNotNil ¶
BirthdayNotNil applies the NotNil predicate on the "birthday" 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 Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func HasRolesWith ¶
HasRolesWith applies the HasEdge predicate on the "roles" edge with a given conditions (other predicates).
func IDCard ¶
IDCard applies equality check predicate on the "id_card" field. It's identical to IDCardEQ.
func IDCardContains ¶
IDCardContains applies the Contains predicate on the "id_card" field.
func IDCardContainsFold ¶
IDCardContainsFold applies the ContainsFold predicate on the "id_card" field.
func IDCardEqualFold ¶
IDCardEqualFold applies the EqualFold predicate on the "id_card" field.
func IDCardHasPrefix ¶
IDCardHasPrefix applies the HasPrefix predicate on the "id_card" field.
func IDCardHasSuffix ¶
IDCardHasSuffix applies the HasSuffix predicate on the "id_card" field.
func IDCardIsNil ¶
IDCardIsNil applies the IsNil predicate on the "id_card" field.
func IDCardNotIn ¶
IDCardNotIn applies the NotIn predicate on the "id_card" field.
func IDCardNotNil ¶
IDCardNotNil applies the NotNil predicate on the "id_card" field.
func LastIP ¶
LastIP applies equality check predicate on the "last_ip" field. It's identical to LastIPEQ.
func LastIPContains ¶
LastIPContains applies the Contains predicate on the "last_ip" field.
func LastIPContainsFold ¶
LastIPContainsFold applies the ContainsFold predicate on the "last_ip" field.
func LastIPEqualFold ¶
LastIPEqualFold applies the EqualFold predicate on the "last_ip" field.
func LastIPHasPrefix ¶
LastIPHasPrefix applies the HasPrefix predicate on the "last_ip" field.
func LastIPHasSuffix ¶
LastIPHasSuffix applies the HasSuffix predicate on the "last_ip" field.
func LastIPIsNil ¶
LastIPIsNil applies the IsNil predicate on the "last_ip" field.
func LastIPNotIn ¶
LastIPNotIn applies the NotIn predicate on the "last_ip" field.
func LastIPNotNil ¶
LastIPNotNil applies the NotNil predicate on the "last_ip" field.
func LastTime ¶
LastTime applies equality check predicate on the "last_time" field. It's identical to LastTimeEQ.
func LastTimeEQ ¶
LastTimeEQ applies the EQ predicate on the "last_time" field.
func LastTimeGT ¶
LastTimeGT applies the GT predicate on the "last_time" field.
func LastTimeGTE ¶
LastTimeGTE applies the GTE predicate on the "last_time" field.
func LastTimeIn ¶
LastTimeIn applies the In predicate on the "last_time" field.
func LastTimeIsNil ¶
LastTimeIsNil applies the IsNil predicate on the "last_time" field.
func LastTimeLT ¶
LastTimeLT applies the LT predicate on the "last_time" field.
func LastTimeLTE ¶
LastTimeLTE applies the LTE predicate on the "last_time" field.
func LastTimeNEQ ¶
LastTimeNEQ applies the NEQ predicate on the "last_time" field.
func LastTimeNotIn ¶
LastTimeNotIn applies the NotIn predicate on the "last_time" field.
func LastTimeNotNil ¶
LastTimeNotNil applies the NotNil predicate on the "last_time" field.
func Mobile ¶
Mobile applies equality check predicate on the "mobile" field. It's identical to MobileEQ.
func MobileContains ¶
MobileContains applies the Contains predicate on the "mobile" field.
func MobileContainsFold ¶
MobileContainsFold applies the ContainsFold predicate on the "mobile" field.
func MobileEqualFold ¶
MobileEqualFold applies the EqualFold predicate on the "mobile" field.
func MobileHasPrefix ¶
MobileHasPrefix applies the HasPrefix predicate on the "mobile" field.
func MobileHasSuffix ¶
MobileHasSuffix applies the HasSuffix predicate on the "mobile" field.
func MobileIsNil ¶
MobileIsNil applies the IsNil predicate on the "mobile" field.
func MobileNotIn ¶
MobileNotIn applies the NotIn predicate on the "mobile" field.
func MobileNotNil ¶
MobileNotNil applies the NotNil predicate on the "mobile" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" 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 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 SaltContains ¶
SaltContains applies the Contains predicate on the "salt" field.
func SaltContainsFold ¶
SaltContainsFold applies the ContainsFold predicate on the "salt" field.
func SaltEqualFold ¶
SaltEqualFold applies the EqualFold predicate on the "salt" field.
func SaltHasPrefix ¶
SaltHasPrefix applies the HasPrefix predicate on the "salt" field.
func SaltHasSuffix ¶
SaltHasSuffix applies the HasSuffix predicate on the "salt" field.
func SexValidator ¶
SexValidator is a validator for the "sex" 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).