webformelement

package
v0.1.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the webformelement type in the database.
	Label = "webform_element"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldWebformID holds the string denoting the webform_id field in the database.
	FieldWebformID = "webform_id"
	// FieldMachineName holds the string denoting the machine_name field in the database.
	FieldMachineName = "machine_name"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldLabel holds the string denoting the label field in the database.
	FieldLabel = "label"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldRequired holds the string denoting the required field in the database.
	FieldRequired = "required"
	// FieldOptions holds the string denoting the options field in the database.
	FieldOptions = "options"
	// FieldWeight holds the string denoting the weight field in the database.
	FieldWeight = "weight"
	// FieldVisibleIfElement holds the string denoting the visible_if_element field in the database.
	FieldVisibleIfElement = "visible_if_element"
	// FieldVisibleIfValue holds the string denoting the visible_if_value field in the database.
	FieldVisibleIfValue = "visible_if_value"
	// FieldPrefillParam holds the string denoting the prefill_param field in the database.
	FieldPrefillParam = "prefill_param"
	// EdgeWebform holds the string denoting the webform edge name in mutations.
	EdgeWebform = "webform"
	// EdgeValues holds the string denoting the values edge name in mutations.
	EdgeValues = "values"
	// Table holds the table name of the webformelement in the database.
	Table = "webform_elements"
	// WebformTable is the table that holds the webform relation/edge.
	WebformTable = "webform_elements"
	// WebformInverseTable is the table name for the Webform entity.
	// It exists in this package in order to avoid circular dependency with the "webform" package.
	WebformInverseTable = "webforms"
	// WebformColumn is the table column denoting the webform relation/edge.
	WebformColumn = "webform_id"
	// ValuesTable is the table that holds the values relation/edge.
	ValuesTable = "webform_submission_values"
	// ValuesInverseTable is the table name for the WebformSubmissionValue entity.
	// It exists in this package in order to avoid circular dependency with the "webformsubmissionvalue" package.
	ValuesInverseTable = "webform_submission_values"
	// ValuesColumn is the table column denoting the values relation/edge.
	ValuesColumn = "element_id"
)

Variables

View Source
var (
	// MachineNameValidator is a validator for the "machine_name" field. It is called by the builders before save.
	MachineNameValidator func(string) error
	// TypeValidator is a validator for the "type" field. It is called by the builders before save.
	TypeValidator func(string) error
	// LabelValidator is a validator for the "label" field. It is called by the builders before save.
	LabelValidator func(string) error
	// DefaultRequired holds the default value on creation for the "required" field.
	DefaultRequired bool
	// DefaultWeight holds the default value on creation for the "weight" field.
	DefaultWeight int
	// DefaultVisibleIfElement holds the default value on creation for the "visible_if_element" field.
	DefaultVisibleIfElement string
	// VisibleIfElementValidator is a validator for the "visible_if_element" field. It is called by the builders before save.
	VisibleIfElementValidator func(string) error
	// DefaultVisibleIfValue holds the default value on creation for the "visible_if_value" field.
	DefaultVisibleIfValue string
	// VisibleIfValueValidator is a validator for the "visible_if_value" field. It is called by the builders before save.
	VisibleIfValueValidator func(string) error
	// DefaultPrefillParam holds the default value on creation for the "prefill_param" field.
	DefaultPrefillParam string
	// PrefillParamValidator is a validator for the "prefill_param" field. It is called by the builders before save.
	PrefillParamValidator func(string) error
)

Columns holds all SQL columns for webformelement fields.

Functions

func And

And groups predicates with the AND operator between them.

func Description

func Description(v string) predicate.WebformElement

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.WebformElement

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.WebformElement

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.WebformElement

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.WebformElement

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.WebformElement

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.WebformElement

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.WebformElement

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.WebformElement

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.WebformElement

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.WebformElement

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.WebformElement

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.WebformElement

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.WebformElement

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.WebformElement

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.WebformElement

DescriptionNotNil applies the NotNil predicate on the "description" field.

func HasValues

func HasValues() predicate.WebformElement

HasValues applies the HasEdge predicate on the "values" edge.

func HasValuesWith

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

func HasWebform

func HasWebform() predicate.WebformElement

HasWebform applies the HasEdge predicate on the "webform" edge.

func HasWebformWith

func HasWebformWith(preds ...predicate.Webform) predicate.WebformElement

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.WebformElement

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.WebformElement

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.WebformElement

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.WebformElement

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.WebformElement

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.WebformElement

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func LabelContains

func LabelContains(v string) predicate.WebformElement

LabelContains applies the Contains predicate on the "label" field.

func LabelContainsFold

func LabelContainsFold(v string) predicate.WebformElement

LabelContainsFold applies the ContainsFold predicate on the "label" field.

func LabelEQ

func LabelEQ(v string) predicate.WebformElement

LabelEQ applies the EQ predicate on the "label" field.

func LabelEqualFold

func LabelEqualFold(v string) predicate.WebformElement

LabelEqualFold applies the EqualFold predicate on the "label" field.

func LabelGT

func LabelGT(v string) predicate.WebformElement

LabelGT applies the GT predicate on the "label" field.

func LabelGTE

func LabelGTE(v string) predicate.WebformElement

LabelGTE applies the GTE predicate on the "label" field.

func LabelHasPrefix

func LabelHasPrefix(v string) predicate.WebformElement

LabelHasPrefix applies the HasPrefix predicate on the "label" field.

func LabelHasSuffix

func LabelHasSuffix(v string) predicate.WebformElement

LabelHasSuffix applies the HasSuffix predicate on the "label" field.

func LabelIn

func LabelIn(vs ...string) predicate.WebformElement

LabelIn applies the In predicate on the "label" field.

func LabelLT

func LabelLT(v string) predicate.WebformElement

LabelLT applies the LT predicate on the "label" field.

func LabelLTE

func LabelLTE(v string) predicate.WebformElement

LabelLTE applies the LTE predicate on the "label" field.

func LabelNEQ

func LabelNEQ(v string) predicate.WebformElement

LabelNEQ applies the NEQ predicate on the "label" field.

func LabelNotIn

func LabelNotIn(vs ...string) predicate.WebformElement

LabelNotIn applies the NotIn predicate on the "label" field.

func MachineName

func MachineName(v string) predicate.WebformElement

MachineName applies equality check predicate on the "machine_name" field. It's identical to MachineNameEQ.

func MachineNameContains

func MachineNameContains(v string) predicate.WebformElement

MachineNameContains applies the Contains predicate on the "machine_name" field.

func MachineNameContainsFold

func MachineNameContainsFold(v string) predicate.WebformElement

MachineNameContainsFold applies the ContainsFold predicate on the "machine_name" field.

func MachineNameEQ

func MachineNameEQ(v string) predicate.WebformElement

MachineNameEQ applies the EQ predicate on the "machine_name" field.

func MachineNameEqualFold

func MachineNameEqualFold(v string) predicate.WebformElement

MachineNameEqualFold applies the EqualFold predicate on the "machine_name" field.

func MachineNameGT

func MachineNameGT(v string) predicate.WebformElement

MachineNameGT applies the GT predicate on the "machine_name" field.

func MachineNameGTE

func MachineNameGTE(v string) predicate.WebformElement

MachineNameGTE applies the GTE predicate on the "machine_name" field.

func MachineNameHasPrefix

func MachineNameHasPrefix(v string) predicate.WebformElement

MachineNameHasPrefix applies the HasPrefix predicate on the "machine_name" field.

func MachineNameHasSuffix

func MachineNameHasSuffix(v string) predicate.WebformElement

MachineNameHasSuffix applies the HasSuffix predicate on the "machine_name" field.

func MachineNameIn

func MachineNameIn(vs ...string) predicate.WebformElement

MachineNameIn applies the In predicate on the "machine_name" field.

func MachineNameLT

func MachineNameLT(v string) predicate.WebformElement

MachineNameLT applies the LT predicate on the "machine_name" field.

func MachineNameLTE

func MachineNameLTE(v string) predicate.WebformElement

MachineNameLTE applies the LTE predicate on the "machine_name" field.

func MachineNameNEQ

func MachineNameNEQ(v string) predicate.WebformElement

MachineNameNEQ applies the NEQ predicate on the "machine_name" field.

func MachineNameNotIn

func MachineNameNotIn(vs ...string) predicate.WebformElement

MachineNameNotIn applies the NotIn predicate on the "machine_name" field.

func Not

Not applies the not operator on the given predicate.

func Options

func Options(v string) predicate.WebformElement

Options applies equality check predicate on the "options" field. It's identical to OptionsEQ.

func OptionsContains

func OptionsContains(v string) predicate.WebformElement

OptionsContains applies the Contains predicate on the "options" field.

func OptionsContainsFold

func OptionsContainsFold(v string) predicate.WebformElement

OptionsContainsFold applies the ContainsFold predicate on the "options" field.

func OptionsEQ

func OptionsEQ(v string) predicate.WebformElement

OptionsEQ applies the EQ predicate on the "options" field.

func OptionsEqualFold

func OptionsEqualFold(v string) predicate.WebformElement

OptionsEqualFold applies the EqualFold predicate on the "options" field.

func OptionsGT

func OptionsGT(v string) predicate.WebformElement

OptionsGT applies the GT predicate on the "options" field.

func OptionsGTE

func OptionsGTE(v string) predicate.WebformElement

OptionsGTE applies the GTE predicate on the "options" field.

func OptionsHasPrefix

func OptionsHasPrefix(v string) predicate.WebformElement

OptionsHasPrefix applies the HasPrefix predicate on the "options" field.

func OptionsHasSuffix

func OptionsHasSuffix(v string) predicate.WebformElement

OptionsHasSuffix applies the HasSuffix predicate on the "options" field.

func OptionsIn

func OptionsIn(vs ...string) predicate.WebformElement

OptionsIn applies the In predicate on the "options" field.

func OptionsIsNil

func OptionsIsNil() predicate.WebformElement

OptionsIsNil applies the IsNil predicate on the "options" field.

func OptionsLT

func OptionsLT(v string) predicate.WebformElement

OptionsLT applies the LT predicate on the "options" field.

func OptionsLTE

func OptionsLTE(v string) predicate.WebformElement

OptionsLTE applies the LTE predicate on the "options" field.

func OptionsNEQ

func OptionsNEQ(v string) predicate.WebformElement

OptionsNEQ applies the NEQ predicate on the "options" field.

func OptionsNotIn

func OptionsNotIn(vs ...string) predicate.WebformElement

OptionsNotIn applies the NotIn predicate on the "options" field.

func OptionsNotNil

func OptionsNotNil() predicate.WebformElement

OptionsNotNil applies the NotNil predicate on the "options" field.

func Or

Or groups predicates with the OR operator between them.

func PrefillParam

func PrefillParam(v string) predicate.WebformElement

PrefillParam applies equality check predicate on the "prefill_param" field. It's identical to PrefillParamEQ.

func PrefillParamContains

func PrefillParamContains(v string) predicate.WebformElement

PrefillParamContains applies the Contains predicate on the "prefill_param" field.

func PrefillParamContainsFold

func PrefillParamContainsFold(v string) predicate.WebformElement

PrefillParamContainsFold applies the ContainsFold predicate on the "prefill_param" field.

func PrefillParamEQ

func PrefillParamEQ(v string) predicate.WebformElement

PrefillParamEQ applies the EQ predicate on the "prefill_param" field.

func PrefillParamEqualFold

func PrefillParamEqualFold(v string) predicate.WebformElement

PrefillParamEqualFold applies the EqualFold predicate on the "prefill_param" field.

func PrefillParamGT

func PrefillParamGT(v string) predicate.WebformElement

PrefillParamGT applies the GT predicate on the "prefill_param" field.

func PrefillParamGTE

func PrefillParamGTE(v string) predicate.WebformElement

PrefillParamGTE applies the GTE predicate on the "prefill_param" field.

func PrefillParamHasPrefix

func PrefillParamHasPrefix(v string) predicate.WebformElement

PrefillParamHasPrefix applies the HasPrefix predicate on the "prefill_param" field.

func PrefillParamHasSuffix

func PrefillParamHasSuffix(v string) predicate.WebformElement

PrefillParamHasSuffix applies the HasSuffix predicate on the "prefill_param" field.

func PrefillParamIn

func PrefillParamIn(vs ...string) predicate.WebformElement

PrefillParamIn applies the In predicate on the "prefill_param" field.

func PrefillParamLT

func PrefillParamLT(v string) predicate.WebformElement

PrefillParamLT applies the LT predicate on the "prefill_param" field.

func PrefillParamLTE

func PrefillParamLTE(v string) predicate.WebformElement

PrefillParamLTE applies the LTE predicate on the "prefill_param" field.

func PrefillParamNEQ

func PrefillParamNEQ(v string) predicate.WebformElement

PrefillParamNEQ applies the NEQ predicate on the "prefill_param" field.

func PrefillParamNotIn

func PrefillParamNotIn(vs ...string) predicate.WebformElement

PrefillParamNotIn applies the NotIn predicate on the "prefill_param" field.

func Required

func Required(v bool) predicate.WebformElement

Required applies equality check predicate on the "required" field. It's identical to RequiredEQ.

func RequiredEQ

func RequiredEQ(v bool) predicate.WebformElement

RequiredEQ applies the EQ predicate on the "required" field.

func RequiredNEQ

func RequiredNEQ(v bool) predicate.WebformElement

RequiredNEQ applies the NEQ predicate on the "required" field.

func Type

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.WebformElement

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.WebformElement

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

TypeEQ applies the EQ predicate on the "type" field.

func TypeEqualFold

func TypeEqualFold(v string) predicate.WebformElement

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v string) predicate.WebformElement

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.WebformElement

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.WebformElement

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...string) predicate.WebformElement

TypeIn applies the In predicate on the "type" field.

func TypeLT

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v string) predicate.WebformElement

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v string) predicate.WebformElement

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...string) predicate.WebformElement

TypeNotIn applies the NotIn predicate on the "type" field.

func ValidColumn

func ValidColumn(column string) bool

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

func VisibleIfElement

func VisibleIfElement(v string) predicate.WebformElement

VisibleIfElement applies equality check predicate on the "visible_if_element" field. It's identical to VisibleIfElementEQ.

func VisibleIfElementContains

func VisibleIfElementContains(v string) predicate.WebformElement

VisibleIfElementContains applies the Contains predicate on the "visible_if_element" field.

func VisibleIfElementContainsFold

func VisibleIfElementContainsFold(v string) predicate.WebformElement

VisibleIfElementContainsFold applies the ContainsFold predicate on the "visible_if_element" field.

func VisibleIfElementEQ

func VisibleIfElementEQ(v string) predicate.WebformElement

VisibleIfElementEQ applies the EQ predicate on the "visible_if_element" field.

func VisibleIfElementEqualFold

func VisibleIfElementEqualFold(v string) predicate.WebformElement

VisibleIfElementEqualFold applies the EqualFold predicate on the "visible_if_element" field.

func VisibleIfElementGT

func VisibleIfElementGT(v string) predicate.WebformElement

VisibleIfElementGT applies the GT predicate on the "visible_if_element" field.

func VisibleIfElementGTE

func VisibleIfElementGTE(v string) predicate.WebformElement

VisibleIfElementGTE applies the GTE predicate on the "visible_if_element" field.

func VisibleIfElementHasPrefix

func VisibleIfElementHasPrefix(v string) predicate.WebformElement

VisibleIfElementHasPrefix applies the HasPrefix predicate on the "visible_if_element" field.

func VisibleIfElementHasSuffix

func VisibleIfElementHasSuffix(v string) predicate.WebformElement

VisibleIfElementHasSuffix applies the HasSuffix predicate on the "visible_if_element" field.

func VisibleIfElementIn

func VisibleIfElementIn(vs ...string) predicate.WebformElement

VisibleIfElementIn applies the In predicate on the "visible_if_element" field.

func VisibleIfElementLT

func VisibleIfElementLT(v string) predicate.WebformElement

VisibleIfElementLT applies the LT predicate on the "visible_if_element" field.

func VisibleIfElementLTE

func VisibleIfElementLTE(v string) predicate.WebformElement

VisibleIfElementLTE applies the LTE predicate on the "visible_if_element" field.

func VisibleIfElementNEQ

func VisibleIfElementNEQ(v string) predicate.WebformElement

VisibleIfElementNEQ applies the NEQ predicate on the "visible_if_element" field.

func VisibleIfElementNotIn

func VisibleIfElementNotIn(vs ...string) predicate.WebformElement

VisibleIfElementNotIn applies the NotIn predicate on the "visible_if_element" field.

func VisibleIfValue

func VisibleIfValue(v string) predicate.WebformElement

VisibleIfValue applies equality check predicate on the "visible_if_value" field. It's identical to VisibleIfValueEQ.

func VisibleIfValueContains

func VisibleIfValueContains(v string) predicate.WebformElement

VisibleIfValueContains applies the Contains predicate on the "visible_if_value" field.

func VisibleIfValueContainsFold

func VisibleIfValueContainsFold(v string) predicate.WebformElement

VisibleIfValueContainsFold applies the ContainsFold predicate on the "visible_if_value" field.

func VisibleIfValueEQ

func VisibleIfValueEQ(v string) predicate.WebformElement

VisibleIfValueEQ applies the EQ predicate on the "visible_if_value" field.

func VisibleIfValueEqualFold

func VisibleIfValueEqualFold(v string) predicate.WebformElement

VisibleIfValueEqualFold applies the EqualFold predicate on the "visible_if_value" field.

func VisibleIfValueGT

func VisibleIfValueGT(v string) predicate.WebformElement

VisibleIfValueGT applies the GT predicate on the "visible_if_value" field.

func VisibleIfValueGTE

func VisibleIfValueGTE(v string) predicate.WebformElement

VisibleIfValueGTE applies the GTE predicate on the "visible_if_value" field.

func VisibleIfValueHasPrefix

func VisibleIfValueHasPrefix(v string) predicate.WebformElement

VisibleIfValueHasPrefix applies the HasPrefix predicate on the "visible_if_value" field.

func VisibleIfValueHasSuffix

func VisibleIfValueHasSuffix(v string) predicate.WebformElement

VisibleIfValueHasSuffix applies the HasSuffix predicate on the "visible_if_value" field.

func VisibleIfValueIn

func VisibleIfValueIn(vs ...string) predicate.WebformElement

VisibleIfValueIn applies the In predicate on the "visible_if_value" field.

func VisibleIfValueLT

func VisibleIfValueLT(v string) predicate.WebformElement

VisibleIfValueLT applies the LT predicate on the "visible_if_value" field.

func VisibleIfValueLTE

func VisibleIfValueLTE(v string) predicate.WebformElement

VisibleIfValueLTE applies the LTE predicate on the "visible_if_value" field.

func VisibleIfValueNEQ

func VisibleIfValueNEQ(v string) predicate.WebformElement

VisibleIfValueNEQ applies the NEQ predicate on the "visible_if_value" field.

func VisibleIfValueNotIn

func VisibleIfValueNotIn(vs ...string) predicate.WebformElement

VisibleIfValueNotIn applies the NotIn predicate on the "visible_if_value" field.

func WebformID

func WebformID(v int) predicate.WebformElement

WebformID applies equality check predicate on the "webform_id" field. It's identical to WebformIDEQ.

func WebformIDEQ

func WebformIDEQ(v int) predicate.WebformElement

WebformIDEQ applies the EQ predicate on the "webform_id" field.

func WebformIDIn

func WebformIDIn(vs ...int) predicate.WebformElement

WebformIDIn applies the In predicate on the "webform_id" field.

func WebformIDNEQ

func WebformIDNEQ(v int) predicate.WebformElement

WebformIDNEQ applies the NEQ predicate on the "webform_id" field.

func WebformIDNotIn

func WebformIDNotIn(vs ...int) predicate.WebformElement

WebformIDNotIn applies the NotIn predicate on the "webform_id" field.

func Weight

func Weight(v int) predicate.WebformElement

Weight applies equality check predicate on the "weight" field. It's identical to WeightEQ.

func WeightEQ

func WeightEQ(v int) predicate.WebformElement

WeightEQ applies the EQ predicate on the "weight" field.

func WeightGT

func WeightGT(v int) predicate.WebformElement

WeightGT applies the GT predicate on the "weight" field.

func WeightGTE

func WeightGTE(v int) predicate.WebformElement

WeightGTE applies the GTE predicate on the "weight" field.

func WeightIn

func WeightIn(vs ...int) predicate.WebformElement

WeightIn applies the In predicate on the "weight" field.

func WeightLT

func WeightLT(v int) predicate.WebformElement

WeightLT applies the LT predicate on the "weight" field.

func WeightLTE

func WeightLTE(v int) predicate.WebformElement

WeightLTE applies the LTE predicate on the "weight" field.

func WeightNEQ

func WeightNEQ(v int) predicate.WebformElement

WeightNEQ applies the NEQ predicate on the "weight" field.

func WeightNotIn

func WeightNotIn(vs ...int) predicate.WebformElement

WeightNotIn applies the NotIn predicate on the "weight" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the WebformElement queries.

func ByDescription

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

ByDescription orders the results by the description field.

func ByID

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

ByID orders the results by the id field.

func ByLabel

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

ByLabel orders the results by the label field.

func ByMachineName

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

ByMachineName orders the results by the machine_name field.

func ByOptions

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

ByOptions orders the results by the options field.

func ByPrefillParam

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

ByPrefillParam orders the results by the prefill_param field.

func ByRequired

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

ByRequired orders the results by the required field.

func ByType

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

ByType orders the results by the type field.

func ByValues

func ByValues(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByValues orders the results by values terms.

func ByValuesCount

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

ByValuesCount orders the results by values count.

func ByVisibleIfElement

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

ByVisibleIfElement orders the results by the visible_if_element field.

func ByVisibleIfValue

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

ByVisibleIfValue orders the results by the visible_if_value field.

func ByWebformField

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

ByWebformField orders the results by webform field.

func ByWebformID

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

ByWebformID orders the results by the webform_id field.

func ByWeight

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

ByWeight orders the results by the weight field.

Jump to

Keyboard shortcuts

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