narinforeference

package
v0.10.0-rc13 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the narinforeference type in the database.
	Label = "nar_info_reference"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNarinfoID holds the string denoting the narinfo_id field in the database.
	FieldNarinfoID = "narinfo_id"
	// FieldReference holds the string denoting the reference field in the database.
	FieldReference = "reference"
	// EdgeNarinfo holds the string denoting the narinfo edge name in mutations.
	EdgeNarinfo = "narinfo"
	// Table holds the table name of the narinforeference in the database.
	Table = "narinfo_references"
	// NarinfoTable is the table that holds the narinfo relation/edge.
	NarinfoTable = "narinfo_references"
	// NarinfoInverseTable is the table name for the NarInfo entity.
	// It exists in this package in order to avoid circular dependency with the "narinfo" package.
	NarinfoInverseTable = "narinfos"
	// NarinfoColumn is the table column denoting the narinfo relation/edge.
	NarinfoColumn = "narinfo_id"
)

Variables

Columns holds all SQL columns for narinforeference fields.

View Source
var (
	// ReferenceValidator is a validator for the "reference" field. It is called by the builders before save.
	ReferenceValidator func(string) error
)

Functions

func And

And groups predicates with the AND operator between them.

func HasNarinfo

func HasNarinfo() predicate.NarInfoReference

HasNarinfo applies the HasEdge predicate on the "narinfo" edge.

func HasNarinfoWith

func HasNarinfoWith(preds ...predicate.NarInfo) predicate.NarInfoReference

HasNarinfoWith applies the HasEdge predicate on the "narinfo" 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.NarInfoReference

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

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.NarInfoReference

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.NarInfoReference

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func NarinfoID

func NarinfoID(v int) predicate.NarInfoReference

NarinfoID applies equality check predicate on the "narinfo_id" field. It's identical to NarinfoIDEQ.

func NarinfoIDEQ

func NarinfoIDEQ(v int) predicate.NarInfoReference

NarinfoIDEQ applies the EQ predicate on the "narinfo_id" field.

func NarinfoIDIn

func NarinfoIDIn(vs ...int) predicate.NarInfoReference

NarinfoIDIn applies the In predicate on the "narinfo_id" field.

func NarinfoIDNEQ

func NarinfoIDNEQ(v int) predicate.NarInfoReference

NarinfoIDNEQ applies the NEQ predicate on the "narinfo_id" field.

func NarinfoIDNotIn

func NarinfoIDNotIn(vs ...int) predicate.NarInfoReference

NarinfoIDNotIn applies the NotIn predicate on the "narinfo_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 Reference

func Reference(v string) predicate.NarInfoReference

Reference applies equality check predicate on the "reference" field. It's identical to ReferenceEQ.

func ReferenceContains

func ReferenceContains(v string) predicate.NarInfoReference

ReferenceContains applies the Contains predicate on the "reference" field.

func ReferenceContainsFold

func ReferenceContainsFold(v string) predicate.NarInfoReference

ReferenceContainsFold applies the ContainsFold predicate on the "reference" field.

func ReferenceEQ

func ReferenceEQ(v string) predicate.NarInfoReference

ReferenceEQ applies the EQ predicate on the "reference" field.

func ReferenceEqualFold

func ReferenceEqualFold(v string) predicate.NarInfoReference

ReferenceEqualFold applies the EqualFold predicate on the "reference" field.

func ReferenceGT

func ReferenceGT(v string) predicate.NarInfoReference

ReferenceGT applies the GT predicate on the "reference" field.

func ReferenceGTE

func ReferenceGTE(v string) predicate.NarInfoReference

ReferenceGTE applies the GTE predicate on the "reference" field.

func ReferenceHasPrefix

func ReferenceHasPrefix(v string) predicate.NarInfoReference

ReferenceHasPrefix applies the HasPrefix predicate on the "reference" field.

func ReferenceHasSuffix

func ReferenceHasSuffix(v string) predicate.NarInfoReference

ReferenceHasSuffix applies the HasSuffix predicate on the "reference" field.

func ReferenceIn

func ReferenceIn(vs ...string) predicate.NarInfoReference

ReferenceIn applies the In predicate on the "reference" field.

func ReferenceLT

func ReferenceLT(v string) predicate.NarInfoReference

ReferenceLT applies the LT predicate on the "reference" field.

func ReferenceLTE

func ReferenceLTE(v string) predicate.NarInfoReference

ReferenceLTE applies the LTE predicate on the "reference" field.

func ReferenceNEQ

func ReferenceNEQ(v string) predicate.NarInfoReference

ReferenceNEQ applies the NEQ predicate on the "reference" field.

func ReferenceNotIn

func ReferenceNotIn(vs ...string) predicate.NarInfoReference

ReferenceNotIn applies the NotIn predicate on the "reference" field.

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 NarInfoReference queries.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByNarinfoField

func ByNarinfoField(field string, opts ...sql.OrderTermOption) OrderOption

ByNarinfoField orders the results by narinfo field.

func ByNarinfoID

func ByNarinfoID(opts ...sql.OrderTermOption) OrderOption

ByNarinfoID orders the results by the narinfo_id field.

func ByReference

func ByReference(opts ...sql.OrderTermOption) OrderOption

ByReference orders the results by the reference field.

Jump to

Keyboard shortcuts

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