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 BelongTo(v string) predicate.User
- func BelongToContains(v string) predicate.User
- func BelongToContainsFold(v string) predicate.User
- func BelongToEQ(v string) predicate.User
- func BelongToEqualFold(v string) predicate.User
- func BelongToGT(v string) predicate.User
- func BelongToGTE(v string) predicate.User
- func BelongToHasPrefix(v string) predicate.User
- func BelongToHasSuffix(v string) predicate.User
- func BelongToIn(vs ...string) predicate.User
- func BelongToIsNil() predicate.User
- func BelongToLT(v string) predicate.User
- func BelongToLTE(v string) predicate.User
- func BelongToNEQ(v string) predicate.User
- func BelongToNotIn(vs ...string) predicate.User
- func BelongToNotNil() predicate.User
- func BirthdayDay(v int) predicate.User
- func BirthdayDayEQ(v int) predicate.User
- func BirthdayDayGT(v int) predicate.User
- func BirthdayDayGTE(v int) predicate.User
- func BirthdayDayIn(vs ...int) predicate.User
- func BirthdayDayLT(v int) predicate.User
- func BirthdayDayLTE(v int) predicate.User
- func BirthdayDayNEQ(v int) predicate.User
- func BirthdayDayNotIn(vs ...int) predicate.User
- func BirthdayMonth(v int) predicate.User
- func BirthdayMonthEQ(v int) predicate.User
- func BirthdayMonthGT(v int) predicate.User
- func BirthdayMonthGTE(v int) predicate.User
- func BirthdayMonthIn(vs ...int) predicate.User
- func BirthdayMonthLT(v int) predicate.User
- func BirthdayMonthLTE(v int) predicate.User
- func BirthdayMonthNEQ(v int) predicate.User
- func BirthdayMonthNotIn(vs ...int) predicate.User
- func BirthdayYear(v int) predicate.User
- func BirthdayYearEQ(v int) predicate.User
- func BirthdayYearGT(v int) predicate.User
- func BirthdayYearGTE(v int) predicate.User
- func BirthdayYearIn(vs ...int) predicate.User
- func BirthdayYearLT(v int) predicate.User
- func BirthdayYearLTE(v int) predicate.User
- func BirthdayYearNEQ(v int) predicate.User
- func BirthdayYearNotIn(vs ...int) 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 HasActivities() predicate.User
- func HasActivitiesWith(preds ...predicate.UserActivity) predicate.User
- func HasAppeals() predicate.User
- func HasAppealsWith(preds ...predicate.UserAppeal) predicate.User
- func HasCareerGroups() predicate.User
- func HasCareerGroupsWith(preds ...predicate.UserCareerGroup) predicate.User
- func HasNotes() predicate.User
- func HasNotesWith(preds ...predicate.UserNote) predicate.User
- func HasQualifications() predicate.User
- func HasQualificationsWith(preds ...predicate.UserQualification) predicate.User
- func HasSolutions() predicate.User
- func HasSolutionsWith(preds ...predicate.UserSolution) 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 Job(v string) predicate.User
- func JobContains(v string) predicate.User
- func JobContainsFold(v string) predicate.User
- func JobEQ(v string) predicate.User
- func JobEqualFold(v string) predicate.User
- func JobGT(v string) predicate.User
- func JobGTE(v string) predicate.User
- func JobHasPrefix(v string) predicate.User
- func JobHasSuffix(v string) predicate.User
- func JobIn(vs ...string) predicate.User
- func JobIsNil() predicate.User
- func JobLT(v string) predicate.User
- func JobLTE(v string) predicate.User
- func JobNEQ(v string) predicate.User
- func JobNotIn(vs ...string) predicate.User
- func JobNotNil() predicate.User
- func Name(v string) predicate.User
- func NameContains(v string) predicate.User
- func NameContainsFold(v string) predicate.User
- func NameEQ(v string) predicate.User
- func NameEqualFold(v string) predicate.User
- func NameGT(v string) predicate.User
- func NameGTE(v string) predicate.User
- func NameHasPrefix(v string) predicate.User
- func NameHasSuffix(v string) predicate.User
- func NameIn(vs ...string) predicate.User
- func NameLT(v string) predicate.User
- func NameLTE(v string) predicate.User
- func NameNEQ(v string) predicate.User
- func NameNotIn(vs ...string) 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 Pr(v string) predicate.User
- func PrContains(v string) predicate.User
- func PrContainsFold(v string) predicate.User
- func PrEQ(v string) predicate.User
- func PrEqualFold(v string) predicate.User
- func PrGT(v string) predicate.User
- func PrGTE(v string) predicate.User
- func PrHasPrefix(v string) predicate.User
- func PrHasSuffix(v string) predicate.User
- func PrIn(vs ...string) predicate.User
- func PrIsNil() predicate.User
- func PrLT(v string) predicate.User
- func PrLTE(v string) predicate.User
- func PrNEQ(v string) predicate.User
- func PrNotIn(vs ...string) predicate.User
- func PrNotNil() predicate.User
- 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 ValidColumn(column string) bool
- type OrderOption
- func ByActivities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByActivitiesCount(opts ...sql.OrderTermOption) OrderOption
- func ByAppeals(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAppealsCount(opts ...sql.OrderTermOption) OrderOption
- func ByAvatarURL(opts ...sql.OrderTermOption) OrderOption
- func ByBelongTo(opts ...sql.OrderTermOption) OrderOption
- func ByBirthdayDay(opts ...sql.OrderTermOption) OrderOption
- func ByBirthdayMonth(opts ...sql.OrderTermOption) OrderOption
- func ByBirthdayYear(opts ...sql.OrderTermOption) OrderOption
- func ByCareerGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCareerGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByJob(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNickname(opts ...sql.OrderTermOption) OrderOption
- func ByNotes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByNotesCount(opts ...sql.OrderTermOption) OrderOption
- func ByPr(opts ...sql.OrderTermOption) OrderOption
- func ByQualifications(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByQualificationsCount(opts ...sql.OrderTermOption) OrderOption
- func BySolutions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySolutionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
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" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldNickname holds the string denoting the nickname field in the database. FieldNickname = "nickname" // FieldAvatarURL holds the string denoting the avatar_url field in the database. FieldAvatarURL = "avatar_url" // FieldBirthdayYear holds the string denoting the birthday_year field in the database. FieldBirthdayYear = "birthday_year" // FieldBirthdayMonth holds the string denoting the birthday_month field in the database. FieldBirthdayMonth = "birthday_month" // FieldBirthdayDay holds the string denoting the birthday_day field in the database. FieldBirthdayDay = "birthday_day" // FieldJob holds the string denoting the job field in the database. FieldJob = "job" // FieldBelongTo holds the string denoting the belong_to field in the database. FieldBelongTo = "belong_to" // FieldPr holds the string denoting the pr field in the database. FieldPr = "pr" // EdgeActivities holds the string denoting the activities edge name in mutations. EdgeActivities = "activities" // EdgeQualifications holds the string denoting the qualifications edge name in mutations. EdgeQualifications = "qualifications" // EdgeCareerGroups holds the string denoting the careergroups edge name in mutations. EdgeCareerGroups = "careerGroups" // EdgeNotes holds the string denoting the notes edge name in mutations. EdgeNotes = "notes" // EdgeAppeals holds the string denoting the appeals edge name in mutations. EdgeAppeals = "appeals" // EdgeSolutions holds the string denoting the solutions edge name in mutations. EdgeSolutions = "solutions" // Table holds the table name of the user in the database. Table = "users" // ActivitiesTable is the table that holds the activities relation/edge. ActivitiesTable = "user_activities" // ActivitiesInverseTable is the table name for the UserActivity entity. // It exists in this package in order to avoid circular dependency with the "useractivity" package. ActivitiesInverseTable = "user_activities" // ActivitiesColumn is the table column denoting the activities relation/edge. ActivitiesColumn = "user_id" // QualificationsTable is the table that holds the qualifications relation/edge. QualificationsTable = "user_qualifications" // QualificationsInverseTable is the table name for the UserQualification entity. // It exists in this package in order to avoid circular dependency with the "userqualification" package. QualificationsInverseTable = "user_qualifications" // QualificationsColumn is the table column denoting the qualifications relation/edge. QualificationsColumn = "user_id" // CareerGroupsTable is the table that holds the careerGroups relation/edge. CareerGroupsTable = "user_career_groups" // CareerGroupsInverseTable is the table name for the UserCareerGroup entity. // It exists in this package in order to avoid circular dependency with the "usercareergroup" package. CareerGroupsInverseTable = "user_career_groups" // CareerGroupsColumn is the table column denoting the careerGroups relation/edge. CareerGroupsColumn = "user_id" // NotesTable is the table that holds the notes relation/edge. NotesTable = "user_notes" // NotesInverseTable is the table name for the UserNote entity. // It exists in this package in order to avoid circular dependency with the "usernote" package. NotesInverseTable = "user_notes" // NotesColumn is the table column denoting the notes relation/edge. NotesColumn = "user_id" // AppealsTable is the table that holds the appeals relation/edge. AppealsTable = "user_appeals" // AppealsInverseTable is the table name for the UserAppeal entity. // It exists in this package in order to avoid circular dependency with the "userappeal" package. AppealsInverseTable = "user_appeals" // AppealsColumn is the table column denoting the appeals relation/edge. AppealsColumn = "user_id" // SolutionsTable is the table that holds the solutions relation/edge. SolutionsTable = "user_solutions" // SolutionsInverseTable is the table name for the UserSolution entity. // It exists in this package in order to avoid circular dependency with the "usersolution" package. SolutionsInverseTable = "user_solutions" // SolutionsColumn is the table column denoting the solutions relation/edge. SolutionsColumn = "user_id" )
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 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // NicknameValidator is a validator for the "nickname" field. It is called by the builders before save. NicknameValidator func(string) error // AvatarURLValidator is a validator for the "avatar_url" field. It is called by the builders before save. AvatarURLValidator func(string) error // BirthdayYearValidator is a validator for the "birthday_year" field. It is called by the builders before save. BirthdayYearValidator func(int) error // BirthdayMonthValidator is a validator for the "birthday_month" field. It is called by the builders before save. BirthdayMonthValidator func(int) error // BirthdayDayValidator is a validator for the "birthday_day" field. It is called by the builders before save. BirthdayDayValidator func(int) error // JobValidator is a validator for the "job" field. It is called by the builders before save. JobValidator func(string) error // BelongToValidator is a validator for the "belong_to" field. It is called by the builders before save. BelongToValidator func(string) error // PrValidator is a validator for the "pr" field. It is called by the builders before save. PrValidator func(string) error )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldName, FieldNickname, FieldAvatarURL, FieldBirthdayYear, FieldBirthdayMonth, FieldBirthdayDay, FieldJob, FieldBelongTo, FieldPr, }
Columns holds all SQL columns for user fields.
Functions ¶
func AvatarURL ¶
AvatarURL applies equality check predicate on the "avatar_url" field. It's identical to AvatarURLEQ.
func AvatarURLContains ¶
AvatarURLContains applies the Contains predicate on the "avatar_url" field.
func AvatarURLContainsFold ¶
AvatarURLContainsFold applies the ContainsFold predicate on the "avatar_url" field.
func AvatarURLEQ ¶
AvatarURLEQ applies the EQ predicate on the "avatar_url" field.
func AvatarURLEqualFold ¶
AvatarURLEqualFold applies the EqualFold predicate on the "avatar_url" field.
func AvatarURLGT ¶
AvatarURLGT applies the GT predicate on the "avatar_url" field.
func AvatarURLGTE ¶
AvatarURLGTE applies the GTE predicate on the "avatar_url" field.
func AvatarURLHasPrefix ¶
AvatarURLHasPrefix applies the HasPrefix predicate on the "avatar_url" field.
func AvatarURLHasSuffix ¶
AvatarURLHasSuffix applies the HasSuffix predicate on the "avatar_url" field.
func AvatarURLIn ¶
AvatarURLIn applies the In predicate on the "avatar_url" field.
func AvatarURLIsNil ¶
AvatarURLIsNil applies the IsNil predicate on the "avatar_url" field.
func AvatarURLLT ¶
AvatarURLLT applies the LT predicate on the "avatar_url" field.
func AvatarURLLTE ¶
AvatarURLLTE applies the LTE predicate on the "avatar_url" field.
func AvatarURLNEQ ¶
AvatarURLNEQ applies the NEQ predicate on the "avatar_url" field.
func AvatarURLNotIn ¶
AvatarURLNotIn applies the NotIn predicate on the "avatar_url" field.
func AvatarURLNotNil ¶
AvatarURLNotNil applies the NotNil predicate on the "avatar_url" field.
func BelongTo ¶
BelongTo applies equality check predicate on the "belong_to" field. It's identical to BelongToEQ.
func BelongToContains ¶
BelongToContains applies the Contains predicate on the "belong_to" field.
func BelongToContainsFold ¶
BelongToContainsFold applies the ContainsFold predicate on the "belong_to" field.
func BelongToEQ ¶
BelongToEQ applies the EQ predicate on the "belong_to" field.
func BelongToEqualFold ¶
BelongToEqualFold applies the EqualFold predicate on the "belong_to" field.
func BelongToGT ¶
BelongToGT applies the GT predicate on the "belong_to" field.
func BelongToGTE ¶
BelongToGTE applies the GTE predicate on the "belong_to" field.
func BelongToHasPrefix ¶
BelongToHasPrefix applies the HasPrefix predicate on the "belong_to" field.
func BelongToHasSuffix ¶
BelongToHasSuffix applies the HasSuffix predicate on the "belong_to" field.
func BelongToIn ¶
BelongToIn applies the In predicate on the "belong_to" field.
func BelongToIsNil ¶
BelongToIsNil applies the IsNil predicate on the "belong_to" field.
func BelongToLT ¶
BelongToLT applies the LT predicate on the "belong_to" field.
func BelongToLTE ¶
BelongToLTE applies the LTE predicate on the "belong_to" field.
func BelongToNEQ ¶
BelongToNEQ applies the NEQ predicate on the "belong_to" field.
func BelongToNotIn ¶
BelongToNotIn applies the NotIn predicate on the "belong_to" field.
func BelongToNotNil ¶
BelongToNotNil applies the NotNil predicate on the "belong_to" field.
func BirthdayDay ¶
BirthdayDay applies equality check predicate on the "birthday_day" field. It's identical to BirthdayDayEQ.
func BirthdayDayEQ ¶
BirthdayDayEQ applies the EQ predicate on the "birthday_day" field.
func BirthdayDayGT ¶
BirthdayDayGT applies the GT predicate on the "birthday_day" field.
func BirthdayDayGTE ¶
BirthdayDayGTE applies the GTE predicate on the "birthday_day" field.
func BirthdayDayIn ¶
BirthdayDayIn applies the In predicate on the "birthday_day" field.
func BirthdayDayLT ¶
BirthdayDayLT applies the LT predicate on the "birthday_day" field.
func BirthdayDayLTE ¶
BirthdayDayLTE applies the LTE predicate on the "birthday_day" field.
func BirthdayDayNEQ ¶
BirthdayDayNEQ applies the NEQ predicate on the "birthday_day" field.
func BirthdayDayNotIn ¶
BirthdayDayNotIn applies the NotIn predicate on the "birthday_day" field.
func BirthdayMonth ¶
BirthdayMonth applies equality check predicate on the "birthday_month" field. It's identical to BirthdayMonthEQ.
func BirthdayMonthEQ ¶
BirthdayMonthEQ applies the EQ predicate on the "birthday_month" field.
func BirthdayMonthGT ¶
BirthdayMonthGT applies the GT predicate on the "birthday_month" field.
func BirthdayMonthGTE ¶
BirthdayMonthGTE applies the GTE predicate on the "birthday_month" field.
func BirthdayMonthIn ¶
BirthdayMonthIn applies the In predicate on the "birthday_month" field.
func BirthdayMonthLT ¶
BirthdayMonthLT applies the LT predicate on the "birthday_month" field.
func BirthdayMonthLTE ¶
BirthdayMonthLTE applies the LTE predicate on the "birthday_month" field.
func BirthdayMonthNEQ ¶
BirthdayMonthNEQ applies the NEQ predicate on the "birthday_month" field.
func BirthdayMonthNotIn ¶
BirthdayMonthNotIn applies the NotIn predicate on the "birthday_month" field.
func BirthdayYear ¶
BirthdayYear applies equality check predicate on the "birthday_year" field. It's identical to BirthdayYearEQ.
func BirthdayYearEQ ¶
BirthdayYearEQ applies the EQ predicate on the "birthday_year" field.
func BirthdayYearGT ¶
BirthdayYearGT applies the GT predicate on the "birthday_year" field.
func BirthdayYearGTE ¶
BirthdayYearGTE applies the GTE predicate on the "birthday_year" field.
func BirthdayYearIn ¶
BirthdayYearIn applies the In predicate on the "birthday_year" field.
func BirthdayYearLT ¶
BirthdayYearLT applies the LT predicate on the "birthday_year" field.
func BirthdayYearLTE ¶
BirthdayYearLTE applies the LTE predicate on the "birthday_year" field.
func BirthdayYearNEQ ¶
BirthdayYearNEQ applies the NEQ predicate on the "birthday_year" field.
func BirthdayYearNotIn ¶
BirthdayYearNotIn applies the NotIn predicate on the "birthday_year" 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 HasActivities ¶
HasActivities applies the HasEdge predicate on the "activities" edge.
func HasActivitiesWith ¶
func HasActivitiesWith(preds ...predicate.UserActivity) predicate.User
HasActivitiesWith applies the HasEdge predicate on the "activities" edge with a given conditions (other predicates).
func HasAppeals ¶
HasAppeals applies the HasEdge predicate on the "appeals" edge.
func HasAppealsWith ¶
func HasAppealsWith(preds ...predicate.UserAppeal) predicate.User
HasAppealsWith applies the HasEdge predicate on the "appeals" edge with a given conditions (other predicates).
func HasCareerGroups ¶
HasCareerGroups applies the HasEdge predicate on the "careerGroups" edge.
func HasCareerGroupsWith ¶
func HasCareerGroupsWith(preds ...predicate.UserCareerGroup) predicate.User
HasCareerGroupsWith applies the HasEdge predicate on the "careerGroups" edge with a given conditions (other predicates).
func HasNotesWith ¶
HasNotesWith applies the HasEdge predicate on the "notes" edge with a given conditions (other predicates).
func HasQualifications ¶
HasQualifications applies the HasEdge predicate on the "qualifications" edge.
func HasQualificationsWith ¶
func HasQualificationsWith(preds ...predicate.UserQualification) predicate.User
HasQualificationsWith applies the HasEdge predicate on the "qualifications" edge with a given conditions (other predicates).
func HasSolutions ¶
HasSolutions applies the HasEdge predicate on the "solutions" edge.
func HasSolutionsWith ¶
func HasSolutionsWith(preds ...predicate.UserSolution) predicate.User
HasSolutionsWith applies the HasEdge predicate on the "solutions" edge with a given conditions (other predicates).
func JobContains ¶
JobContains applies the Contains predicate on the "job" field.
func JobContainsFold ¶
JobContainsFold applies the ContainsFold predicate on the "job" field.
func JobEqualFold ¶
JobEqualFold applies the EqualFold predicate on the "job" field.
func JobHasPrefix ¶
JobHasPrefix applies the HasPrefix predicate on the "job" field.
func JobHasSuffix ¶
JobHasSuffix applies the HasSuffix predicate on the "job" 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 Nickname ¶
Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
func NicknameContains ¶
NicknameContains applies the Contains predicate on the "nickname" field.
func NicknameContainsFold ¶
NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
func NicknameEQ ¶
NicknameEQ applies the EQ predicate on the "nickname" field.
func NicknameEqualFold ¶
NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
func NicknameGT ¶
NicknameGT applies the GT predicate on the "nickname" field.
func NicknameGTE ¶
NicknameGTE applies the GTE predicate on the "nickname" field.
func NicknameHasPrefix ¶
NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
func NicknameHasSuffix ¶
NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
func NicknameIn ¶
NicknameIn applies the In predicate on the "nickname" field.
func NicknameIsNil ¶
NicknameIsNil applies the IsNil predicate on the "nickname" field.
func NicknameLT ¶
NicknameLT applies the LT predicate on the "nickname" field.
func NicknameLTE ¶
NicknameLTE applies the LTE predicate on the "nickname" field.
func NicknameNEQ ¶
NicknameNEQ applies the NEQ predicate on the "nickname" field.
func NicknameNotIn ¶
NicknameNotIn applies the NotIn predicate on the "nickname" field.
func NicknameNotNil ¶
NicknameNotNil applies the NotNil predicate on the "nickname" field.
func PrContains ¶
PrContains applies the Contains predicate on the "pr" field.
func PrContainsFold ¶
PrContainsFold applies the ContainsFold predicate on the "pr" field.
func PrEqualFold ¶
PrEqualFold applies the EqualFold predicate on the "pr" field.
func PrHasPrefix ¶
PrHasPrefix applies the HasPrefix predicate on the "pr" field.
func PrHasSuffix ¶
PrHasSuffix applies the HasSuffix predicate on the "pr" field.
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).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the User queries.
func ByActivities ¶
func ByActivities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByActivities orders the results by activities terms.
func ByActivitiesCount ¶
func ByActivitiesCount(opts ...sql.OrderTermOption) OrderOption
ByActivitiesCount orders the results by activities count.
func ByAppeals ¶
func ByAppeals(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAppeals orders the results by appeals terms.
func ByAppealsCount ¶
func ByAppealsCount(opts ...sql.OrderTermOption) OrderOption
ByAppealsCount orders the results by appeals count.
func ByAvatarURL ¶
func ByAvatarURL(opts ...sql.OrderTermOption) OrderOption
ByAvatarURL orders the results by the avatar_url field.
func ByBelongTo ¶
func ByBelongTo(opts ...sql.OrderTermOption) OrderOption
ByBelongTo orders the results by the belong_to field.
func ByBirthdayDay ¶
func ByBirthdayDay(opts ...sql.OrderTermOption) OrderOption
ByBirthdayDay orders the results by the birthday_day field.
func ByBirthdayMonth ¶
func ByBirthdayMonth(opts ...sql.OrderTermOption) OrderOption
ByBirthdayMonth orders the results by the birthday_month field.
func ByBirthdayYear ¶
func ByBirthdayYear(opts ...sql.OrderTermOption) OrderOption
ByBirthdayYear orders the results by the birthday_year field.
func ByCareerGroups ¶
func ByCareerGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCareerGroups orders the results by careerGroups terms.
func ByCareerGroupsCount ¶
func ByCareerGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByCareerGroupsCount orders the results by careerGroups count.
func ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByJob ¶
func ByJob(opts ...sql.OrderTermOption) OrderOption
ByJob orders the results by the job field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByNickname ¶
func ByNickname(opts ...sql.OrderTermOption) OrderOption
ByNickname orders the results by the nickname field.
func ByNotes ¶
func ByNotes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByNotes orders the results by notes terms.
func ByNotesCount ¶
func ByNotesCount(opts ...sql.OrderTermOption) OrderOption
ByNotesCount orders the results by notes count.
func ByPr ¶
func ByPr(opts ...sql.OrderTermOption) OrderOption
ByPr orders the results by the pr field.
func ByQualifications ¶
func ByQualifications(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByQualifications orders the results by qualifications terms.
func ByQualificationsCount ¶
func ByQualificationsCount(opts ...sql.OrderTermOption) OrderOption
ByQualificationsCount orders the results by qualifications count.
func BySolutions ¶
func BySolutions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySolutions orders the results by solutions terms.
func BySolutionsCount ¶
func BySolutionsCount(opts ...sql.OrderTermOption) OrderOption
BySolutionsCount orders the results by solutions count.
func ByUpdateTime ¶
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByUpdateTime orders the results by the update_time field.