deletedref

package
v1.65.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the deletedref type in the database.
	Label = "deleted_ref"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldRef holds the string denoting the ref field in the database.
	FieldRef = "ref"
	// FieldTombstonedAt holds the string denoting the tombstoned_at field in the database.
	FieldTombstonedAt = "tombstoned_at"
	// Table holds the table name of the deletedref in the database.
	Table = "deleted_refs"
)

Variables

Columns holds all SQL columns for deletedref fields.

Functions

func And

func And(predicates ...predicate.DeletedRef) predicate.DeletedRef

And groups predicates with the AND operator between them.

func ID

func ID(id int) predicate.DeletedRef

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.DeletedRef

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.DeletedRef

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.DeletedRef

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.DeletedRef

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.DeletedRef

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.DeletedRef

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.DeletedRef) predicate.DeletedRef

Or groups predicates with the OR operator between them.

func Ref

func Ref(v []byte) predicate.DeletedRef

Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.

func RefEQ

func RefEQ(v []byte) predicate.DeletedRef

RefEQ applies the EQ predicate on the "ref" field.

func RefGT

func RefGT(v []byte) predicate.DeletedRef

RefGT applies the GT predicate on the "ref" field.

func RefGTE

func RefGTE(v []byte) predicate.DeletedRef

RefGTE applies the GTE predicate on the "ref" field.

func RefIn

func RefIn(vs ...[]byte) predicate.DeletedRef

RefIn applies the In predicate on the "ref" field.

func RefLT

func RefLT(v []byte) predicate.DeletedRef

RefLT applies the LT predicate on the "ref" field.

func RefLTE

func RefLTE(v []byte) predicate.DeletedRef

RefLTE applies the LTE predicate on the "ref" field.

func RefNEQ

func RefNEQ(v []byte) predicate.DeletedRef

RefNEQ applies the NEQ predicate on the "ref" field.

func RefNotIn

func RefNotIn(vs ...[]byte) predicate.DeletedRef

RefNotIn applies the NotIn predicate on the "ref" field.

func TombstonedAt

func TombstonedAt(v time.Time) predicate.DeletedRef

TombstonedAt applies equality check predicate on the "tombstoned_at" field. It's identical to TombstonedAtEQ.

func TombstonedAtEQ

func TombstonedAtEQ(v time.Time) predicate.DeletedRef

TombstonedAtEQ applies the EQ predicate on the "tombstoned_at" field.

func TombstonedAtGT

func TombstonedAtGT(v time.Time) predicate.DeletedRef

TombstonedAtGT applies the GT predicate on the "tombstoned_at" field.

func TombstonedAtGTE

func TombstonedAtGTE(v time.Time) predicate.DeletedRef

TombstonedAtGTE applies the GTE predicate on the "tombstoned_at" field.

func TombstonedAtIn

func TombstonedAtIn(vs ...time.Time) predicate.DeletedRef

TombstonedAtIn applies the In predicate on the "tombstoned_at" field.

func TombstonedAtLT

func TombstonedAtLT(v time.Time) predicate.DeletedRef

TombstonedAtLT applies the LT predicate on the "tombstoned_at" field.

func TombstonedAtLTE

func TombstonedAtLTE(v time.Time) predicate.DeletedRef

TombstonedAtLTE applies the LTE predicate on the "tombstoned_at" field.

func TombstonedAtNEQ

func TombstonedAtNEQ(v time.Time) predicate.DeletedRef

TombstonedAtNEQ applies the NEQ predicate on the "tombstoned_at" field.

func TombstonedAtNotIn

func TombstonedAtNotIn(vs ...time.Time) predicate.DeletedRef

TombstonedAtNotIn applies the NotIn predicate on the "tombstoned_at" 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 DeletedRef queries.

func ByID

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

ByID orders the results by the id field.

func ByTombstonedAt

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

ByTombstonedAt orders the results by the tombstoned_at field.

Jump to

Keyboard shortcuts

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