Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CareerTask) predicate.CareerTask
- func CreateTime(v time.Time) predicate.CareerTask
- func CreateTimeEQ(v time.Time) predicate.CareerTask
- func CreateTimeGT(v time.Time) predicate.CareerTask
- func CreateTimeGTE(v time.Time) predicate.CareerTask
- func CreateTimeIn(vs ...time.Time) predicate.CareerTask
- func CreateTimeLT(v time.Time) predicate.CareerTask
- func CreateTimeLTE(v time.Time) predicate.CareerTask
- func CreateTimeNEQ(v time.Time) predicate.CareerTask
- func CreateTimeNotIn(vs ...time.Time) predicate.CareerTask
- func HasCareer() predicate.CareerTask
- func HasCareerTaskDescriptions() predicate.CareerTask
- func HasCareerTaskDescriptionsWith(preds ...predicate.CareerTaskDescription) predicate.CareerTask
- func HasCareerWith(preds ...predicate.UserCareer) predicate.CareerTask
- func ID(id int) predicate.CareerTask
- func IDEQ(id int) predicate.CareerTask
- func IDGT(id int) predicate.CareerTask
- func IDGTE(id int) predicate.CareerTask
- func IDIn(ids ...int) predicate.CareerTask
- func IDLT(id int) predicate.CareerTask
- func IDLTE(id int) predicate.CareerTask
- func IDNEQ(id int) predicate.CareerTask
- func IDNotIn(ids ...int) predicate.CareerTask
- func Name(v string) predicate.CareerTask
- func NameContains(v string) predicate.CareerTask
- func NameContainsFold(v string) predicate.CareerTask
- func NameEQ(v string) predicate.CareerTask
- func NameEqualFold(v string) predicate.CareerTask
- func NameGT(v string) predicate.CareerTask
- func NameGTE(v string) predicate.CareerTask
- func NameHasPrefix(v string) predicate.CareerTask
- func NameHasSuffix(v string) predicate.CareerTask
- func NameIn(vs ...string) predicate.CareerTask
- func NameLT(v string) predicate.CareerTask
- func NameLTE(v string) predicate.CareerTask
- func NameNEQ(v string) predicate.CareerTask
- func NameNotIn(vs ...string) predicate.CareerTask
- func Not(p predicate.CareerTask) predicate.CareerTask
- func Or(predicates ...predicate.CareerTask) predicate.CareerTask
- func UpdateTime(v time.Time) predicate.CareerTask
- func UpdateTimeEQ(v time.Time) predicate.CareerTask
- func UpdateTimeGT(v time.Time) predicate.CareerTask
- func UpdateTimeGTE(v time.Time) predicate.CareerTask
- func UpdateTimeIn(vs ...time.Time) predicate.CareerTask
- func UpdateTimeLT(v time.Time) predicate.CareerTask
- func UpdateTimeLTE(v time.Time) predicate.CareerTask
- func UpdateTimeNEQ(v time.Time) predicate.CareerTask
- func UpdateTimeNotIn(vs ...time.Time) predicate.CareerTask
- func ValidColumn(column string) bool
- type OrderOption
- func ByCareerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCareerTaskDescriptions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCareerTaskDescriptionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the careertask type in the database. Label = "career_task" // 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" // EdgeCareer holds the string denoting the career edge name in mutations. EdgeCareer = "career" // EdgeCareerTaskDescriptions holds the string denoting the careertaskdescriptions edge name in mutations. EdgeCareerTaskDescriptions = "careerTaskDescriptions" // Table holds the table name of the careertask in the database. Table = "career_tasks" // CareerTable is the table that holds the career relation/edge. CareerTable = "career_tasks" // 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" // CareerTaskDescriptionsTable is the table that holds the careerTaskDescriptions relation/edge. CareerTaskDescriptionsTable = "career_task_descriptions" // CareerTaskDescriptionsInverseTable is the table name for the CareerTaskDescription entity. // It exists in this package in order to avoid circular dependency with the "careertaskdescription" package. CareerTaskDescriptionsInverseTable = "career_task_descriptions" // CareerTaskDescriptionsColumn is the table column denoting the careerTaskDescriptions relation/edge. CareerTaskDescriptionsColumn = "career_task_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 )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldName, }
Columns holds all SQL columns for careertask fields.
var ForeignKeys = []string{
"career_id",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "career_tasks" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.CareerTask) predicate.CareerTask
And groups predicates with the AND operator between them.
func CreateTime ¶
func CreateTime(v time.Time) predicate.CareerTask
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.CareerTask
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.CareerTask
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.CareerTask
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.CareerTask
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.CareerTask
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.CareerTask
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.CareerTask
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.CareerTask
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func HasCareer ¶
func HasCareer() predicate.CareerTask
HasCareer applies the HasEdge predicate on the "career" edge.
func HasCareerTaskDescriptions ¶
func HasCareerTaskDescriptions() predicate.CareerTask
HasCareerTaskDescriptions applies the HasEdge predicate on the "careerTaskDescriptions" edge.
func HasCareerTaskDescriptionsWith ¶
func HasCareerTaskDescriptionsWith(preds ...predicate.CareerTaskDescription) predicate.CareerTask
HasCareerTaskDescriptionsWith applies the HasEdge predicate on the "careerTaskDescriptions" edge with a given conditions (other predicates).
func HasCareerWith ¶
func HasCareerWith(preds ...predicate.UserCareer) predicate.CareerTask
HasCareerWith applies the HasEdge predicate on the "career" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.CareerTask
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.CareerTask
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.CareerTask
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.CareerTask
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.CareerTask
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.CareerTask
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.CareerTask
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.CareerTask
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.CareerTask
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.CareerTask
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.CareerTask
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.CareerTask
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.CareerTask
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.CareerTask
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.CareerTask
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.CareerTask
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.CareerTask
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.CareerTask
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.CareerTask
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.CareerTask) predicate.CareerTask
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CareerTask) predicate.CareerTask
Or groups predicates with the OR operator between them.
func UpdateTime ¶
func UpdateTime(v time.Time) predicate.CareerTask
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
func UpdateTimeEQ(v time.Time) predicate.CareerTask
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
func UpdateTimeGT(v time.Time) predicate.CareerTask
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
func UpdateTimeGTE(v time.Time) predicate.CareerTask
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
func UpdateTimeIn(vs ...time.Time) predicate.CareerTask
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
func UpdateTimeLT(v time.Time) predicate.CareerTask
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
func UpdateTimeLTE(v time.Time) predicate.CareerTask
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
func UpdateTimeNEQ(v time.Time) predicate.CareerTask
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
func UpdateTimeNotIn(vs ...time.Time) predicate.CareerTask
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 CareerTask queries.
func ByCareerField ¶
func ByCareerField(field string, opts ...sql.OrderTermOption) OrderOption
ByCareerField orders the results by career field.
func ByCareerTaskDescriptions ¶
func ByCareerTaskDescriptions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCareerTaskDescriptions orders the results by careerTaskDescriptions terms.
func ByCareerTaskDescriptionsCount ¶
func ByCareerTaskDescriptionsCount(opts ...sql.OrderTermOption) OrderOption
ByCareerTaskDescriptionsCount orders the results by careerTaskDescriptions 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 ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByUpdateTime ¶
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByUpdateTime orders the results by the update_time field.