fieldvaluebool

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the fieldvaluebool type in the database.
	Label = "field_value_bool"
	// 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"
	// FieldValue holds the string denoting the value field in the database.
	FieldValue = "value"
	// 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 fieldvaluebool in the database.
	Table = "field_value_bool"
	// NodeTable is the table that holds the node relation/edge.
	NodeTable = "field_value_bool"
	// 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_bool"
	// 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 fieldvaluebool fields.

View Source
var (
	// DefaultValue holds the default value on creation for the "value" field.
	DefaultValue bool
)

Functions

func And

And groups predicates with the AND operator between them.

func FieldIDEQ

func FieldIDEQ(v int) predicate.FieldValueBool

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

func FieldIDIn

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

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

func FieldIDNEQ

func FieldIDNEQ(v int) predicate.FieldValueBool

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

func FieldIDNotIn

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

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

func HasFieldStorage

func HasFieldStorage() predicate.FieldValueBool

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

func HasFieldStorageWith

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

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

func HasNode

func HasNode() predicate.FieldValueBool

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

func HasNodeWith

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

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.FieldValueBool

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.FieldValueBool

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.FieldValueBool

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.FieldValueBool

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.FieldValueBool

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.FieldValueBool

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func NodeID

func NodeID(v int) predicate.FieldValueBool

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

func NodeIDEQ

func NodeIDEQ(v int) predicate.FieldValueBool

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

func NodeIDIn

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

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

func NodeIDNEQ

func NodeIDNEQ(v int) predicate.FieldValueBool

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

func NodeIDNotIn

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

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 ValidColumn

func ValidColumn(column string) bool

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

func Value

func Value(v bool) predicate.FieldValueBool

Value applies equality check predicate on the "value" field. It's identical to ValueEQ.

func ValueEQ

func ValueEQ(v bool) predicate.FieldValueBool

ValueEQ applies the EQ predicate on the "value" field.

func ValueNEQ

func ValueNEQ(v bool) predicate.FieldValueBool

ValueNEQ applies the NEQ predicate on the "value" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the FieldValueBool queries.

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 ByValue

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

ByValue orders the results by the value field.

Jump to

Keyboard shortcuts

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