Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Project) predicate.Project
- func CreateTime(v time.Time) predicate.Project
- func CreateTimeEQ(v time.Time) predicate.Project
- func CreateTimeGT(v time.Time) predicate.Project
- func CreateTimeGTE(v time.Time) predicate.Project
- func CreateTimeIn(vs ...time.Time) predicate.Project
- func CreateTimeLT(v time.Time) predicate.Project
- func CreateTimeLTE(v time.Time) predicate.Project
- func CreateTimeNEQ(v time.Time) predicate.Project
- func CreateTimeNotIn(vs ...time.Time) predicate.Project
- func Description(v string) predicate.Project
- func DescriptionContains(v string) predicate.Project
- func DescriptionContainsFold(v string) predicate.Project
- func DescriptionEQ(v string) predicate.Project
- func DescriptionEqualFold(v string) predicate.Project
- func DescriptionGT(v string) predicate.Project
- func DescriptionGTE(v string) predicate.Project
- func DescriptionHasPrefix(v string) predicate.Project
- func DescriptionHasSuffix(v string) predicate.Project
- func DescriptionIn(vs ...string) predicate.Project
- func DescriptionLT(v string) predicate.Project
- func DescriptionLTE(v string) predicate.Project
- func DescriptionNEQ(v string) predicate.Project
- func DescriptionNotIn(vs ...string) predicate.Project
- func HasIssues() predicate.Project
- func HasIssuesWith(preds ...predicate.Issue) predicate.Project
- func ID(id uuid.UUID) predicate.Project
- func IDEQ(id uuid.UUID) predicate.Project
- func IDGT(id uuid.UUID) predicate.Project
- func IDGTE(id uuid.UUID) predicate.Project
- func IDIn(ids ...uuid.UUID) predicate.Project
- func IDLT(id uuid.UUID) predicate.Project
- func IDLTE(id uuid.UUID) predicate.Project
- func IDNEQ(id uuid.UUID) predicate.Project
- func IDNotIn(ids ...uuid.UUID) predicate.Project
- func Not(p predicate.Project) predicate.Project
- func Or(predicates ...predicate.Project) predicate.Project
- func Title(v string) predicate.Project
- func TitleContains(v string) predicate.Project
- func TitleContainsFold(v string) predicate.Project
- func TitleEQ(v string) predicate.Project
- func TitleEqualFold(v string) predicate.Project
- func TitleGT(v string) predicate.Project
- func TitleGTE(v string) predicate.Project
- func TitleHasPrefix(v string) predicate.Project
- func TitleHasSuffix(v string) predicate.Project
- func TitleIn(vs ...string) predicate.Project
- func TitleLT(v string) predicate.Project
- func TitleLTE(v string) predicate.Project
- func TitleNEQ(v string) predicate.Project
- func TitleNotIn(vs ...string) predicate.Project
- func UpdateTime(v time.Time) predicate.Project
- func UpdateTimeEQ(v time.Time) predicate.Project
- func UpdateTimeGT(v time.Time) predicate.Project
- func UpdateTimeGTE(v time.Time) predicate.Project
- func UpdateTimeIn(vs ...time.Time) predicate.Project
- func UpdateTimeLT(v time.Time) predicate.Project
- func UpdateTimeLTE(v time.Time) predicate.Project
- func UpdateTimeNEQ(v time.Time) predicate.Project
- func UpdateTimeNotIn(vs ...time.Time) predicate.Project
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the project type in the database. Label = "project" // 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" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // EdgeIssues holds the string denoting the issues edge name in mutations. EdgeIssues = "issues" // Table holds the table name of the project in the database. Table = "projects" // IssuesTable is the table that holds the issues relation/edge. IssuesTable = "issues" // IssuesInverseTable is the table name for the Issue entity. // It exists in this package in order to avoid circular dependency with the "issue" package. IssuesInverseTable = "issues" // IssuesColumn is the table column denoting the issues relation/edge. IssuesColumn = "project_issues" )
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 // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator func(string) error // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldTitle, FieldDescription, }
Columns holds all SQL columns for project fields.
Functions ¶
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
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 HasIssuesWith ¶
HasIssuesWith applies the HasEdge predicate on the "issues" edge with a given conditions (other predicates).
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
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 ¶
This section is empty.