Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserCareer) predicate.UserCareer
- func CreateTime(v time.Time) predicate.UserCareer
- func CreateTimeEQ(v time.Time) predicate.UserCareer
- func CreateTimeGT(v time.Time) predicate.UserCareer
- func CreateTimeGTE(v time.Time) predicate.UserCareer
- func CreateTimeIn(vs ...time.Time) predicate.UserCareer
- func CreateTimeLT(v time.Time) predicate.UserCareer
- func CreateTimeLTE(v time.Time) predicate.UserCareer
- func CreateTimeNEQ(v time.Time) predicate.UserCareer
- func CreateTimeNotIn(vs ...time.Time) predicate.UserCareer
- func From(v string) predicate.UserCareer
- func FromContains(v string) predicate.UserCareer
- func FromContainsFold(v string) predicate.UserCareer
- func FromEQ(v string) predicate.UserCareer
- func FromEqualFold(v string) predicate.UserCareer
- func FromGT(v string) predicate.UserCareer
- func FromGTE(v string) predicate.UserCareer
- func FromHasPrefix(v string) predicate.UserCareer
- func FromHasSuffix(v string) predicate.UserCareer
- func FromIn(vs ...string) predicate.UserCareer
- func FromLT(v string) predicate.UserCareer
- func FromLTE(v string) predicate.UserCareer
- func FromNEQ(v string) predicate.UserCareer
- func FromNotIn(vs ...string) predicate.UserCareer
- func HasCareerDescriptions() predicate.UserCareer
- func HasCareerDescriptionsWith(preds ...predicate.UserCareerDescription) predicate.UserCareer
- func HasCareerGroup() predicate.UserCareer
- func HasCareerGroupWith(preds ...predicate.UserCareerGroup) predicate.UserCareer
- func HasCareerSkillGroups() predicate.UserCareer
- func HasCareerSkillGroupsWith(preds ...predicate.CareerSkillGroup) predicate.UserCareer
- func HasCareerTasks() predicate.UserCareer
- func HasCareerTasksWith(preds ...predicate.CareerTask) predicate.UserCareer
- func ID(id int) predicate.UserCareer
- func IDEQ(id int) predicate.UserCareer
- func IDGT(id int) predicate.UserCareer
- func IDGTE(id int) predicate.UserCareer
- func IDIn(ids ...int) predicate.UserCareer
- func IDLT(id int) predicate.UserCareer
- func IDLTE(id int) predicate.UserCareer
- func IDNEQ(id int) predicate.UserCareer
- func IDNotIn(ids ...int) predicate.UserCareer
- func Name(v string) predicate.UserCareer
- func NameContains(v string) predicate.UserCareer
- func NameContainsFold(v string) predicate.UserCareer
- func NameEQ(v string) predicate.UserCareer
- func NameEqualFold(v string) predicate.UserCareer
- func NameGT(v string) predicate.UserCareer
- func NameGTE(v string) predicate.UserCareer
- func NameHasPrefix(v string) predicate.UserCareer
- func NameHasSuffix(v string) predicate.UserCareer
- func NameIn(vs ...string) predicate.UserCareer
- func NameLT(v string) predicate.UserCareer
- func NameLTE(v string) predicate.UserCareer
- func NameNEQ(v string) predicate.UserCareer
- func NameNotIn(vs ...string) predicate.UserCareer
- func Not(p predicate.UserCareer) predicate.UserCareer
- func Or(predicates ...predicate.UserCareer) predicate.UserCareer
- func To(v string) predicate.UserCareer
- func ToContains(v string) predicate.UserCareer
- func ToContainsFold(v string) predicate.UserCareer
- func ToEQ(v string) predicate.UserCareer
- func ToEqualFold(v string) predicate.UserCareer
- func ToGT(v string) predicate.UserCareer
- func ToGTE(v string) predicate.UserCareer
- func ToHasPrefix(v string) predicate.UserCareer
- func ToHasSuffix(v string) predicate.UserCareer
- func ToIn(vs ...string) predicate.UserCareer
- func ToIsNil() predicate.UserCareer
- func ToLT(v string) predicate.UserCareer
- func ToLTE(v string) predicate.UserCareer
- func ToNEQ(v string) predicate.UserCareer
- func ToNotIn(vs ...string) predicate.UserCareer
- func ToNotNil() predicate.UserCareer
- func UpdateTime(v time.Time) predicate.UserCareer
- func UpdateTimeEQ(v time.Time) predicate.UserCareer
- func UpdateTimeGT(v time.Time) predicate.UserCareer
- func UpdateTimeGTE(v time.Time) predicate.UserCareer
- func UpdateTimeIn(vs ...time.Time) predicate.UserCareer
- func UpdateTimeLT(v time.Time) predicate.UserCareer
- func UpdateTimeLTE(v time.Time) predicate.UserCareer
- func UpdateTimeNEQ(v time.Time) predicate.UserCareer
- func UpdateTimeNotIn(vs ...time.Time) predicate.UserCareer
- func ValidColumn(column string) bool
- type OrderOption
- func ByCareerDescriptions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCareerDescriptionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCareerGroupField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCareerSkillGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCareerSkillGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCareerTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCareerTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByFrom(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByTo(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the usercareer type in the database. Label = "user_career" // 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" // FieldFrom holds the string denoting the from field in the database. FieldFrom = "from" // FieldTo holds the string denoting the to field in the database. FieldTo = "to" // EdgeCareerGroup holds the string denoting the careergroup edge name in mutations. EdgeCareerGroup = "careerGroup" // EdgeCareerDescriptions holds the string denoting the careerdescriptions edge name in mutations. EdgeCareerDescriptions = "careerDescriptions" // EdgeCareerTasks holds the string denoting the careertasks edge name in mutations. EdgeCareerTasks = "careerTasks" // EdgeCareerSkillGroups holds the string denoting the careerskillgroups edge name in mutations. EdgeCareerSkillGroups = "careerSkillGroups" // Table holds the table name of the usercareer in the database. Table = "user_careers" // CareerGroupTable is the table that holds the careerGroup relation/edge. CareerGroupTable = "user_careers" // CareerGroupInverseTable is the table name for the UserCareerGroup entity. // It exists in this package in order to avoid circular dependency with the "usercareergroup" package. CareerGroupInverseTable = "user_career_groups" // CareerGroupColumn is the table column denoting the careerGroup relation/edge. CareerGroupColumn = "career_group_id" // CareerDescriptionsTable is the table that holds the careerDescriptions relation/edge. CareerDescriptionsTable = "user_career_descriptions" // CareerDescriptionsInverseTable is the table name for the UserCareerDescription entity. // It exists in this package in order to avoid circular dependency with the "usercareerdescription" package. CareerDescriptionsInverseTable = "user_career_descriptions" // CareerDescriptionsColumn is the table column denoting the careerDescriptions relation/edge. CareerDescriptionsColumn = "career_id" // CareerTasksTable is the table that holds the careerTasks relation/edge. CareerTasksTable = "career_tasks" // CareerTasksInverseTable is the table name for the CareerTask entity. // It exists in this package in order to avoid circular dependency with the "careertask" package. CareerTasksInverseTable = "career_tasks" // CareerTasksColumn is the table column denoting the careerTasks relation/edge. CareerTasksColumn = "career_id" // CareerSkillGroupsTable is the table that holds the careerSkillGroups relation/edge. CareerSkillGroupsTable = "career_skill_groups" // CareerSkillGroupsInverseTable is the table name for the CareerSkillGroup entity. // It exists in this package in order to avoid circular dependency with the "careerskillgroup" package. CareerSkillGroupsInverseTable = "career_skill_groups" // CareerSkillGroupsColumn is the table column denoting the careerSkillGroups relation/edge. CareerSkillGroupsColumn = "career_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 // FromValidator is a validator for the "from" field. It is called by the builders before save. FromValidator func(string) error // ToValidator is a validator for the "to" field. It is called by the builders before save. ToValidator func(string) error )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldName, FieldFrom, FieldTo, }
Columns holds all SQL columns for usercareer fields.
var ForeignKeys = []string{
"career_group_id",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "user_careers" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.UserCareer) predicate.UserCareer
And groups predicates with the AND operator between them.
func CreateTime ¶
func CreateTime(v time.Time) predicate.UserCareer
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.UserCareer
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.UserCareer
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.UserCareer
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.UserCareer
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.UserCareer
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.UserCareer
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.UserCareer
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.UserCareer
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func From ¶
func From(v string) predicate.UserCareer
From applies equality check predicate on the "from" field. It's identical to FromEQ.
func FromContains ¶
func FromContains(v string) predicate.UserCareer
FromContains applies the Contains predicate on the "from" field.
func FromContainsFold ¶
func FromContainsFold(v string) predicate.UserCareer
FromContainsFold applies the ContainsFold predicate on the "from" field.
func FromEQ ¶
func FromEQ(v string) predicate.UserCareer
FromEQ applies the EQ predicate on the "from" field.
func FromEqualFold ¶
func FromEqualFold(v string) predicate.UserCareer
FromEqualFold applies the EqualFold predicate on the "from" field.
func FromGT ¶
func FromGT(v string) predicate.UserCareer
FromGT applies the GT predicate on the "from" field.
func FromGTE ¶
func FromGTE(v string) predicate.UserCareer
FromGTE applies the GTE predicate on the "from" field.
func FromHasPrefix ¶
func FromHasPrefix(v string) predicate.UserCareer
FromHasPrefix applies the HasPrefix predicate on the "from" field.
func FromHasSuffix ¶
func FromHasSuffix(v string) predicate.UserCareer
FromHasSuffix applies the HasSuffix predicate on the "from" field.
func FromIn ¶
func FromIn(vs ...string) predicate.UserCareer
FromIn applies the In predicate on the "from" field.
func FromLT ¶
func FromLT(v string) predicate.UserCareer
FromLT applies the LT predicate on the "from" field.
func FromLTE ¶
func FromLTE(v string) predicate.UserCareer
FromLTE applies the LTE predicate on the "from" field.
func FromNEQ ¶
func FromNEQ(v string) predicate.UserCareer
FromNEQ applies the NEQ predicate on the "from" field.
func FromNotIn ¶
func FromNotIn(vs ...string) predicate.UserCareer
FromNotIn applies the NotIn predicate on the "from" field.
func HasCareerDescriptions ¶
func HasCareerDescriptions() predicate.UserCareer
HasCareerDescriptions applies the HasEdge predicate on the "careerDescriptions" edge.
func HasCareerDescriptionsWith ¶
func HasCareerDescriptionsWith(preds ...predicate.UserCareerDescription) predicate.UserCareer
HasCareerDescriptionsWith applies the HasEdge predicate on the "careerDescriptions" edge with a given conditions (other predicates).
func HasCareerGroup ¶
func HasCareerGroup() predicate.UserCareer
HasCareerGroup applies the HasEdge predicate on the "careerGroup" edge.
func HasCareerGroupWith ¶
func HasCareerGroupWith(preds ...predicate.UserCareerGroup) predicate.UserCareer
HasCareerGroupWith applies the HasEdge predicate on the "careerGroup" edge with a given conditions (other predicates).
func HasCareerSkillGroups ¶
func HasCareerSkillGroups() predicate.UserCareer
HasCareerSkillGroups applies the HasEdge predicate on the "careerSkillGroups" edge.
func HasCareerSkillGroupsWith ¶
func HasCareerSkillGroupsWith(preds ...predicate.CareerSkillGroup) predicate.UserCareer
HasCareerSkillGroupsWith applies the HasEdge predicate on the "careerSkillGroups" edge with a given conditions (other predicates).
func HasCareerTasks ¶
func HasCareerTasks() predicate.UserCareer
HasCareerTasks applies the HasEdge predicate on the "careerTasks" edge.
func HasCareerTasksWith ¶
func HasCareerTasksWith(preds ...predicate.CareerTask) predicate.UserCareer
HasCareerTasksWith applies the HasEdge predicate on the "careerTasks" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.UserCareer
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.UserCareer
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.UserCareer
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.UserCareer
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.UserCareer
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.UserCareer
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.UserCareer
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.UserCareer
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.UserCareer
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.UserCareer
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.UserCareer
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.UserCareer
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.UserCareer
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.UserCareer
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.UserCareer
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.UserCareer
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.UserCareer
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.UserCareer
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.UserCareer
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.UserCareer) predicate.UserCareer
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserCareer) predicate.UserCareer
Or groups predicates with the OR operator between them.
func To ¶
func To(v string) predicate.UserCareer
To applies equality check predicate on the "to" field. It's identical to ToEQ.
func ToContains ¶
func ToContains(v string) predicate.UserCareer
ToContains applies the Contains predicate on the "to" field.
func ToContainsFold ¶
func ToContainsFold(v string) predicate.UserCareer
ToContainsFold applies the ContainsFold predicate on the "to" field.
func ToEQ ¶
func ToEQ(v string) predicate.UserCareer
ToEQ applies the EQ predicate on the "to" field.
func ToEqualFold ¶
func ToEqualFold(v string) predicate.UserCareer
ToEqualFold applies the EqualFold predicate on the "to" field.
func ToGT ¶
func ToGT(v string) predicate.UserCareer
ToGT applies the GT predicate on the "to" field.
func ToGTE ¶
func ToGTE(v string) predicate.UserCareer
ToGTE applies the GTE predicate on the "to" field.
func ToHasPrefix ¶
func ToHasPrefix(v string) predicate.UserCareer
ToHasPrefix applies the HasPrefix predicate on the "to" field.
func ToHasSuffix ¶
func ToHasSuffix(v string) predicate.UserCareer
ToHasSuffix applies the HasSuffix predicate on the "to" field.
func ToIn ¶
func ToIn(vs ...string) predicate.UserCareer
ToIn applies the In predicate on the "to" field.
func ToIsNil ¶
func ToIsNil() predicate.UserCareer
ToIsNil applies the IsNil predicate on the "to" field.
func ToLT ¶
func ToLT(v string) predicate.UserCareer
ToLT applies the LT predicate on the "to" field.
func ToLTE ¶
func ToLTE(v string) predicate.UserCareer
ToLTE applies the LTE predicate on the "to" field.
func ToNEQ ¶
func ToNEQ(v string) predicate.UserCareer
ToNEQ applies the NEQ predicate on the "to" field.
func ToNotIn ¶
func ToNotIn(vs ...string) predicate.UserCareer
ToNotIn applies the NotIn predicate on the "to" field.
func ToNotNil ¶
func ToNotNil() predicate.UserCareer
ToNotNil applies the NotNil predicate on the "to" field.
func UpdateTime ¶
func UpdateTime(v time.Time) predicate.UserCareer
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
func UpdateTimeEQ(v time.Time) predicate.UserCareer
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
func UpdateTimeGT(v time.Time) predicate.UserCareer
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
func UpdateTimeGTE(v time.Time) predicate.UserCareer
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
func UpdateTimeIn(vs ...time.Time) predicate.UserCareer
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
func UpdateTimeLT(v time.Time) predicate.UserCareer
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
func UpdateTimeLTE(v time.Time) predicate.UserCareer
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
func UpdateTimeNEQ(v time.Time) predicate.UserCareer
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
func UpdateTimeNotIn(vs ...time.Time) predicate.UserCareer
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 UserCareer queries.
func ByCareerDescriptions ¶
func ByCareerDescriptions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCareerDescriptions orders the results by careerDescriptions terms.
func ByCareerDescriptionsCount ¶
func ByCareerDescriptionsCount(opts ...sql.OrderTermOption) OrderOption
ByCareerDescriptionsCount orders the results by careerDescriptions count.
func ByCareerGroupField ¶
func ByCareerGroupField(field string, opts ...sql.OrderTermOption) OrderOption
ByCareerGroupField orders the results by careerGroup field.
func ByCareerSkillGroups ¶
func ByCareerSkillGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCareerSkillGroups orders the results by careerSkillGroups terms.
func ByCareerSkillGroupsCount ¶
func ByCareerSkillGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByCareerSkillGroupsCount orders the results by careerSkillGroups count.
func ByCareerTasks ¶
func ByCareerTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCareerTasks orders the results by careerTasks terms.
func ByCareerTasksCount ¶
func ByCareerTasksCount(opts ...sql.OrderTermOption) OrderOption
ByCareerTasksCount orders the results by careerTasks count.
func ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByFrom ¶
func ByFrom(opts ...sql.OrderTermOption) OrderOption
ByFrom orders the results by the from field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByTo ¶
func ByTo(opts ...sql.OrderTermOption) OrderOption
ByTo orders the results by the to field.
func ByUpdateTime ¶
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByUpdateTime orders the results by the update_time field.