repolabel

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for repolabel fields.

View Source
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 And

func And(predicates ...predicate.RepoLabel) predicate.RepoLabel

And groups predicates with the AND operator between them.

func Color

func Color(v string) predicate.RepoLabel

Color applies equality check predicate on the "color" field. It's identical to ColorEQ.

func ColorContains

func ColorContains(v string) predicate.RepoLabel

ColorContains applies the Contains predicate on the "color" field.

func ColorContainsFold

func ColorContainsFold(v string) predicate.RepoLabel

ColorContainsFold applies the ContainsFold predicate on the "color" field.

func ColorEQ

func ColorEQ(v string) predicate.RepoLabel

ColorEQ applies the EQ predicate on the "color" field.

func ColorEqualFold

func ColorEqualFold(v string) predicate.RepoLabel

ColorEqualFold applies the EqualFold predicate on the "color" field.

func ColorGT

func ColorGT(v string) predicate.RepoLabel

ColorGT applies the GT predicate on the "color" field.

func ColorGTE

func ColorGTE(v string) predicate.RepoLabel

ColorGTE applies the GTE predicate on the "color" field.

func ColorHasPrefix

func ColorHasPrefix(v string) predicate.RepoLabel

ColorHasPrefix applies the HasPrefix predicate on the "color" field.

func ColorHasSuffix

func ColorHasSuffix(v string) predicate.RepoLabel

ColorHasSuffix applies the HasSuffix predicate on the "color" field.

func ColorIn

func ColorIn(vs ...string) predicate.RepoLabel

ColorIn applies the In predicate on the "color" field.

func ColorLT

func ColorLT(v string) predicate.RepoLabel

ColorLT applies the LT predicate on the "color" field.

func ColorLTE

func ColorLTE(v string) predicate.RepoLabel

ColorLTE applies the LTE predicate on the "color" field.

func ColorNEQ

func ColorNEQ(v string) predicate.RepoLabel

ColorNEQ applies the NEQ predicate on the "color" field.

func ColorNotIn

func ColorNotIn(vs ...string) predicate.RepoLabel

ColorNotIn applies the NotIn predicate on the "color" field.

func Description

func Description(v string) predicate.RepoLabel

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.RepoLabel

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.RepoLabel

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.RepoLabel

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.RepoLabel

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.RepoLabel

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.RepoLabel

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.RepoLabel

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.RepoLabel

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.RepoLabel

DescriptionIn applies the In predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.RepoLabel

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.RepoLabel

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.RepoLabel

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.RepoLabel

DescriptionNotIn applies the NotIn predicate on the "description" field.

func HasRepos

func HasRepos() predicate.RepoLabel

HasRepos applies the HasEdge predicate on the "repos" edge.

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 ID

func ID(id int) predicate.RepoLabel

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.RepoLabel

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.RepoLabel

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.RepoLabel

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.RepoLabel

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.RepoLabel

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.RepoLabel

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.RepoLabel

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.RepoLabel

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.RepoLabel

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.RepoLabel

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.RepoLabel

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.RepoLabel

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.RepoLabel

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.RepoLabel

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.RepoLabel

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.RepoLabel

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.RepoLabel

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.RepoLabel

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.RepoLabel

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.RepoLabel

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.RepoLabel

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.RepoLabel

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.RepoLabel) predicate.RepoLabel

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL