Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.RepoLabel) predicate.RepoLabel
- func Color(v string) predicate.RepoLabel
- func ColorContains(v string) predicate.RepoLabel
- func ColorContainsFold(v string) predicate.RepoLabel
- func ColorEQ(v string) predicate.RepoLabel
- func ColorEqualFold(v string) predicate.RepoLabel
- func ColorGT(v string) predicate.RepoLabel
- func ColorGTE(v string) predicate.RepoLabel
- func ColorHasPrefix(v string) predicate.RepoLabel
- func ColorHasSuffix(v string) predicate.RepoLabel
- func ColorIn(vs ...string) predicate.RepoLabel
- func ColorLT(v string) predicate.RepoLabel
- func ColorLTE(v string) predicate.RepoLabel
- func ColorNEQ(v string) predicate.RepoLabel
- func ColorNotIn(vs ...string) predicate.RepoLabel
- func Description(v string) predicate.RepoLabel
- func DescriptionContains(v string) predicate.RepoLabel
- func DescriptionContainsFold(v string) predicate.RepoLabel
- func DescriptionEQ(v string) predicate.RepoLabel
- func DescriptionEqualFold(v string) predicate.RepoLabel
- func DescriptionGT(v string) predicate.RepoLabel
- func DescriptionGTE(v string) predicate.RepoLabel
- func DescriptionHasPrefix(v string) predicate.RepoLabel
- func DescriptionHasSuffix(v string) predicate.RepoLabel
- func DescriptionIn(vs ...string) predicate.RepoLabel
- func DescriptionLT(v string) predicate.RepoLabel
- func DescriptionLTE(v string) predicate.RepoLabel
- func DescriptionNEQ(v string) predicate.RepoLabel
- func DescriptionNotIn(vs ...string) predicate.RepoLabel
- func HasRepos() predicate.RepoLabel
- func HasReposWith(preds ...predicate.Repository) predicate.RepoLabel
- func ID(id int) predicate.RepoLabel
- func IDEQ(id int) predicate.RepoLabel
- func IDGT(id int) predicate.RepoLabel
- func IDGTE(id int) predicate.RepoLabel
- func IDIn(ids ...int) predicate.RepoLabel
- func IDLT(id int) predicate.RepoLabel
- func IDLTE(id int) predicate.RepoLabel
- func IDNEQ(id int) predicate.RepoLabel
- func IDNotIn(ids ...int) predicate.RepoLabel
- func Name(v string) predicate.RepoLabel
- func NameContains(v string) predicate.RepoLabel
- func NameContainsFold(v string) predicate.RepoLabel
- func NameEQ(v string) predicate.RepoLabel
- func NameEqualFold(v string) predicate.RepoLabel
- func NameGT(v string) predicate.RepoLabel
- func NameGTE(v string) predicate.RepoLabel
- func NameHasPrefix(v string) predicate.RepoLabel
- func NameHasSuffix(v string) predicate.RepoLabel
- func NameIn(vs ...string) predicate.RepoLabel
- func NameLT(v string) predicate.RepoLabel
- func NameLTE(v string) predicate.RepoLabel
- func NameNEQ(v string) predicate.RepoLabel
- func NameNotIn(vs ...string) predicate.RepoLabel
- func Not(p predicate.RepoLabel) predicate.RepoLabel
- func Or(predicates ...predicate.RepoLabel) predicate.RepoLabel
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the repolabel type in the database. Label = "repo_label" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldColor holds the string denoting the color field in the database. FieldColor = "color" // EdgeRepos holds the string denoting the repos edge name in mutations. EdgeRepos = "repos" // Table holds the table name of the repolabel in the database. Table = "repo_labels" // ReposTable is the table that holds the repos relation/edge. The primary key declared below. ReposTable = "repository_labels" // ReposInverseTable is the table name for the Repository entity. // It exists in this package in order to avoid circular dependency with the "repository" package. ReposInverseTable = "repositories" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldDescription, FieldColor, }
Columns holds all SQL columns for repolabel fields.
var ( // ReposPrimaryKey and ReposColumn2 are the table columns denoting the // primary key for the repos relation (M2M). ReposPrimaryKey = []string{"repository_id", "repo_label_id"} )
Functions ¶
func Color ¶
Color applies equality check predicate on the "color" field. It's identical to ColorEQ.
func ColorContains ¶
ColorContains applies the Contains predicate on the "color" field.
func ColorContainsFold ¶
ColorContainsFold applies the ContainsFold predicate on the "color" field.
func ColorEqualFold ¶
ColorEqualFold applies the EqualFold predicate on the "color" field.
func ColorHasPrefix ¶
ColorHasPrefix applies the HasPrefix predicate on the "color" field.
func ColorHasSuffix ¶
ColorHasSuffix applies the HasSuffix predicate on the "color" field.
func ColorNotIn ¶
ColorNotIn applies the NotIn predicate on the "color" 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 HasReposWith ¶
func HasReposWith(preds ...predicate.Repository) predicate.RepoLabel
HasReposWith applies the HasEdge predicate on the "repos" edge with a given conditions (other predicates).
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.