Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Issue) predicate.Issue
- func CreateTime(v time.Time) predicate.Issue
- func CreateTimeEQ(v time.Time) predicate.Issue
- func CreateTimeGT(v time.Time) predicate.Issue
- func CreateTimeGTE(v time.Time) predicate.Issue
- func CreateTimeIn(vs ...time.Time) predicate.Issue
- func CreateTimeLT(v time.Time) predicate.Issue
- func CreateTimeLTE(v time.Time) predicate.Issue
- func CreateTimeNEQ(v time.Time) predicate.Issue
- func CreateTimeNotIn(vs ...time.Time) predicate.Issue
- func Description(v string) predicate.Issue
- func DescriptionContains(v string) predicate.Issue
- func DescriptionContainsFold(v string) predicate.Issue
- func DescriptionEQ(v string) predicate.Issue
- func DescriptionEqualFold(v string) predicate.Issue
- func DescriptionGT(v string) predicate.Issue
- func DescriptionGTE(v string) predicate.Issue
- func DescriptionHasPrefix(v string) predicate.Issue
- func DescriptionHasSuffix(v string) predicate.Issue
- func DescriptionIn(vs ...string) predicate.Issue
- func DescriptionLT(v string) predicate.Issue
- func DescriptionLTE(v string) predicate.Issue
- func DescriptionNEQ(v string) predicate.Issue
- func DescriptionNotIn(vs ...string) predicate.Issue
- func HasOwner() predicate.Issue
- func HasOwnerWith(preds ...predicate.Project) predicate.Issue
- func ID(id uuid.UUID) predicate.Issue
- func IDEQ(id uuid.UUID) predicate.Issue
- func IDGT(id uuid.UUID) predicate.Issue
- func IDGTE(id uuid.UUID) predicate.Issue
- func IDIn(ids ...uuid.UUID) predicate.Issue
- func IDLT(id uuid.UUID) predicate.Issue
- func IDLTE(id uuid.UUID) predicate.Issue
- func IDNEQ(id uuid.UUID) predicate.Issue
- func IDNotIn(ids ...uuid.UUID) predicate.Issue
- func Not(p predicate.Issue) predicate.Issue
- func Or(predicates ...predicate.Issue) predicate.Issue
- func Title(v string) predicate.Issue
- func TitleContains(v string) predicate.Issue
- func TitleContainsFold(v string) predicate.Issue
- func TitleEQ(v string) predicate.Issue
- func TitleEqualFold(v string) predicate.Issue
- func TitleGT(v string) predicate.Issue
- func TitleGTE(v string) predicate.Issue
- func TitleHasPrefix(v string) predicate.Issue
- func TitleHasSuffix(v string) predicate.Issue
- func TitleIn(vs ...string) predicate.Issue
- func TitleLT(v string) predicate.Issue
- func TitleLTE(v string) predicate.Issue
- func TitleNEQ(v string) predicate.Issue
- func TitleNotIn(vs ...string) predicate.Issue
- func UpdateTime(v time.Time) predicate.Issue
- func UpdateTimeEQ(v time.Time) predicate.Issue
- func UpdateTimeGT(v time.Time) predicate.Issue
- func UpdateTimeGTE(v time.Time) predicate.Issue
- func UpdateTimeIn(vs ...time.Time) predicate.Issue
- func UpdateTimeLT(v time.Time) predicate.Issue
- func UpdateTimeLTE(v time.Time) predicate.Issue
- func UpdateTimeNEQ(v time.Time) predicate.Issue
- func UpdateTimeNotIn(vs ...time.Time) predicate.Issue
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the issue type in the database. Label = "issue" // 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" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the issue in the database. Table = "issues" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "issues" // OwnerInverseTable is the table name for the Project entity. // It exists in this package in order to avoid circular dependency with the "project" package. OwnerInverseTable = "projects" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "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 issue fields.
var ForeignKeys = []string{
"project_issues",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "issues" table and are not defined as standalone fields in the schema.
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 HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" 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.