Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.IssueForEnt) predicate.IssueForEnt
- func HasRepository() predicate.IssueForEnt
- func HasRepositoryWith(preds ...predicate.RepositoryForEnt) predicate.IssueForEnt
- func ID(id int) predicate.IssueForEnt
- func IDEQ(id int) predicate.IssueForEnt
- func IDGT(id int) predicate.IssueForEnt
- func IDGTE(id int) predicate.IssueForEnt
- func IDIn(ids ...int) predicate.IssueForEnt
- func IDLT(id int) predicate.IssueForEnt
- func IDLTE(id int) predicate.IssueForEnt
- func IDNEQ(id int) predicate.IssueForEnt
- func IDNotIn(ids ...int) predicate.IssueForEnt
- func Not(p predicate.IssueForEnt) predicate.IssueForEnt
- func Or(predicates ...predicate.IssueForEnt) predicate.IssueForEnt
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the issueforent type in the database. Label = "issue_for_ent" // FieldID holds the string denoting the id field in the database. FieldID = "id" // EdgeRepository holds the string denoting the repository edge name in mutations. EdgeRepository = "repository" // Table holds the table name of the issueforent in the database. Table = "issue_for_ents" // RepositoryTable is the table that holds the repository relation/edge. RepositoryTable = "issue_for_ents" // RepositoryInverseTable is the table name for the RepositoryForEnt entity. // It exists in this package in order to avoid circular dependency with the "repositoryforent" package. RepositoryInverseTable = "repository_for_ents" // RepositoryColumn is the table column denoting the repository relation/edge. RepositoryColumn = "repository_for_ent_issue_for_ents" )
Variables ¶
var Columns = []string{ FieldID, }
Columns holds all SQL columns for issueforent fields.
var ForeignKeys = []string{
"repository_for_ent_issue_for_ents",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "issue_for_ents" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.IssueForEnt) predicate.IssueForEnt
And groups predicates with the AND operator between them.
func HasRepository ¶
func HasRepository() predicate.IssueForEnt
HasRepository applies the HasEdge predicate on the "repository" edge.
func HasRepositoryWith ¶
func HasRepositoryWith(preds ...predicate.RepositoryForEnt) predicate.IssueForEnt
HasRepositoryWith applies the HasEdge predicate on the "repository" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.IssueForEnt
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.IssueForEnt
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.IssueForEnt
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.IssueForEnt
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.IssueForEnt
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.IssueForEnt) predicate.IssueForEnt
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.IssueForEnt) predicate.IssueForEnt
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 IssueForEnt queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByRepositoryField ¶
func ByRepositoryField(field string, opts ...sql.OrderTermOption) OrderOption
ByRepositoryField orders the results by repository field.