Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CareerTaskDescription) predicate.CareerTaskDescription
- func Description(v string) predicate.CareerTaskDescription
- func DescriptionContains(v string) predicate.CareerTaskDescription
- func DescriptionContainsFold(v string) predicate.CareerTaskDescription
- func DescriptionEQ(v string) predicate.CareerTaskDescription
- func DescriptionEqualFold(v string) predicate.CareerTaskDescription
- func DescriptionGT(v string) predicate.CareerTaskDescription
- func DescriptionGTE(v string) predicate.CareerTaskDescription
- func DescriptionHasPrefix(v string) predicate.CareerTaskDescription
- func DescriptionHasSuffix(v string) predicate.CareerTaskDescription
- func DescriptionIn(vs ...string) predicate.CareerTaskDescription
- func DescriptionLT(v string) predicate.CareerTaskDescription
- func DescriptionLTE(v string) predicate.CareerTaskDescription
- func DescriptionNEQ(v string) predicate.CareerTaskDescription
- func DescriptionNotIn(vs ...string) predicate.CareerTaskDescription
- func HasCareerTask() predicate.CareerTaskDescription
- func HasCareerTaskWith(preds ...predicate.CareerTask) predicate.CareerTaskDescription
- func ID(id int) predicate.CareerTaskDescription
- func IDEQ(id int) predicate.CareerTaskDescription
- func IDGT(id int) predicate.CareerTaskDescription
- func IDGTE(id int) predicate.CareerTaskDescription
- func IDIn(ids ...int) predicate.CareerTaskDescription
- func IDLT(id int) predicate.CareerTaskDescription
- func IDLTE(id int) predicate.CareerTaskDescription
- func IDNEQ(id int) predicate.CareerTaskDescription
- func IDNotIn(ids ...int) predicate.CareerTaskDescription
- func Not(p predicate.CareerTaskDescription) predicate.CareerTaskDescription
- func Or(predicates ...predicate.CareerTaskDescription) predicate.CareerTaskDescription
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the careertaskdescription type in the database. Label = "career_task_description" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // EdgeCareerTask holds the string denoting the careertask edge name in mutations. EdgeCareerTask = "careerTask" // Table holds the table name of the careertaskdescription in the database. Table = "career_task_descriptions" // CareerTaskTable is the table that holds the careerTask relation/edge. CareerTaskTable = "career_task_descriptions" // CareerTaskInverseTable is the table name for the CareerTask entity. // It exists in this package in order to avoid circular dependency with the "careertask" package. CareerTaskInverseTable = "career_tasks" // CareerTaskColumn is the table column denoting the careerTask relation/edge. CareerTaskColumn = "career_task_id" )
Variables ¶
var Columns = []string{ FieldID, FieldDescription, }
Columns holds all SQL columns for careertaskdescription fields.
var ( // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error )
var ForeignKeys = []string{
"career_task_id",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "career_task_descriptions" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.CareerTaskDescription) predicate.CareerTaskDescription
And groups predicates with the AND operator between them.
func Description ¶
func Description(v string) predicate.CareerTaskDescription
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.CareerTaskDescription
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.CareerTaskDescription
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.CareerTaskDescription
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.CareerTaskDescription
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.CareerTaskDescription
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.CareerTaskDescription
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.CareerTaskDescription
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.CareerTaskDescription
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.CareerTaskDescription
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.CareerTaskDescription
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.CareerTaskDescription
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.CareerTaskDescription
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.CareerTaskDescription
DescriptionNotIn applies the NotIn predicate on the "description" field.
func HasCareerTask ¶
func HasCareerTask() predicate.CareerTaskDescription
HasCareerTask applies the HasEdge predicate on the "careerTask" edge.
func HasCareerTaskWith ¶
func HasCareerTaskWith(preds ...predicate.CareerTask) predicate.CareerTaskDescription
HasCareerTaskWith applies the HasEdge predicate on the "careerTask" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.CareerTaskDescription
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.CareerTaskDescription
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.CareerTaskDescription
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.CareerTaskDescription
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.CareerTaskDescription
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.CareerTaskDescription
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.CareerTaskDescription
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.CareerTaskDescription
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.CareerTaskDescription
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.CareerTaskDescription) predicate.CareerTaskDescription
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CareerTaskDescription) predicate.CareerTaskDescription
Or groups predicates with the OR operator between them.
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 CareerTaskDescription queries.
func ByCareerTaskField ¶
func ByCareerTaskField(field string, opts ...sql.OrderTermOption) OrderOption
ByCareerTaskField orders the results by careerTask field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.