fieldvaluereferencemulti

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the fieldvaluereferencemulti type in the database.
	Label = "field_value_reference_multi"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNodeID holds the string denoting the node_id field in the database.
	FieldNodeID = "node_id"
	// FieldFieldID holds the string denoting the field_id field in the database.
	FieldFieldID = "field_id"
	// FieldTargetNodeID holds the string denoting the target_node_id field in the database.
	FieldTargetNodeID = "target_node_id"
	// FieldDelta holds the string denoting the delta field in the database.
	FieldDelta = "delta"
	// EdgeTargetNode holds the string denoting the target_node edge name in mutations.
	EdgeTargetNode = "target_node"
	// EdgeNode holds the string denoting the node edge name in mutations.
	EdgeNode = "node"
	// EdgeFieldStorage holds the string denoting the field_storage edge name in mutations.
	EdgeFieldStorage = "field_storage"
	// Table holds the table name of the fieldvaluereferencemulti in the database.
	Table = "field_value_reference_multi"
	// TargetNodeTable is the table that holds the target_node relation/edge.
	TargetNodeTable = "field_value_reference_multi"
	// TargetNodeInverseTable is the table name for the Node entity.
	// It exists in this package in order to avoid circular dependency with the "node" package.
	TargetNodeInverseTable = "nodes"
	// TargetNodeColumn is the table column denoting the target_node relation/edge.
	TargetNodeColumn = "target_node_id"
	// NodeTable is the table that holds the node relation/edge.
	NodeTable = "field_value_reference_multi"
	// NodeInverseTable is the table name for the Node entity.
	// It exists in this package in order to avoid circular dependency with the "node" package.
	NodeInverseTable = "nodes"
	// NodeColumn is the table column denoting the node relation/edge.
	NodeColumn = "node_id"
	// FieldStorageTable is the table that holds the field_storage relation/edge.
	FieldStorageTable = "field_value_reference_multi"
	// FieldStorageInverseTable is the table name for the FieldStorageDef entity.
	// It exists in this package in order to avoid circular dependency with the "fieldstoragedef" package.
	FieldStorageInverseTable = "field_storages"
	// FieldStorageColumn is the table column denoting the field_storage relation/edge.
	FieldStorageColumn = "field_id"
)

Variables

Columns holds all SQL columns for fieldvaluereferencemulti fields.

View Source
var (
	// DefaultDelta holds the default value on creation for the "delta" field.
	DefaultDelta int
)

Functions

func And

And groups predicates with the AND operator between them.

func Delta

Delta applies equality check predicate on the "delta" field. It's identical to DeltaEQ.

func DeltaEQ

DeltaEQ applies the EQ predicate on the "delta" field.

func DeltaGT

DeltaGT applies the GT predicate on the "delta" field.

func DeltaGTE

DeltaGTE applies the GTE predicate on the "delta" field.

func DeltaIn

func DeltaIn(vs ...int) predicate.FieldValueReferenceMulti

DeltaIn applies the In predicate on the "delta" field.

func DeltaLT

DeltaLT applies the LT predicate on the "delta" field.

func DeltaLTE

DeltaLTE applies the LTE predicate on the "delta" field.

func DeltaNEQ

DeltaNEQ applies the NEQ predicate on the "delta" field.

func DeltaNotIn

func DeltaNotIn(vs ...int) predicate.FieldValueReferenceMulti

DeltaNotIn applies the NotIn predicate on the "delta" field.

func FieldIDEQ

FieldIDEQ applies the EQ predicate on the "field_id" field.

func FieldIDIn

func FieldIDIn(vs ...int) predicate.FieldValueReferenceMulti

FieldIDIn applies the In predicate on the "field_id" field.

func FieldIDNEQ

FieldIDNEQ applies the NEQ predicate on the "field_id" field.

func FieldIDNotIn

func FieldIDNotIn(vs ...int) predicate.FieldValueReferenceMulti

FieldIDNotIn applies the NotIn predicate on the "field_id" field.

func HasFieldStorage

func HasFieldStorage() predicate.FieldValueReferenceMulti

HasFieldStorage applies the HasEdge predicate on the "field_storage" edge.

func HasFieldStorageWith

func HasFieldStorageWith(preds ...predicate.FieldStorageDef) predicate.FieldValueReferenceMulti

HasFieldStorageWith applies the HasEdge predicate on the "field_storage" edge with a given conditions (other predicates).

func HasNode

HasNode applies the HasEdge predicate on the "node" edge.

func HasNodeWith

func HasNodeWith(preds ...predicate.Node) predicate.FieldValueReferenceMulti

HasNodeWith applies the HasEdge predicate on the "node" edge with a given conditions (other predicates).

func HasTargetNode

func HasTargetNode() predicate.FieldValueReferenceMulti

HasTargetNode applies the HasEdge predicate on the "target_node" edge.

func HasTargetNodeWith

func HasTargetNodeWith(preds ...predicate.Node) predicate.FieldValueReferenceMulti

HasTargetNodeWith applies the HasEdge predicate on the "target_node" 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

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func NodeID

NodeID applies equality check predicate on the "node_id" field. It's identical to NodeIDEQ.

func NodeIDEQ

NodeIDEQ applies the EQ predicate on the "node_id" field.

func NodeIDIn

func NodeIDIn(vs ...int) predicate.FieldValueReferenceMulti

NodeIDIn applies the In predicate on the "node_id" field.

func NodeIDNEQ

NodeIDNEQ applies the NEQ predicate on the "node_id" field.

func NodeIDNotIn

func NodeIDNotIn(vs ...int) predicate.FieldValueReferenceMulti

NodeIDNotIn applies the NotIn predicate on the "node_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 TargetNodeID

func TargetNodeID(v int) predicate.FieldValueReferenceMulti

TargetNodeID applies equality check predicate on the "target_node_id" field. It's identical to TargetNodeIDEQ.

func TargetNodeIDEQ

func TargetNodeIDEQ(v int) predicate.FieldValueReferenceMulti

TargetNodeIDEQ applies the EQ predicate on the "target_node_id" field.

func TargetNodeIDIn

func TargetNodeIDIn(vs ...int) predicate.FieldValueReferenceMulti

TargetNodeIDIn applies the In predicate on the "target_node_id" field.

func TargetNodeIDNEQ

func TargetNodeIDNEQ(v int) predicate.FieldValueReferenceMulti

TargetNodeIDNEQ applies the NEQ predicate on the "target_node_id" field.

func TargetNodeIDNotIn

func TargetNodeIDNotIn(vs ...int) predicate.FieldValueReferenceMulti

TargetNodeIDNotIn applies the NotIn predicate on the "target_node_id" 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 FieldValueReferenceMulti queries.

func ByDelta

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

ByDelta orders the results by the delta field.

func ByFieldID

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

ByFieldID orders the results by the field_id field.

func ByFieldStorageField

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

ByFieldStorageField orders the results by field_storage field.

func ByID

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

ByID orders the results by the id field.

func ByNodeField

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

ByNodeField orders the results by node field.

func ByNodeID

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

ByNodeID orders the results by the node_id field.

func ByTargetNodeField

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

ByTargetNodeField orders the results by target_node field.

func ByTargetNodeID

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

ByTargetNodeID orders the results by the target_node_id field.

Jump to

Keyboard shortcuts

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