Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func Avatar(v string) predicate.User
- func AvatarContains(v string) predicate.User
- func AvatarContainsFold(v string) predicate.User
- func AvatarEQ(v string) predicate.User
- func AvatarEqualFold(v string) predicate.User
- func AvatarGT(v string) predicate.User
- func AvatarGTE(v string) predicate.User
- func AvatarHasPrefix(v string) predicate.User
- func AvatarHasSuffix(v string) predicate.User
- func AvatarIn(vs ...string) predicate.User
- func AvatarIsNil() predicate.User
- func AvatarLT(v string) predicate.User
- func AvatarLTE(v string) predicate.User
- func AvatarNEQ(v string) predicate.User
- func AvatarNotIn(vs ...string) predicate.User
- func AvatarNotNil() 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 DepartmentID(v uint64) predicate.User
- func DepartmentIDEQ(v uint64) predicate.User
- func DepartmentIDIn(vs ...uint64) predicate.User
- func DepartmentIDIsNil() predicate.User
- func DepartmentIDNEQ(v uint64) predicate.User
- func DepartmentIDNotIn(vs ...uint64) predicate.User
- func DepartmentIDNotNil() predicate.User
- func Description(v string) predicate.User
- func DescriptionContains(v string) predicate.User
- func DescriptionContainsFold(v string) predicate.User
- func DescriptionEQ(v string) predicate.User
- func DescriptionEqualFold(v string) predicate.User
- func DescriptionGT(v string) predicate.User
- func DescriptionGTE(v string) predicate.User
- func DescriptionHasPrefix(v string) predicate.User
- func DescriptionHasSuffix(v string) predicate.User
- func DescriptionIn(vs ...string) predicate.User
- func DescriptionIsNil() predicate.User
- func DescriptionLT(v string) predicate.User
- func DescriptionLTE(v string) predicate.User
- func DescriptionNEQ(v string) predicate.User
- func DescriptionNotIn(vs ...string) predicate.User
- func DescriptionNotNil() predicate.User
- func Email(v string) predicate.User
- func EmailContains(v string) predicate.User
- func EmailContainsFold(v string) predicate.User
- func EmailEQ(v string) predicate.User
- func EmailEqualFold(v string) predicate.User
- func EmailGT(v string) predicate.User
- func EmailGTE(v string) predicate.User
- func EmailHasPrefix(v string) predicate.User
- func EmailHasSuffix(v string) predicate.User
- func EmailIn(vs ...string) predicate.User
- func EmailIsNil() predicate.User
- func EmailLT(v string) predicate.User
- func EmailLTE(v string) predicate.User
- func EmailNEQ(v string) predicate.User
- func EmailNotIn(vs ...string) predicate.User
- func EmailNotNil() predicate.User
- func HasDepartment() predicate.User
- func HasDepartmentWith(preds ...predicate.Department) predicate.User
- func HasPosition() predicate.User
- func HasPositionWith(preds ...predicate.Position) predicate.User
- func HomePath(v string) predicate.User
- func HomePathContains(v string) predicate.User
- func HomePathContainsFold(v string) predicate.User
- func HomePathEQ(v string) predicate.User
- func HomePathEqualFold(v string) predicate.User
- func HomePathGT(v string) predicate.User
- func HomePathGTE(v string) predicate.User
- func HomePathHasPrefix(v string) predicate.User
- func HomePathHasSuffix(v string) predicate.User
- func HomePathIn(vs ...string) predicate.User
- func HomePathLT(v string) predicate.User
- func HomePathLTE(v string) predicate.User
- func HomePathNEQ(v string) predicate.User
- func HomePathNotIn(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 Mobile(v string) predicate.User
- func MobileContains(v string) predicate.User
- func MobileContainsFold(v string) predicate.User
- func MobileEQ(v string) predicate.User
- func MobileEqualFold(v string) predicate.User
- func MobileGT(v string) predicate.User
- func MobileGTE(v string) predicate.User
- func MobileHasPrefix(v string) predicate.User
- func MobileHasSuffix(v string) predicate.User
- func MobileIn(vs ...string) predicate.User
- func MobileIsNil() predicate.User
- func MobileLT(v string) predicate.User
- func MobileLTE(v string) predicate.User
- func MobileNEQ(v string) predicate.User
- func MobileNotIn(vs ...string) predicate.User
- func MobileNotNil() 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 NicknameLT(v string) predicate.User
- func NicknameLTE(v string) predicate.User
- func NicknameNEQ(v string) predicate.User
- func NicknameNotIn(vs ...string) 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 PasswordLT(v string) predicate.User
- func PasswordLTE(v string) predicate.User
- func PasswordNEQ(v string) predicate.User
- func PasswordNotIn(vs ...string) predicate.User
- func PositionID(v uint64) predicate.User
- func PositionIDEQ(v uint64) predicate.User
- func PositionIDIn(vs ...uint64) predicate.User
- func PositionIDIsNil() predicate.User
- func PositionIDNEQ(v uint64) predicate.User
- func PositionIDNotIn(vs ...uint64) predicate.User
- func PositionIDNotNil() predicate.User
- func RoleID(v uint64) predicate.User
- func RoleIDEQ(v uint64) predicate.User
- func RoleIDGT(v uint64) predicate.User
- func RoleIDGTE(v uint64) predicate.User
- func RoleIDIn(vs ...uint64) predicate.User
- func RoleIDIsNil() predicate.User
- func RoleIDLT(v uint64) predicate.User
- func RoleIDLTE(v uint64) predicate.User
- func RoleIDNEQ(v uint64) predicate.User
- func RoleIDNotIn(vs ...uint64) predicate.User
- func RoleIDNotNil() predicate.User
- func Status(v uint8) predicate.User
- func StatusEQ(v uint8) predicate.User
- func StatusGT(v uint8) predicate.User
- func StatusGTE(v uint8) predicate.User
- func StatusIn(vs ...uint8) predicate.User
- func StatusIsNil() predicate.User
- func StatusLT(v uint8) predicate.User
- func StatusLTE(v uint8) predicate.User
- func StatusNEQ(v uint8) predicate.User
- func StatusNotIn(vs ...uint8) predicate.User
- func StatusNotNil() predicate.User
- func UpdatedAt(v time.Time) predicate.User
- func UpdatedAtEQ(v time.Time) predicate.User
- func UpdatedAtGT(v time.Time) predicate.User
- func UpdatedAtGTE(v time.Time) predicate.User
- func UpdatedAtIn(vs ...time.Time) predicate.User
- func UpdatedAtLT(v time.Time) predicate.User
- func UpdatedAtLTE(v time.Time) predicate.User
- func UpdatedAtNEQ(v time.Time) predicate.User
- func UpdatedAtNotIn(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
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" // 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" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldNickname holds the string denoting the nickname field in the database. FieldNickname = "nickname" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldHomePath holds the string denoting the home_path field in the database. FieldHomePath = "home_path" // FieldRoleID holds the string denoting the role_id field in the database. FieldRoleID = "role_id" // FieldMobile holds the string denoting the mobile field in the database. FieldMobile = "mobile" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldAvatar holds the string denoting the avatar field in the database. FieldAvatar = "avatar" // FieldDepartmentID holds the string denoting the department_id field in the database. FieldDepartmentID = "department_id" // FieldPositionID holds the string denoting the position_id field in the database. FieldPositionID = "position_id" // EdgeDepartment holds the string denoting the department edge name in mutations. EdgeDepartment = "department" // EdgePosition holds the string denoting the position edge name in mutations. EdgePosition = "position" // Table holds the table name of the user in the database. Table = "sys_users" // DepartmentTable is the table that holds the department relation/edge. DepartmentTable = "sys_users" // DepartmentInverseTable is the table name for the Department entity. // It exists in this package in order to avoid circular dependency with the "department" package. DepartmentInverseTable = "sys_departments" // DepartmentColumn is the table column denoting the department relation/edge. DepartmentColumn = "department_id" // PositionTable is the table that holds the position relation/edge. PositionTable = "sys_users" // PositionInverseTable is the table name for the Position entity. // It exists in this package in order to avoid circular dependency with the "position" package. PositionInverseTable = "sys_positions" // PositionColumn is the table column denoting the position relation/edge. PositionColumn = "position_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 // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus uint8 // DefaultHomePath holds the default value on creation for the "home_path" field. DefaultHomePath string // DefaultRoleID holds the default value on creation for the "role_id" field. DefaultRoleID uint64 // DefaultAvatar holds the default value on creation for the "avatar" field. DefaultAvatar string // DefaultDepartmentID holds the default value on creation for the "department_id" field. DefaultDepartmentID uint64 // DefaultPositionID holds the default value on creation for the "position_id" field. DefaultPositionID uint64 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldStatus, FieldUsername, FieldPassword, FieldNickname, FieldDescription, FieldHomePath, FieldRoleID, FieldMobile, FieldEmail, FieldAvatar, FieldDepartmentID, FieldPositionID, }
Columns holds all SQL columns for user fields.
Functions ¶
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 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 DepartmentID ¶ added in v0.2.3
DepartmentID applies equality check predicate on the "department_id" field. It's identical to DepartmentIDEQ.
func DepartmentIDEQ ¶ added in v0.2.3
DepartmentIDEQ applies the EQ predicate on the "department_id" field.
func DepartmentIDIn ¶ added in v0.2.3
DepartmentIDIn applies the In predicate on the "department_id" field.
func DepartmentIDIsNil ¶ added in v0.2.3
DepartmentIDIsNil applies the IsNil predicate on the "department_id" field.
func DepartmentIDNEQ ¶ added in v0.2.3
DepartmentIDNEQ applies the NEQ predicate on the "department_id" field.
func DepartmentIDNotIn ¶ added in v0.2.3
DepartmentIDNotIn applies the NotIn predicate on the "department_id" field.
func DepartmentIDNotNil ¶ added in v0.2.3
DepartmentIDNotNil applies the NotNil predicate on the "department_id" field.
func Description ¶ added in v0.2.3
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶ added in v0.2.3
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶ added in v0.2.3
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶ added in v0.2.3
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶ added in v0.2.3
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶ added in v0.2.3
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶ added in v0.2.3
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶ added in v0.2.3
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶ added in v0.2.3
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶ added in v0.2.3
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶ added in v0.2.3
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶ added in v0.2.3
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶ added in v0.2.3
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶ added in v0.2.3
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶ added in v0.2.3
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶ added in v0.2.3
DescriptionNotNil applies the NotNil predicate on the "description" 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 EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func HasDepartment ¶ added in v0.2.3
HasDepartment applies the HasEdge predicate on the "department" edge.
func HasDepartmentWith ¶ added in v0.2.3
func HasDepartmentWith(preds ...predicate.Department) predicate.User
HasDepartmentWith applies the HasEdge predicate on the "department" edge with a given conditions (other predicates).
func HasPosition ¶ added in v0.2.3
HasPosition applies the HasEdge predicate on the "position" edge.
func HasPositionWith ¶ added in v0.2.3
HasPositionWith applies the HasEdge predicate on the "position" edge with a given conditions (other predicates).
func HomePath ¶ added in v0.2.3
HomePath applies equality check predicate on the "home_path" field. It's identical to HomePathEQ.
func HomePathContains ¶ added in v0.2.3
HomePathContains applies the Contains predicate on the "home_path" field.
func HomePathContainsFold ¶ added in v0.2.3
HomePathContainsFold applies the ContainsFold predicate on the "home_path" field.
func HomePathEQ ¶ added in v0.2.3
HomePathEQ applies the EQ predicate on the "home_path" field.
func HomePathEqualFold ¶ added in v0.2.3
HomePathEqualFold applies the EqualFold predicate on the "home_path" field.
func HomePathGT ¶ added in v0.2.3
HomePathGT applies the GT predicate on the "home_path" field.
func HomePathGTE ¶ added in v0.2.3
HomePathGTE applies the GTE predicate on the "home_path" field.
func HomePathHasPrefix ¶ added in v0.2.3
HomePathHasPrefix applies the HasPrefix predicate on the "home_path" field.
func HomePathHasSuffix ¶ added in v0.2.3
HomePathHasSuffix applies the HasSuffix predicate on the "home_path" field.
func HomePathIn ¶ added in v0.2.3
HomePathIn applies the In predicate on the "home_path" field.
func HomePathLT ¶ added in v0.2.3
HomePathLT applies the LT predicate on the "home_path" field.
func HomePathLTE ¶ added in v0.2.3
HomePathLTE applies the LTE predicate on the "home_path" field.
func HomePathNEQ ¶ added in v0.2.3
HomePathNEQ applies the NEQ predicate on the "home_path" field.
func HomePathNotIn ¶ added in v0.2.3
HomePathNotIn applies the NotIn predicate on the "home_path" 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 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 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 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 PositionID ¶ added in v0.2.3
PositionID applies equality check predicate on the "position_id" field. It's identical to PositionIDEQ.
func PositionIDEQ ¶ added in v0.2.3
PositionIDEQ applies the EQ predicate on the "position_id" field.
func PositionIDIn ¶ added in v0.2.3
PositionIDIn applies the In predicate on the "position_id" field.
func PositionIDIsNil ¶ added in v0.2.3
PositionIDIsNil applies the IsNil predicate on the "position_id" field.
func PositionIDNEQ ¶ added in v0.2.3
PositionIDNEQ applies the NEQ predicate on the "position_id" field.
func PositionIDNotIn ¶ added in v0.2.3
PositionIDNotIn applies the NotIn predicate on the "position_id" field.
func PositionIDNotNil ¶ added in v0.2.3
PositionIDNotNil applies the NotNil predicate on the "position_id" field.
func RoleID ¶
RoleID applies equality check predicate on the "role_id" field. It's identical to RoleIDEQ.
func RoleIDIsNil ¶
RoleIDIsNil applies the IsNil predicate on the "role_id" field.
func RoleIDNotIn ¶
RoleIDNotIn applies the NotIn predicate on the "role_id" field.
func RoleIDNotNil ¶
RoleIDNotNil applies the NotNil predicate on the "role_id" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
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 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 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.