repositoryforent

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

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

View Source
var Columns = []string{
	FieldID,
}

Columns holds all SQL columns for repositoryforent fields.

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

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 ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

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

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

Not applies the not operator on the given predicate.

func Or

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

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

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