templateext

package
v0.0.1-beta.8 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the templateext type in the database.
	Label = "template_ext"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTemplateID holds the string denoting the template_id field in the database.
	FieldTemplateID = "template_id"
	// FieldCredentialType holds the string denoting the credential_type field in the database.
	FieldCredentialType = "credential_type"
	// FieldStripImageTools holds the string denoting the strip_image_tools field in the database.
	FieldStripImageTools = "strip_image_tools"
	// EdgeTemplate holds the string denoting the template edge name in mutations.
	EdgeTemplate = "template"
	// Table holds the table name of the templateext in the database.
	Table = "template_exts"
	// TemplateTable is the table that holds the template relation/edge.
	TemplateTable = "template_exts"
	// TemplateInverseTable is the table name for the Template entity.
	// It exists in this package in order to avoid circular dependency with the "template" package.
	TemplateInverseTable = "templates"
	// TemplateColumn is the table column denoting the template relation/edge.
	TemplateColumn = "template_id"
)

Variables

Columns holds all SQL columns for templateext fields.

Functions

func And

func And(predicates ...predicate.TemplateExt) predicate.TemplateExt

And groups predicates with the AND operator between them.

func CredentialType

func CredentialType(v string) predicate.TemplateExt

CredentialType applies equality check predicate on the "credential_type" field. It's identical to CredentialTypeEQ.

func CredentialTypeContains

func CredentialTypeContains(v string) predicate.TemplateExt

CredentialTypeContains applies the Contains predicate on the "credential_type" field.

func CredentialTypeContainsFold

func CredentialTypeContainsFold(v string) predicate.TemplateExt

CredentialTypeContainsFold applies the ContainsFold predicate on the "credential_type" field.

func CredentialTypeEQ

func CredentialTypeEQ(v string) predicate.TemplateExt

CredentialTypeEQ applies the EQ predicate on the "credential_type" field.

func CredentialTypeEqualFold

func CredentialTypeEqualFold(v string) predicate.TemplateExt

CredentialTypeEqualFold applies the EqualFold predicate on the "credential_type" field.

func CredentialTypeGT

func CredentialTypeGT(v string) predicate.TemplateExt

CredentialTypeGT applies the GT predicate on the "credential_type" field.

func CredentialTypeGTE

func CredentialTypeGTE(v string) predicate.TemplateExt

CredentialTypeGTE applies the GTE predicate on the "credential_type" field.

func CredentialTypeHasPrefix

func CredentialTypeHasPrefix(v string) predicate.TemplateExt

CredentialTypeHasPrefix applies the HasPrefix predicate on the "credential_type" field.

func CredentialTypeHasSuffix

func CredentialTypeHasSuffix(v string) predicate.TemplateExt

CredentialTypeHasSuffix applies the HasSuffix predicate on the "credential_type" field.

func CredentialTypeIn

func CredentialTypeIn(vs ...string) predicate.TemplateExt

CredentialTypeIn applies the In predicate on the "credential_type" field.

func CredentialTypeLT

func CredentialTypeLT(v string) predicate.TemplateExt

CredentialTypeLT applies the LT predicate on the "credential_type" field.

func CredentialTypeLTE

func CredentialTypeLTE(v string) predicate.TemplateExt

CredentialTypeLTE applies the LTE predicate on the "credential_type" field.

func CredentialTypeNEQ

func CredentialTypeNEQ(v string) predicate.TemplateExt

CredentialTypeNEQ applies the NEQ predicate on the "credential_type" field.

func CredentialTypeNotIn

func CredentialTypeNotIn(vs ...string) predicate.TemplateExt

CredentialTypeNotIn applies the NotIn predicate on the "credential_type" field.

func HasTemplate

func HasTemplate() predicate.TemplateExt

HasTemplate applies the HasEdge predicate on the "template" edge.

func HasTemplateWith

func HasTemplateWith(preds ...predicate.Template) predicate.TemplateExt

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.TemplateExt

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.TemplateExt

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.TemplateExt

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.TemplateExt

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.TemplateExt

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.TemplateExt

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.TemplateExt

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.TemplateExt

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.TemplateExt) predicate.TemplateExt

Or groups predicates with the OR operator between them.

func StripImageTools

func StripImageTools(v bool) predicate.TemplateExt

StripImageTools applies equality check predicate on the "strip_image_tools" field. It's identical to StripImageToolsEQ.

func StripImageToolsEQ

func StripImageToolsEQ(v bool) predicate.TemplateExt

StripImageToolsEQ applies the EQ predicate on the "strip_image_tools" field.

func StripImageToolsIsNil

func StripImageToolsIsNil() predicate.TemplateExt

StripImageToolsIsNil applies the IsNil predicate on the "strip_image_tools" field.

func StripImageToolsNEQ

func StripImageToolsNEQ(v bool) predicate.TemplateExt

StripImageToolsNEQ applies the NEQ predicate on the "strip_image_tools" field.

func StripImageToolsNotNil

func StripImageToolsNotNil() predicate.TemplateExt

StripImageToolsNotNil applies the NotNil predicate on the "strip_image_tools" field.

func TemplateID

func TemplateID(v int64) predicate.TemplateExt

TemplateID applies equality check predicate on the "template_id" field. It's identical to TemplateIDEQ.

func TemplateIDEQ

func TemplateIDEQ(v int64) predicate.TemplateExt

TemplateIDEQ applies the EQ predicate on the "template_id" field.

func TemplateIDIn

func TemplateIDIn(vs ...int64) predicate.TemplateExt

TemplateIDIn applies the In predicate on the "template_id" field.

func TemplateIDNEQ

func TemplateIDNEQ(v int64) predicate.TemplateExt

TemplateIDNEQ applies the NEQ predicate on the "template_id" field.

func TemplateIDNotIn

func TemplateIDNotIn(vs ...int64) predicate.TemplateExt

TemplateIDNotIn applies the NotIn predicate on the "template_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 TemplateExt queries.

func ByCredentialType

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

ByCredentialType orders the results by the credential_type field.

func ByID

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

ByID orders the results by the id field.

func ByStripImageTools

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

ByStripImageTools orders the results by the strip_image_tools field.

func ByTemplateField

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

ByTemplateField orders the results by template field.

func ByTemplateID

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

ByTemplateID orders the results by the template_id field.

Jump to

Keyboard shortcuts

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