Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CareerSkillGroup) predicate.CareerSkillGroup
- func CreateTime(v time.Time) predicate.CareerSkillGroup
- func CreateTimeEQ(v time.Time) predicate.CareerSkillGroup
- func CreateTimeGT(v time.Time) predicate.CareerSkillGroup
- func CreateTimeGTE(v time.Time) predicate.CareerSkillGroup
- func CreateTimeIn(vs ...time.Time) predicate.CareerSkillGroup
- func CreateTimeLT(v time.Time) predicate.CareerSkillGroup
- func CreateTimeLTE(v time.Time) predicate.CareerSkillGroup
- func CreateTimeNEQ(v time.Time) predicate.CareerSkillGroup
- func CreateTimeNotIn(vs ...time.Time) predicate.CareerSkillGroup
- func HasCareer() predicate.CareerSkillGroup
- func HasCareerSkills() predicate.CareerSkillGroup
- func HasCareerSkillsWith(preds ...predicate.CareerSkill) predicate.CareerSkillGroup
- func HasCareerWith(preds ...predicate.UserCareer) predicate.CareerSkillGroup
- func ID(id int) predicate.CareerSkillGroup
- func IDEQ(id int) predicate.CareerSkillGroup
- func IDGT(id int) predicate.CareerSkillGroup
- func IDGTE(id int) predicate.CareerSkillGroup
- func IDIn(ids ...int) predicate.CareerSkillGroup
- func IDLT(id int) predicate.CareerSkillGroup
- func IDLTE(id int) predicate.CareerSkillGroup
- func IDNEQ(id int) predicate.CareerSkillGroup
- func IDNotIn(ids ...int) predicate.CareerSkillGroup
- func LabelContains(v string) predicate.CareerSkillGroup
- func LabelContainsFold(v string) predicate.CareerSkillGroup
- func LabelEQ(v string) predicate.CareerSkillGroup
- func LabelEqualFold(v string) predicate.CareerSkillGroup
- func LabelGT(v string) predicate.CareerSkillGroup
- func LabelGTE(v string) predicate.CareerSkillGroup
- func LabelHasPrefix(v string) predicate.CareerSkillGroup
- func LabelHasSuffix(v string) predicate.CareerSkillGroup
- func LabelIn(vs ...string) predicate.CareerSkillGroup
- func LabelLT(v string) predicate.CareerSkillGroup
- func LabelLTE(v string) predicate.CareerSkillGroup
- func LabelNEQ(v string) predicate.CareerSkillGroup
- func LabelNotIn(vs ...string) predicate.CareerSkillGroup
- func Not(p predicate.CareerSkillGroup) predicate.CareerSkillGroup
- func Or(predicates ...predicate.CareerSkillGroup) predicate.CareerSkillGroup
- func UpdateTime(v time.Time) predicate.CareerSkillGroup
- func UpdateTimeEQ(v time.Time) predicate.CareerSkillGroup
- func UpdateTimeGT(v time.Time) predicate.CareerSkillGroup
- func UpdateTimeGTE(v time.Time) predicate.CareerSkillGroup
- func UpdateTimeIn(vs ...time.Time) predicate.CareerSkillGroup
- func UpdateTimeLT(v time.Time) predicate.CareerSkillGroup
- func UpdateTimeLTE(v time.Time) predicate.CareerSkillGroup
- func UpdateTimeNEQ(v time.Time) predicate.CareerSkillGroup
- func UpdateTimeNotIn(vs ...time.Time) predicate.CareerSkillGroup
- func ValidColumn(column string) bool
- type OrderOption
- func ByCareerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCareerSkills(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCareerSkillsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLabel(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the careerskillgroup type in the database. Label = "career_skill_group" // 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" // FieldLabel holds the string denoting the label field in the database. FieldLabel = "label" // EdgeCareer holds the string denoting the career edge name in mutations. EdgeCareer = "career" // EdgeCareerSkills holds the string denoting the careerskills edge name in mutations. EdgeCareerSkills = "careerSkills" // Table holds the table name of the careerskillgroup in the database. Table = "career_skill_groups" // CareerTable is the table that holds the career relation/edge. CareerTable = "career_skill_groups" // CareerInverseTable is the table name for the UserCareer entity. // It exists in this package in order to avoid circular dependency with the "usercareer" package. CareerInverseTable = "user_careers" // CareerColumn is the table column denoting the career relation/edge. CareerColumn = "career_id" // CareerSkillsTable is the table that holds the careerSkills relation/edge. CareerSkillsTable = "career_skills" // CareerSkillsInverseTable is the table name for the CareerSkill entity. // It exists in this package in order to avoid circular dependency with the "careerskill" package. CareerSkillsInverseTable = "career_skills" // CareerSkillsColumn is the table column denoting the careerSkills relation/edge. CareerSkillsColumn = "career_skill_group_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 // LabelValidator is a validator for the "label" field. It is called by the builders before save. LabelValidator func(string) error )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldLabel, }
Columns holds all SQL columns for careerskillgroup fields.
var ForeignKeys = []string{
"career_id",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "career_skill_groups" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.CareerSkillGroup) predicate.CareerSkillGroup
And groups predicates with the AND operator between them.
func CreateTime ¶
func CreateTime(v time.Time) predicate.CareerSkillGroup
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.CareerSkillGroup
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.CareerSkillGroup
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.CareerSkillGroup
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.CareerSkillGroup
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.CareerSkillGroup
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.CareerSkillGroup
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.CareerSkillGroup
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.CareerSkillGroup
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func HasCareer ¶
func HasCareer() predicate.CareerSkillGroup
HasCareer applies the HasEdge predicate on the "career" edge.
func HasCareerSkills ¶
func HasCareerSkills() predicate.CareerSkillGroup
HasCareerSkills applies the HasEdge predicate on the "careerSkills" edge.
func HasCareerSkillsWith ¶
func HasCareerSkillsWith(preds ...predicate.CareerSkill) predicate.CareerSkillGroup
HasCareerSkillsWith applies the HasEdge predicate on the "careerSkills" edge with a given conditions (other predicates).
func HasCareerWith ¶
func HasCareerWith(preds ...predicate.UserCareer) predicate.CareerSkillGroup
HasCareerWith applies the HasEdge predicate on the "career" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.CareerSkillGroup
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.CareerSkillGroup
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.CareerSkillGroup
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.CareerSkillGroup
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.CareerSkillGroup
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.CareerSkillGroup
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.CareerSkillGroup
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.CareerSkillGroup
IDNotIn applies the NotIn predicate on the ID field.
func LabelContains ¶
func LabelContains(v string) predicate.CareerSkillGroup
LabelContains applies the Contains predicate on the "label" field.
func LabelContainsFold ¶
func LabelContainsFold(v string) predicate.CareerSkillGroup
LabelContainsFold applies the ContainsFold predicate on the "label" field.
func LabelEQ ¶
func LabelEQ(v string) predicate.CareerSkillGroup
LabelEQ applies the EQ predicate on the "label" field.
func LabelEqualFold ¶
func LabelEqualFold(v string) predicate.CareerSkillGroup
LabelEqualFold applies the EqualFold predicate on the "label" field.
func LabelGT ¶
func LabelGT(v string) predicate.CareerSkillGroup
LabelGT applies the GT predicate on the "label" field.
func LabelGTE ¶
func LabelGTE(v string) predicate.CareerSkillGroup
LabelGTE applies the GTE predicate on the "label" field.
func LabelHasPrefix ¶
func LabelHasPrefix(v string) predicate.CareerSkillGroup
LabelHasPrefix applies the HasPrefix predicate on the "label" field.
func LabelHasSuffix ¶
func LabelHasSuffix(v string) predicate.CareerSkillGroup
LabelHasSuffix applies the HasSuffix predicate on the "label" field.
func LabelIn ¶
func LabelIn(vs ...string) predicate.CareerSkillGroup
LabelIn applies the In predicate on the "label" field.
func LabelLT ¶
func LabelLT(v string) predicate.CareerSkillGroup
LabelLT applies the LT predicate on the "label" field.
func LabelLTE ¶
func LabelLTE(v string) predicate.CareerSkillGroup
LabelLTE applies the LTE predicate on the "label" field.
func LabelNEQ ¶
func LabelNEQ(v string) predicate.CareerSkillGroup
LabelNEQ applies the NEQ predicate on the "label" field.
func LabelNotIn ¶
func LabelNotIn(vs ...string) predicate.CareerSkillGroup
LabelNotIn applies the NotIn predicate on the "label" field.
func Not ¶
func Not(p predicate.CareerSkillGroup) predicate.CareerSkillGroup
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CareerSkillGroup) predicate.CareerSkillGroup
Or groups predicates with the OR operator between them.
func UpdateTime ¶
func UpdateTime(v time.Time) predicate.CareerSkillGroup
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
func UpdateTimeEQ(v time.Time) predicate.CareerSkillGroup
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
func UpdateTimeGT(v time.Time) predicate.CareerSkillGroup
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
func UpdateTimeGTE(v time.Time) predicate.CareerSkillGroup
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
func UpdateTimeIn(vs ...time.Time) predicate.CareerSkillGroup
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
func UpdateTimeLT(v time.Time) predicate.CareerSkillGroup
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
func UpdateTimeLTE(v time.Time) predicate.CareerSkillGroup
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
func UpdateTimeNEQ(v time.Time) predicate.CareerSkillGroup
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
func UpdateTimeNotIn(vs ...time.Time) predicate.CareerSkillGroup
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 CareerSkillGroup queries.
func ByCareerField ¶
func ByCareerField(field string, opts ...sql.OrderTermOption) OrderOption
ByCareerField orders the results by career field.
func ByCareerSkills ¶
func ByCareerSkills(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCareerSkills orders the results by careerSkills terms.
func ByCareerSkillsCount ¶
func ByCareerSkillsCount(opts ...sql.OrderTermOption) OrderOption
ByCareerSkillsCount orders the results by careerSkills 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 ByLabel ¶
func ByLabel(opts ...sql.OrderTermOption) OrderOption
ByLabel orders the results by the label field.
func ByUpdateTime ¶
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByUpdateTime orders the results by the update_time field.