Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Issue) predicate.Issue
- func ClosedAt(v time.Time) predicate.Issue
- func ClosedAtEQ(v time.Time) predicate.Issue
- func ClosedAtGT(v time.Time) predicate.Issue
- func ClosedAtGTE(v time.Time) predicate.Issue
- func ClosedAtIn(vs ...time.Time) predicate.Issue
- func ClosedAtIsNil() predicate.Issue
- func ClosedAtLT(v time.Time) predicate.Issue
- func ClosedAtLTE(v time.Time) predicate.Issue
- func ClosedAtNEQ(v time.Time) predicate.Issue
- func ClosedAtNotIn(vs ...time.Time) predicate.Issue
- func ClosedAtNotNil() predicate.Issue
- func CreatedAt(v time.Time) predicate.Issue
- func CreatedAtEQ(v time.Time) predicate.Issue
- func CreatedAtGT(v time.Time) predicate.Issue
- func CreatedAtGTE(v time.Time) predicate.Issue
- func CreatedAtIn(vs ...time.Time) predicate.Issue
- func CreatedAtLT(v time.Time) predicate.Issue
- func CreatedAtLTE(v time.Time) predicate.Issue
- func CreatedAtNEQ(v time.Time) predicate.Issue
- func CreatedAtNotIn(vs ...time.Time) predicate.Issue
- func GithubID(v string) predicate.Issue
- func GithubIDContains(v string) predicate.Issue
- func GithubIDContainsFold(v string) predicate.Issue
- func GithubIDEQ(v string) predicate.Issue
- func GithubIDEqualFold(v string) predicate.Issue
- func GithubIDGT(v string) predicate.Issue
- func GithubIDGTE(v string) predicate.Issue
- func GithubIDHasPrefix(v string) predicate.Issue
- func GithubIDHasSuffix(v string) predicate.Issue
- func GithubIDIn(vs ...string) predicate.Issue
- func GithubIDLT(v string) predicate.Issue
- func GithubIDLTE(v string) predicate.Issue
- func GithubIDNEQ(v string) predicate.Issue
- func GithubIDNotIn(vs ...string) predicate.Issue
- func HasRepository() predicate.Issue
- func HasRepositoryWith(preds ...predicate.Repository) 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 LastEditedAt(v time.Time) predicate.Issue
- func LastEditedAtEQ(v time.Time) predicate.Issue
- func LastEditedAtGT(v time.Time) predicate.Issue
- func LastEditedAtGTE(v time.Time) predicate.Issue
- func LastEditedAtIn(vs ...time.Time) predicate.Issue
- func LastEditedAtIsNil() predicate.Issue
- func LastEditedAtLT(v time.Time) predicate.Issue
- func LastEditedAtLTE(v time.Time) predicate.Issue
- func LastEditedAtNEQ(v time.Time) predicate.Issue
- func LastEditedAtNotIn(vs ...time.Time) predicate.Issue
- func LastEditedAtNotNil() 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 UpdatedAt(v time.Time) predicate.Issue
- func UpdatedAtEQ(v time.Time) predicate.Issue
- func UpdatedAtGT(v time.Time) predicate.Issue
- func UpdatedAtGTE(v time.Time) predicate.Issue
- func UpdatedAtIn(vs ...time.Time) predicate.Issue
- func UpdatedAtLT(v time.Time) predicate.Issue
- func UpdatedAtLTE(v time.Time) predicate.Issue
- func UpdatedAtNEQ(v time.Time) predicate.Issue
- func UpdatedAtNotIn(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" // FieldGithubID holds the string denoting the github_id field in the database. FieldGithubID = "github_id" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldLastEditedAt holds the string denoting the last_edited_at field in the database. FieldLastEditedAt = "last_edited_at" // FieldClosedAt holds the string denoting the closed_at field in the database. FieldClosedAt = "closed_at" // EdgeRepository holds the string denoting the repository edge name in mutations. EdgeRepository = "repository" // Table holds the table name of the issue in the database. Table = "issues" // RepositoryTable is the table that holds the repository relation/edge. RepositoryTable = "issues" // RepositoryInverseTable is the table name for the Repository entity. // It exists in this package in order to avoid circular dependency with the "repository" package. RepositoryInverseTable = "repositories" // RepositoryColumn is the table column denoting the repository relation/edge. RepositoryColumn = "repository_id" )
Variables ¶
var ( // GithubIDValidator is a validator for the "github_id" field. It is called by the builders before save. GithubIDValidator func(string) error // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // DefaultLastEditedAt holds the default value on creation for the "last_edited_at" field. DefaultLastEditedAt func() time.Time // DefaultClosedAt holds the default value on creation for the "closed_at" field. DefaultClosedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldGithubID, FieldTitle, FieldCreatedAt, FieldUpdatedAt, FieldLastEditedAt, FieldClosedAt, }
Columns holds all SQL columns for issue fields.
var ForeignKeys = []string{
"repository_id",
}
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 ClosedAt ¶
ClosedAt applies equality check predicate on the "closed_at" field. It's identical to ClosedAtEQ.
func ClosedAtEQ ¶
ClosedAtEQ applies the EQ predicate on the "closed_at" field.
func ClosedAtGT ¶
ClosedAtGT applies the GT predicate on the "closed_at" field.
func ClosedAtGTE ¶
ClosedAtGTE applies the GTE predicate on the "closed_at" field.
func ClosedAtIn ¶
ClosedAtIn applies the In predicate on the "closed_at" field.
func ClosedAtIsNil ¶
ClosedAtIsNil applies the IsNil predicate on the "closed_at" field.
func ClosedAtLT ¶
ClosedAtLT applies the LT predicate on the "closed_at" field.
func ClosedAtLTE ¶
ClosedAtLTE applies the LTE predicate on the "closed_at" field.
func ClosedAtNEQ ¶
ClosedAtNEQ applies the NEQ predicate on the "closed_at" field.
func ClosedAtNotIn ¶
ClosedAtNotIn applies the NotIn predicate on the "closed_at" field.
func ClosedAtNotNil ¶
ClosedAtNotNil applies the NotNil predicate on the "closed_at" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func GithubID ¶
GithubID applies equality check predicate on the "github_id" field. It's identical to GithubIDEQ.
func GithubIDContains ¶
GithubIDContains applies the Contains predicate on the "github_id" field.
func GithubIDContainsFold ¶
GithubIDContainsFold applies the ContainsFold predicate on the "github_id" field.
func GithubIDEQ ¶
GithubIDEQ applies the EQ predicate on the "github_id" field.
func GithubIDEqualFold ¶
GithubIDEqualFold applies the EqualFold predicate on the "github_id" field.
func GithubIDGT ¶
GithubIDGT applies the GT predicate on the "github_id" field.
func GithubIDGTE ¶
GithubIDGTE applies the GTE predicate on the "github_id" field.
func GithubIDHasPrefix ¶
GithubIDHasPrefix applies the HasPrefix predicate on the "github_id" field.
func GithubIDHasSuffix ¶
GithubIDHasSuffix applies the HasSuffix predicate on the "github_id" field.
func GithubIDIn ¶
GithubIDIn applies the In predicate on the "github_id" field.
func GithubIDLT ¶
GithubIDLT applies the LT predicate on the "github_id" field.
func GithubIDLTE ¶
GithubIDLTE applies the LTE predicate on the "github_id" field.
func GithubIDNEQ ¶
GithubIDNEQ applies the NEQ predicate on the "github_id" field.
func GithubIDNotIn ¶
GithubIDNotIn applies the NotIn predicate on the "github_id" field.
func HasRepository ¶
HasRepository applies the HasEdge predicate on the "repository" edge.
func HasRepositoryWith ¶
func HasRepositoryWith(preds ...predicate.Repository) predicate.Issue
HasRepositoryWith applies the HasEdge predicate on the "repository" edge with a given conditions (other predicates).
func LastEditedAt ¶
LastEditedAt applies equality check predicate on the "last_edited_at" field. It's identical to LastEditedAtEQ.
func LastEditedAtEQ ¶
LastEditedAtEQ applies the EQ predicate on the "last_edited_at" field.
func LastEditedAtGT ¶
LastEditedAtGT applies the GT predicate on the "last_edited_at" field.
func LastEditedAtGTE ¶
LastEditedAtGTE applies the GTE predicate on the "last_edited_at" field.
func LastEditedAtIn ¶
LastEditedAtIn applies the In predicate on the "last_edited_at" field.
func LastEditedAtIsNil ¶
LastEditedAtIsNil applies the IsNil predicate on the "last_edited_at" field.
func LastEditedAtLT ¶
LastEditedAtLT applies the LT predicate on the "last_edited_at" field.
func LastEditedAtLTE ¶
LastEditedAtLTE applies the LTE predicate on the "last_edited_at" field.
func LastEditedAtNEQ ¶
LastEditedAtNEQ applies the NEQ predicate on the "last_edited_at" field.
func LastEditedAtNotIn ¶
LastEditedAtNotIn applies the NotIn predicate on the "last_edited_at" field.
func LastEditedAtNotNil ¶
LastEditedAtNotNil applies the NotNil predicate on the "last_edited_at" field.
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 UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.