webformsubmissionvalue

package
v0.1.2 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 webformsubmissionvalue type in the database.
	Label = "webform_submission_value"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldSubmissionID holds the string denoting the submission_id field in the database.
	FieldSubmissionID = "submission_id"
	// FieldElementID holds the string denoting the element_id field in the database.
	FieldElementID = "element_id"
	// FieldDelta holds the string denoting the delta field in the database.
	FieldDelta = "delta"
	// FieldValue holds the string denoting the value field in the database.
	FieldValue = "value"
	// EdgeSubmission holds the string denoting the submission edge name in mutations.
	EdgeSubmission = "submission"
	// EdgeElement holds the string denoting the element edge name in mutations.
	EdgeElement = "element"
	// Table holds the table name of the webformsubmissionvalue in the database.
	Table = "webform_submission_values"
	// SubmissionTable is the table that holds the submission relation/edge.
	SubmissionTable = "webform_submission_values"
	// SubmissionInverseTable is the table name for the WebformSubmission entity.
	// It exists in this package in order to avoid circular dependency with the "webformsubmission" package.
	SubmissionInverseTable = "webform_submissions"
	// SubmissionColumn is the table column denoting the submission relation/edge.
	SubmissionColumn = "submission_id"
	// ElementTable is the table that holds the element relation/edge.
	ElementTable = "webform_submission_values"
	// ElementInverseTable is the table name for the WebformElement entity.
	// It exists in this package in order to avoid circular dependency with the "webformelement" package.
	ElementInverseTable = "webform_elements"
	// ElementColumn is the table column denoting the element relation/edge.
	ElementColumn = "element_id"
)

Variables

Columns holds all SQL columns for webformsubmissionvalue 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.WebformSubmissionValue

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

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

func ElementID

ElementID applies equality check predicate on the "element_id" field. It's identical to ElementIDEQ.

func ElementIDEQ

func ElementIDEQ(v int) predicate.WebformSubmissionValue

ElementIDEQ applies the EQ predicate on the "element_id" field.

func ElementIDIn

func ElementIDIn(vs ...int) predicate.WebformSubmissionValue

ElementIDIn applies the In predicate on the "element_id" field.

func ElementIDNEQ

func ElementIDNEQ(v int) predicate.WebformSubmissionValue

ElementIDNEQ applies the NEQ predicate on the "element_id" field.

func ElementIDNotIn

func ElementIDNotIn(vs ...int) predicate.WebformSubmissionValue

ElementIDNotIn applies the NotIn predicate on the "element_id" field.

func HasElement

func HasElement() predicate.WebformSubmissionValue

HasElement applies the HasEdge predicate on the "element" edge.

func HasElementWith

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

func HasSubmission

func HasSubmission() predicate.WebformSubmissionValue

HasSubmission applies the HasEdge predicate on the "submission" edge.

func HasSubmissionWith

func HasSubmissionWith(preds ...predicate.WebformSubmission) predicate.WebformSubmissionValue

HasSubmissionWith applies the HasEdge predicate on the "submission" 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.WebformSubmissionValue

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 SubmissionID

func SubmissionID(v int) predicate.WebformSubmissionValue

SubmissionID applies equality check predicate on the "submission_id" field. It's identical to SubmissionIDEQ.

func SubmissionIDEQ

func SubmissionIDEQ(v int) predicate.WebformSubmissionValue

SubmissionIDEQ applies the EQ predicate on the "submission_id" field.

func SubmissionIDIn

func SubmissionIDIn(vs ...int) predicate.WebformSubmissionValue

SubmissionIDIn applies the In predicate on the "submission_id" field.

func SubmissionIDNEQ

func SubmissionIDNEQ(v int) predicate.WebformSubmissionValue

SubmissionIDNEQ applies the NEQ predicate on the "submission_id" field.

func SubmissionIDNotIn

func SubmissionIDNotIn(vs ...int) predicate.WebformSubmissionValue

SubmissionIDNotIn applies the NotIn predicate on the "submission_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Value

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

func ValueContains

func ValueContains(v string) predicate.WebformSubmissionValue

ValueContains applies the Contains predicate on the "value" field.

func ValueContainsFold

func ValueContainsFold(v string) predicate.WebformSubmissionValue

ValueContainsFold applies the ContainsFold predicate on the "value" field.

func ValueEQ

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

func ValueEqualFold

func ValueEqualFold(v string) predicate.WebformSubmissionValue

ValueEqualFold applies the EqualFold predicate on the "value" field.

func ValueGT

ValueGT applies the GT predicate on the "value" field.

func ValueGTE

ValueGTE applies the GTE predicate on the "value" field.

func ValueHasPrefix

func ValueHasPrefix(v string) predicate.WebformSubmissionValue

ValueHasPrefix applies the HasPrefix predicate on the "value" field.

func ValueHasSuffix

func ValueHasSuffix(v string) predicate.WebformSubmissionValue

ValueHasSuffix applies the HasSuffix predicate on the "value" field.

func ValueIn

ValueIn applies the In predicate on the "value" field.

func ValueLT

ValueLT applies the LT predicate on the "value" field.

func ValueLTE

ValueLTE applies the LTE predicate on the "value" field.

func ValueNEQ

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

func ValueNotIn

func ValueNotIn(vs ...string) predicate.WebformSubmissionValue

ValueNotIn applies the NotIn predicate on the "value" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the WebformSubmissionValue queries.

func ByDelta

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

ByDelta orders the results by the delta field.

func ByElementField

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

ByElementField orders the results by element field.

func ByElementID

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

ByElementID orders the results by the element_id field.

func ByID

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

ByID orders the results by the id field.

func BySubmissionField

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

BySubmissionField orders the results by submission field.

func BySubmissionID

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

BySubmissionID orders the results by the submission_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