Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.RepositoryForEnt) predicate.RepositoryForEnt
- func HasIssueForEnts() predicate.RepositoryForEnt
- func HasIssueForEntsWith(preds ...predicate.IssueForEnt) predicate.RepositoryForEnt
- func HasUserForEnts() predicate.RepositoryForEnt
- func HasUserForEntsWith(preds ...predicate.UserForEnt) predicate.RepositoryForEnt
- func ID(id int) predicate.RepositoryForEnt
- func IDEQ(id int) predicate.RepositoryForEnt
- func IDGT(id int) predicate.RepositoryForEnt
- func IDGTE(id int) predicate.RepositoryForEnt
- func IDIn(ids ...int) predicate.RepositoryForEnt
- func IDLT(id int) predicate.RepositoryForEnt
- func IDLTE(id int) predicate.RepositoryForEnt
- func IDNEQ(id int) predicate.RepositoryForEnt
- func IDNotIn(ids ...int) predicate.RepositoryForEnt
- func Not(p predicate.RepositoryForEnt) predicate.RepositoryForEnt
- func Or(predicates ...predicate.RepositoryForEnt) predicate.RepositoryForEnt
- func ValidColumn(column string) bool
- type OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIssueForEnts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIssueForEntsCount(opts ...sql.OrderTermOption) OrderOption
- func ByUserForEnts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUserForEntsCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the repositoryforent type in the database. Label = "repository_for_ent" // FieldID holds the string denoting the id field in the database. FieldID = "id" // EdgeUserForEnts holds the string denoting the user_for_ents edge name in mutations. EdgeUserForEnts = "user_for_ents" // EdgeIssueForEnts holds the string denoting the issue_for_ents edge name in mutations. EdgeIssueForEnts = "issue_for_ents" // Table holds the table name of the repositoryforent in the database. Table = "repository_for_ents" // UserForEntsTable is the table that holds the user_for_ents relation/edge. The primary key declared below. UserForEntsTable = "repository_for_ent_user_for_ents" // UserForEntsInverseTable is the table name for the UserForEnt entity. // It exists in this package in order to avoid circular dependency with the "userforent" package. UserForEntsInverseTable = "user_for_ents" // IssueForEntsTable is the table that holds the issue_for_ents relation/edge. IssueForEntsTable = "issue_for_ents" // IssueForEntsInverseTable is the table name for the IssueForEnt entity. // It exists in this package in order to avoid circular dependency with the "issueforent" package. IssueForEntsInverseTable = "issue_for_ents" // IssueForEntsColumn is the table column denoting the issue_for_ents relation/edge. IssueForEntsColumn = "repository_for_ent_issue_for_ents" )
Variables ¶
var Columns = []string{ FieldID, }
Columns holds all SQL columns for repositoryforent fields.
var ( // UserForEntsPrimaryKey and UserForEntsColumn2 are the table columns denoting the // primary key for the user_for_ents relation (M2M). UserForEntsPrimaryKey = []string{"repository_for_ent_id", "user_for_ent_id"} )
Functions ¶
func And ¶
func And(predicates ...predicate.RepositoryForEnt) predicate.RepositoryForEnt
And groups predicates with the AND operator between them.
func HasIssueForEnts ¶
func HasIssueForEnts() predicate.RepositoryForEnt
HasIssueForEnts applies the HasEdge predicate on the "issue_for_ents" edge.
func HasIssueForEntsWith ¶
func HasIssueForEntsWith(preds ...predicate.IssueForEnt) predicate.RepositoryForEnt
HasIssueForEntsWith applies the HasEdge predicate on the "issue_for_ents" edge with a given conditions (other predicates).
func HasUserForEnts ¶
func HasUserForEnts() predicate.RepositoryForEnt
HasUserForEnts applies the HasEdge predicate on the "user_for_ents" edge.
func HasUserForEntsWith ¶
func HasUserForEntsWith(preds ...predicate.UserForEnt) predicate.RepositoryForEnt
HasUserForEntsWith applies the HasEdge predicate on the "user_for_ents" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.RepositoryForEnt
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.RepositoryForEnt
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.RepositoryForEnt
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.RepositoryForEnt
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.RepositoryForEnt
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.RepositoryForEnt
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.RepositoryForEnt
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.RepositoryForEnt
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.RepositoryForEnt) predicate.RepositoryForEnt
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.RepositoryForEnt) predicate.RepositoryForEnt
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 RepositoryForEnt queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIssueForEnts ¶
func ByIssueForEnts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIssueForEnts orders the results by issue_for_ents terms.
func ByIssueForEntsCount ¶
func ByIssueForEntsCount(opts ...sql.OrderTermOption) OrderOption
ByIssueForEntsCount orders the results by issue_for_ents count.
func ByUserForEnts ¶
func ByUserForEnts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUserForEnts orders the results by user_for_ents terms.
func ByUserForEntsCount ¶
func ByUserForEntsCount(opts ...sql.OrderTermOption) OrderOption
ByUserForEntsCount orders the results by user_for_ents count.