Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Epic) predicate.Epic
- func Description(v string) predicate.Epic
- func DescriptionContains(v string) predicate.Epic
- func DescriptionContainsFold(v string) predicate.Epic
- func DescriptionEQ(v string) predicate.Epic
- func DescriptionEqualFold(v string) predicate.Epic
- func DescriptionGT(v string) predicate.Epic
- func DescriptionGTE(v string) predicate.Epic
- func DescriptionHasPrefix(v string) predicate.Epic
- func DescriptionHasSuffix(v string) predicate.Epic
- func DescriptionIn(vs ...string) predicate.Epic
- func DescriptionLT(v string) predicate.Epic
- func DescriptionLTE(v string) predicate.Epic
- func DescriptionNEQ(v string) predicate.Epic
- func DescriptionNotIn(vs ...string) predicate.Epic
- func HasAssignee() predicate.Epic
- func HasAssigneeWith(preds ...predicate.User) predicate.Epic
- func HasComments() predicate.Epic
- func HasCommentsWith(preds ...predicate.Comment) predicate.Epic
- func HasProject() predicate.Epic
- func HasProjectWith(preds ...predicate.Project) predicate.Epic
- func HasReporter() predicate.Epic
- func HasReporterWith(preds ...predicate.User) predicate.Epic
- func ID(id int) predicate.Epic
- func IDEQ(id int) predicate.Epic
- func IDGT(id int) predicate.Epic
- func IDGTE(id int) predicate.Epic
- func IDIn(ids ...int) predicate.Epic
- func IDLT(id int) predicate.Epic
- func IDLTE(id int) predicate.Epic
- func IDNEQ(id int) predicate.Epic
- func IDNotIn(ids ...int) predicate.Epic
- func Name(v string) predicate.Epic
- func NameContains(v string) predicate.Epic
- func NameContainsFold(v string) predicate.Epic
- func NameEQ(v string) predicate.Epic
- func NameEqualFold(v string) predicate.Epic
- func NameGT(v string) predicate.Epic
- func NameGTE(v string) predicate.Epic
- func NameHasPrefix(v string) predicate.Epic
- func NameHasSuffix(v string) predicate.Epic
- func NameIn(vs ...string) predicate.Epic
- func NameLT(v string) predicate.Epic
- func NameLTE(v string) predicate.Epic
- func NameNEQ(v string) predicate.Epic
- func NameNotIn(vs ...string) predicate.Epic
- func Not(p predicate.Epic) predicate.Epic
- func Or(predicates ...predicate.Epic) predicate.Epic
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the epic type in the database. Label = "epic" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // EdgeProject holds the string denoting the project edge name in mutations. EdgeProject = "project" // EdgeReporter holds the string denoting the reporter edge name in mutations. EdgeReporter = "reporter" // EdgeAssignee holds the string denoting the assignee edge name in mutations. EdgeAssignee = "assignee" // EdgeComments holds the string denoting the comments edge name in mutations. EdgeComments = "comments" // Table holds the table name of the epic in the database. Table = "epics" // ProjectTable is the table that holds the project relation/edge. ProjectTable = "epics" // ProjectInverseTable is the table name for the Project entity. // It exists in this package in order to avoid circular dependency with the "project" package. ProjectInverseTable = "projects" // ProjectColumn is the table column denoting the project relation/edge. ProjectColumn = "epic_project" // ReporterTable is the table that holds the reporter relation/edge. ReporterTable = "epics" // ReporterInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. ReporterInverseTable = "users" // ReporterColumn is the table column denoting the reporter relation/edge. ReporterColumn = "user_reporter" // AssigneeTable is the table that holds the assignee relation/edge. AssigneeTable = "epics" // AssigneeInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. AssigneeInverseTable = "users" // AssigneeColumn is the table column denoting the assignee relation/edge. AssigneeColumn = "user_assignee" // CommentsTable is the table that holds the comments relation/edge. The primary key declared below. CommentsTable = "epic_comments" // CommentsInverseTable is the table name for the Comment entity. // It exists in this package in order to avoid circular dependency with the "comment" package. CommentsInverseTable = "comments" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldDescription, }
Columns holds all SQL columns for epic fields.
var ( // CommentsPrimaryKey and CommentsColumn2 are the table columns denoting the // primary key for the comments relation (M2M). CommentsPrimaryKey = []string{"epic_id", "comment_id"} )
var ForeignKeys = []string{
"epic_project",
"user_reporter",
"user_assignee",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "epics" table and are not defined as standalone fields in the schema.
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error )
Functions ¶
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func HasAssignee ¶
HasAssignee applies the HasEdge predicate on the "assignee" edge.
func HasAssigneeWith ¶
HasAssigneeWith applies the HasEdge predicate on the "assignee" edge with a given conditions (other predicates).
func HasComments ¶
HasComments applies the HasEdge predicate on the "comments" edge.
func HasCommentsWith ¶
HasCommentsWith applies the HasEdge predicate on the "comments" edge with a given conditions (other predicates).
func HasProject ¶
HasProject applies the HasEdge predicate on the "project" edge.
func HasProjectWith ¶
HasProjectWith applies the HasEdge predicate on the "project" edge with a given conditions (other predicates).
func HasReporter ¶
HasReporter applies the HasEdge predicate on the "reporter" edge.
func HasReporterWith ¶
HasReporterWith applies the HasEdge predicate on the "reporter" edge with a given conditions (other predicates).
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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.