webform

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the webform type in the database.
	Label = "webform"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNid holds the string denoting the nid field in the database.
	FieldNid = "nid"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldConfirmation holds the string denoting the confirmation field in the database.
	FieldConfirmation = "confirmation"
	// FieldConfirmationURL holds the string denoting the confirmation_url field in the database.
	FieldConfirmationURL = "confirmation_url"
	// FieldSubmitLabel holds the string denoting the submit_label field in the database.
	FieldSubmitLabel = "submit_label"
	// FieldClosed holds the string denoting the closed field in the database.
	FieldClosed = "closed"
	// FieldNotifyEmail holds the string denoting the notify_email field in the database.
	FieldNotifyEmail = "notify_email"
	// FieldLimitPerUser holds the string denoting the limit_per_user field in the database.
	FieldLimitPerUser = "limit_per_user"
	// FieldMaxSubmissions holds the string denoting the max_submissions field in the database.
	FieldMaxSubmissions = "max_submissions"
	// FieldClosesAt holds the string denoting the closes_at field in the database.
	FieldClosesAt = "closes_at"
	// EdgeNode holds the string denoting the node edge name in mutations.
	EdgeNode = "node"
	// EdgeElements holds the string denoting the elements edge name in mutations.
	EdgeElements = "elements"
	// EdgeSubmissions holds the string denoting the submissions edge name in mutations.
	EdgeSubmissions = "submissions"
	// Table holds the table name of the webform in the database.
	Table = "webforms"
	// NodeTable is the table that holds the node relation/edge.
	NodeTable = "webforms"
	// 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 = "nid"
	// ElementsTable is the table that holds the elements relation/edge.
	ElementsTable = "webform_elements"
	// ElementsInverseTable is the table name for the WebformElement entity.
	// It exists in this package in order to avoid circular dependency with the "webformelement" package.
	ElementsInverseTable = "webform_elements"
	// ElementsColumn is the table column denoting the elements relation/edge.
	ElementsColumn = "webform_id"
	// SubmissionsTable is the table that holds the submissions relation/edge.
	SubmissionsTable = "webform_submissions"
	// SubmissionsInverseTable is the table name for the WebformSubmission entity.
	// It exists in this package in order to avoid circular dependency with the "webformsubmission" package.
	SubmissionsInverseTable = "webform_submissions"
	// SubmissionsColumn is the table column denoting the submissions relation/edge.
	SubmissionsColumn = "webform_id"
)

Variables

View Source
var (
	// DefaultConfirmationURL holds the default value on creation for the "confirmation_url" field.
	DefaultConfirmationURL string
	// ConfirmationURLValidator is a validator for the "confirmation_url" field. It is called by the builders before save.
	ConfirmationURLValidator func(string) error
	// DefaultSubmitLabel holds the default value on creation for the "submit_label" field.
	DefaultSubmitLabel string
	// SubmitLabelValidator is a validator for the "submit_label" field. It is called by the builders before save.
	SubmitLabelValidator func(string) error
	// DefaultClosed holds the default value on creation for the "closed" field.
	DefaultClosed bool
	// DefaultNotifyEmail holds the default value on creation for the "notify_email" field.
	DefaultNotifyEmail string
	// NotifyEmailValidator is a validator for the "notify_email" field. It is called by the builders before save.
	NotifyEmailValidator func(string) error
	// DefaultLimitPerUser holds the default value on creation for the "limit_per_user" field.
	DefaultLimitPerUser bool
	// DefaultMaxSubmissions holds the default value on creation for the "max_submissions" field.
	DefaultMaxSubmissions int
)

Columns holds all SQL columns for webform fields.

Functions

func And

func And(predicates ...predicate.Webform) predicate.Webform

And groups predicates with the AND operator between them.

func Closed

func Closed(v bool) predicate.Webform

Closed applies equality check predicate on the "closed" field. It's identical to ClosedEQ.

func ClosedEQ

func ClosedEQ(v bool) predicate.Webform

ClosedEQ applies the EQ predicate on the "closed" field.

func ClosedNEQ

func ClosedNEQ(v bool) predicate.Webform

ClosedNEQ applies the NEQ predicate on the "closed" field.

func ClosesAt

func ClosesAt(v time.Time) predicate.Webform

ClosesAt applies equality check predicate on the "closes_at" field. It's identical to ClosesAtEQ.

func ClosesAtEQ

func ClosesAtEQ(v time.Time) predicate.Webform

ClosesAtEQ applies the EQ predicate on the "closes_at" field.

func ClosesAtGT

func ClosesAtGT(v time.Time) predicate.Webform

ClosesAtGT applies the GT predicate on the "closes_at" field.

func ClosesAtGTE

func ClosesAtGTE(v time.Time) predicate.Webform

ClosesAtGTE applies the GTE predicate on the "closes_at" field.

func ClosesAtIn

func ClosesAtIn(vs ...time.Time) predicate.Webform

ClosesAtIn applies the In predicate on the "closes_at" field.

func ClosesAtIsNil

func ClosesAtIsNil() predicate.Webform

ClosesAtIsNil applies the IsNil predicate on the "closes_at" field.

func ClosesAtLT

func ClosesAtLT(v time.Time) predicate.Webform

ClosesAtLT applies the LT predicate on the "closes_at" field.

func ClosesAtLTE

func ClosesAtLTE(v time.Time) predicate.Webform

ClosesAtLTE applies the LTE predicate on the "closes_at" field.

func ClosesAtNEQ

func ClosesAtNEQ(v time.Time) predicate.Webform

ClosesAtNEQ applies the NEQ predicate on the "closes_at" field.

func ClosesAtNotIn

func ClosesAtNotIn(vs ...time.Time) predicate.Webform

ClosesAtNotIn applies the NotIn predicate on the "closes_at" field.

func ClosesAtNotNil

func ClosesAtNotNil() predicate.Webform

ClosesAtNotNil applies the NotNil predicate on the "closes_at" field.

func Confirmation

func Confirmation(v string) predicate.Webform

Confirmation applies equality check predicate on the "confirmation" field. It's identical to ConfirmationEQ.

func ConfirmationContains

func ConfirmationContains(v string) predicate.Webform

ConfirmationContains applies the Contains predicate on the "confirmation" field.

func ConfirmationContainsFold

func ConfirmationContainsFold(v string) predicate.Webform

ConfirmationContainsFold applies the ContainsFold predicate on the "confirmation" field.

func ConfirmationEQ

func ConfirmationEQ(v string) predicate.Webform

ConfirmationEQ applies the EQ predicate on the "confirmation" field.

func ConfirmationEqualFold

func ConfirmationEqualFold(v string) predicate.Webform

ConfirmationEqualFold applies the EqualFold predicate on the "confirmation" field.

func ConfirmationGT

func ConfirmationGT(v string) predicate.Webform

ConfirmationGT applies the GT predicate on the "confirmation" field.

func ConfirmationGTE

func ConfirmationGTE(v string) predicate.Webform

ConfirmationGTE applies the GTE predicate on the "confirmation" field.

func ConfirmationHasPrefix

func ConfirmationHasPrefix(v string) predicate.Webform

ConfirmationHasPrefix applies the HasPrefix predicate on the "confirmation" field.

func ConfirmationHasSuffix

func ConfirmationHasSuffix(v string) predicate.Webform

ConfirmationHasSuffix applies the HasSuffix predicate on the "confirmation" field.

func ConfirmationIn

func ConfirmationIn(vs ...string) predicate.Webform

ConfirmationIn applies the In predicate on the "confirmation" field.

func ConfirmationIsNil

func ConfirmationIsNil() predicate.Webform

ConfirmationIsNil applies the IsNil predicate on the "confirmation" field.

func ConfirmationLT

func ConfirmationLT(v string) predicate.Webform

ConfirmationLT applies the LT predicate on the "confirmation" field.

func ConfirmationLTE

func ConfirmationLTE(v string) predicate.Webform

ConfirmationLTE applies the LTE predicate on the "confirmation" field.

func ConfirmationNEQ

func ConfirmationNEQ(v string) predicate.Webform

ConfirmationNEQ applies the NEQ predicate on the "confirmation" field.

func ConfirmationNotIn

func ConfirmationNotIn(vs ...string) predicate.Webform

ConfirmationNotIn applies the NotIn predicate on the "confirmation" field.

func ConfirmationNotNil

func ConfirmationNotNil() predicate.Webform

ConfirmationNotNil applies the NotNil predicate on the "confirmation" field.

func ConfirmationURL

func ConfirmationURL(v string) predicate.Webform

ConfirmationURL applies equality check predicate on the "confirmation_url" field. It's identical to ConfirmationURLEQ.

func ConfirmationURLContains

func ConfirmationURLContains(v string) predicate.Webform

ConfirmationURLContains applies the Contains predicate on the "confirmation_url" field.

func ConfirmationURLContainsFold

func ConfirmationURLContainsFold(v string) predicate.Webform

ConfirmationURLContainsFold applies the ContainsFold predicate on the "confirmation_url" field.

func ConfirmationURLEQ

func ConfirmationURLEQ(v string) predicate.Webform

ConfirmationURLEQ applies the EQ predicate on the "confirmation_url" field.

func ConfirmationURLEqualFold

func ConfirmationURLEqualFold(v string) predicate.Webform

ConfirmationURLEqualFold applies the EqualFold predicate on the "confirmation_url" field.

func ConfirmationURLGT

func ConfirmationURLGT(v string) predicate.Webform

ConfirmationURLGT applies the GT predicate on the "confirmation_url" field.

func ConfirmationURLGTE

func ConfirmationURLGTE(v string) predicate.Webform

ConfirmationURLGTE applies the GTE predicate on the "confirmation_url" field.

func ConfirmationURLHasPrefix

func ConfirmationURLHasPrefix(v string) predicate.Webform

ConfirmationURLHasPrefix applies the HasPrefix predicate on the "confirmation_url" field.

func ConfirmationURLHasSuffix

func ConfirmationURLHasSuffix(v string) predicate.Webform

ConfirmationURLHasSuffix applies the HasSuffix predicate on the "confirmation_url" field.

func ConfirmationURLIn

func ConfirmationURLIn(vs ...string) predicate.Webform

ConfirmationURLIn applies the In predicate on the "confirmation_url" field.

func ConfirmationURLLT

func ConfirmationURLLT(v string) predicate.Webform

ConfirmationURLLT applies the LT predicate on the "confirmation_url" field.

func ConfirmationURLLTE

func ConfirmationURLLTE(v string) predicate.Webform

ConfirmationURLLTE applies the LTE predicate on the "confirmation_url" field.

func ConfirmationURLNEQ

func ConfirmationURLNEQ(v string) predicate.Webform

ConfirmationURLNEQ applies the NEQ predicate on the "confirmation_url" field.

func ConfirmationURLNotIn

func ConfirmationURLNotIn(vs ...string) predicate.Webform

ConfirmationURLNotIn applies the NotIn predicate on the "confirmation_url" field.

func Description

func Description(v string) predicate.Webform

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

func DescriptionContains

func DescriptionContains(v string) predicate.Webform

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Webform

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.Webform

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Webform

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

func DescriptionGT

func DescriptionGT(v string) predicate.Webform

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.Webform

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Webform

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Webform

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.Webform

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

func DescriptionLT

func DescriptionLT(v string) predicate.Webform

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.Webform

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Webform

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.Webform

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

func HasElements

func HasElements() predicate.Webform

HasElements applies the HasEdge predicate on the "elements" edge.

func HasElementsWith

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

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

func HasNode

func HasNode() predicate.Webform

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

func HasNodeWith

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

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

func HasSubmissions

func HasSubmissions() predicate.Webform

HasSubmissions applies the HasEdge predicate on the "submissions" edge.

func HasSubmissionsWith

func HasSubmissionsWith(preds ...predicate.WebformSubmission) predicate.Webform

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

func ID

func ID(id int) predicate.Webform

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Webform

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Webform

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Webform

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Webform

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Webform

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Webform

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func LimitPerUser

func LimitPerUser(v bool) predicate.Webform

LimitPerUser applies equality check predicate on the "limit_per_user" field. It's identical to LimitPerUserEQ.

func LimitPerUserEQ

func LimitPerUserEQ(v bool) predicate.Webform

LimitPerUserEQ applies the EQ predicate on the "limit_per_user" field.

func LimitPerUserNEQ

func LimitPerUserNEQ(v bool) predicate.Webform

LimitPerUserNEQ applies the NEQ predicate on the "limit_per_user" field.

func MaxSubmissions

func MaxSubmissions(v int) predicate.Webform

MaxSubmissions applies equality check predicate on the "max_submissions" field. It's identical to MaxSubmissionsEQ.

func MaxSubmissionsEQ

func MaxSubmissionsEQ(v int) predicate.Webform

MaxSubmissionsEQ applies the EQ predicate on the "max_submissions" field.

func MaxSubmissionsGT

func MaxSubmissionsGT(v int) predicate.Webform

MaxSubmissionsGT applies the GT predicate on the "max_submissions" field.

func MaxSubmissionsGTE

func MaxSubmissionsGTE(v int) predicate.Webform

MaxSubmissionsGTE applies the GTE predicate on the "max_submissions" field.

func MaxSubmissionsIn

func MaxSubmissionsIn(vs ...int) predicate.Webform

MaxSubmissionsIn applies the In predicate on the "max_submissions" field.

func MaxSubmissionsLT

func MaxSubmissionsLT(v int) predicate.Webform

MaxSubmissionsLT applies the LT predicate on the "max_submissions" field.

func MaxSubmissionsLTE

func MaxSubmissionsLTE(v int) predicate.Webform

MaxSubmissionsLTE applies the LTE predicate on the "max_submissions" field.

func MaxSubmissionsNEQ

func MaxSubmissionsNEQ(v int) predicate.Webform

MaxSubmissionsNEQ applies the NEQ predicate on the "max_submissions" field.

func MaxSubmissionsNotIn

func MaxSubmissionsNotIn(vs ...int) predicate.Webform

MaxSubmissionsNotIn applies the NotIn predicate on the "max_submissions" field.

func Nid

func Nid(v int) predicate.Webform

Nid applies equality check predicate on the "nid" field. It's identical to NidEQ.

func NidEQ

func NidEQ(v int) predicate.Webform

NidEQ applies the EQ predicate on the "nid" field.

func NidIn

func NidIn(vs ...int) predicate.Webform

NidIn applies the In predicate on the "nid" field.

func NidNEQ

func NidNEQ(v int) predicate.Webform

NidNEQ applies the NEQ predicate on the "nid" field.

func NidNotIn

func NidNotIn(vs ...int) predicate.Webform

NidNotIn applies the NotIn predicate on the "nid" field.

func Not

Not applies the not operator on the given predicate.

func NotifyEmail

func NotifyEmail(v string) predicate.Webform

NotifyEmail applies equality check predicate on the "notify_email" field. It's identical to NotifyEmailEQ.

func NotifyEmailContains

func NotifyEmailContains(v string) predicate.Webform

NotifyEmailContains applies the Contains predicate on the "notify_email" field.

func NotifyEmailContainsFold

func NotifyEmailContainsFold(v string) predicate.Webform

NotifyEmailContainsFold applies the ContainsFold predicate on the "notify_email" field.

func NotifyEmailEQ

func NotifyEmailEQ(v string) predicate.Webform

NotifyEmailEQ applies the EQ predicate on the "notify_email" field.

func NotifyEmailEqualFold

func NotifyEmailEqualFold(v string) predicate.Webform

NotifyEmailEqualFold applies the EqualFold predicate on the "notify_email" field.

func NotifyEmailGT

func NotifyEmailGT(v string) predicate.Webform

NotifyEmailGT applies the GT predicate on the "notify_email" field.

func NotifyEmailGTE

func NotifyEmailGTE(v string) predicate.Webform

NotifyEmailGTE applies the GTE predicate on the "notify_email" field.

func NotifyEmailHasPrefix

func NotifyEmailHasPrefix(v string) predicate.Webform

NotifyEmailHasPrefix applies the HasPrefix predicate on the "notify_email" field.

func NotifyEmailHasSuffix

func NotifyEmailHasSuffix(v string) predicate.Webform

NotifyEmailHasSuffix applies the HasSuffix predicate on the "notify_email" field.

func NotifyEmailIn

func NotifyEmailIn(vs ...string) predicate.Webform

NotifyEmailIn applies the In predicate on the "notify_email" field.

func NotifyEmailLT

func NotifyEmailLT(v string) predicate.Webform

NotifyEmailLT applies the LT predicate on the "notify_email" field.

func NotifyEmailLTE

func NotifyEmailLTE(v string) predicate.Webform

NotifyEmailLTE applies the LTE predicate on the "notify_email" field.

func NotifyEmailNEQ

func NotifyEmailNEQ(v string) predicate.Webform

NotifyEmailNEQ applies the NEQ predicate on the "notify_email" field.

func NotifyEmailNotIn

func NotifyEmailNotIn(vs ...string) predicate.Webform

NotifyEmailNotIn applies the NotIn predicate on the "notify_email" field.

func Or

func Or(predicates ...predicate.Webform) predicate.Webform

Or groups predicates with the OR operator between them.

func SubmitLabel

func SubmitLabel(v string) predicate.Webform

SubmitLabel applies equality check predicate on the "submit_label" field. It's identical to SubmitLabelEQ.

func SubmitLabelContains

func SubmitLabelContains(v string) predicate.Webform

SubmitLabelContains applies the Contains predicate on the "submit_label" field.

func SubmitLabelContainsFold

func SubmitLabelContainsFold(v string) predicate.Webform

SubmitLabelContainsFold applies the ContainsFold predicate on the "submit_label" field.

func SubmitLabelEQ

func SubmitLabelEQ(v string) predicate.Webform

SubmitLabelEQ applies the EQ predicate on the "submit_label" field.

func SubmitLabelEqualFold

func SubmitLabelEqualFold(v string) predicate.Webform

SubmitLabelEqualFold applies the EqualFold predicate on the "submit_label" field.

func SubmitLabelGT

func SubmitLabelGT(v string) predicate.Webform

SubmitLabelGT applies the GT predicate on the "submit_label" field.

func SubmitLabelGTE

func SubmitLabelGTE(v string) predicate.Webform

SubmitLabelGTE applies the GTE predicate on the "submit_label" field.

func SubmitLabelHasPrefix

func SubmitLabelHasPrefix(v string) predicate.Webform

SubmitLabelHasPrefix applies the HasPrefix predicate on the "submit_label" field.

func SubmitLabelHasSuffix

func SubmitLabelHasSuffix(v string) predicate.Webform

SubmitLabelHasSuffix applies the HasSuffix predicate on the "submit_label" field.

func SubmitLabelIn

func SubmitLabelIn(vs ...string) predicate.Webform

SubmitLabelIn applies the In predicate on the "submit_label" field.

func SubmitLabelLT

func SubmitLabelLT(v string) predicate.Webform

SubmitLabelLT applies the LT predicate on the "submit_label" field.

func SubmitLabelLTE

func SubmitLabelLTE(v string) predicate.Webform

SubmitLabelLTE applies the LTE predicate on the "submit_label" field.

func SubmitLabelNEQ

func SubmitLabelNEQ(v string) predicate.Webform

SubmitLabelNEQ applies the NEQ predicate on the "submit_label" field.

func SubmitLabelNotIn

func SubmitLabelNotIn(vs ...string) predicate.Webform

SubmitLabelNotIn applies the NotIn predicate on the "submit_label" 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 Webform queries.

func ByClosed

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

ByClosed orders the results by the closed field.

func ByClosesAt

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

ByClosesAt orders the results by the closes_at field.

func ByConfirmation

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

ByConfirmation orders the results by the confirmation field.

func ByConfirmationURL

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

ByConfirmationURL orders the results by the confirmation_url field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByElements

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

ByElements orders the results by elements terms.

func ByElementsCount

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

ByElementsCount orders the results by elements count.

func ByID

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

ByID orders the results by the id field.

func ByLimitPerUser

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

ByLimitPerUser orders the results by the limit_per_user field.

func ByMaxSubmissions

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

ByMaxSubmissions orders the results by the max_submissions field.

func ByNid

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

ByNid orders the results by the nid field.

func ByNodeField

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

ByNodeField orders the results by node field.

func ByNotifyEmail

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

ByNotifyEmail orders the results by the notify_email field.

func BySubmissions

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

BySubmissions orders the results by submissions terms.

func BySubmissionsCount

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

BySubmissionsCount orders the results by submissions count.

func BySubmitLabel

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

BySubmitLabel orders the results by the submit_label field.

Jump to

Keyboard shortcuts

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