emailtemplate

package
v0.0.0-...-4d27263 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the emailtemplate type in the database.
	Label = "email_template"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTemplateCode holds the string denoting the template_code field in the database.
	FieldTemplateCode = "template_code"
	// FieldContent holds the string denoting the content field in the database.
	FieldContent = "content"
	// Table holds the table name of the emailtemplate in the database.
	Table = "email_templates"
)

Variables

View Source
var (
	// DefaultTemplateCode holds the default value on creation for the "template_code" field.
	DefaultTemplateCode string
	// DefaultContent holds the default value on creation for the "content" field.
	DefaultContent string
)

Columns holds all SQL columns for emailtemplate fields.

Functions

func And

And groups predicates with the AND operator between them.

func Content

func Content(v string) predicate.EmailTemplate

Content applies equality check predicate on the "content" field. It's identical to ContentEQ.

func ContentContains

func ContentContains(v string) predicate.EmailTemplate

ContentContains applies the Contains predicate on the "content" field.

func ContentContainsFold

func ContentContainsFold(v string) predicate.EmailTemplate

ContentContainsFold applies the ContainsFold predicate on the "content" field.

func ContentEQ

func ContentEQ(v string) predicate.EmailTemplate

ContentEQ applies the EQ predicate on the "content" field.

func ContentEqualFold

func ContentEqualFold(v string) predicate.EmailTemplate

ContentEqualFold applies the EqualFold predicate on the "content" field.

func ContentGT

func ContentGT(v string) predicate.EmailTemplate

ContentGT applies the GT predicate on the "content" field.

func ContentGTE

func ContentGTE(v string) predicate.EmailTemplate

ContentGTE applies the GTE predicate on the "content" field.

func ContentHasPrefix

func ContentHasPrefix(v string) predicate.EmailTemplate

ContentHasPrefix applies the HasPrefix predicate on the "content" field.

func ContentHasSuffix

func ContentHasSuffix(v string) predicate.EmailTemplate

ContentHasSuffix applies the HasSuffix predicate on the "content" field.

func ContentIn

func ContentIn(vs ...string) predicate.EmailTemplate

ContentIn applies the In predicate on the "content" field.

func ContentLT

func ContentLT(v string) predicate.EmailTemplate

ContentLT applies the LT predicate on the "content" field.

func ContentLTE

func ContentLTE(v string) predicate.EmailTemplate

ContentLTE applies the LTE predicate on the "content" field.

func ContentNEQ

func ContentNEQ(v string) predicate.EmailTemplate

ContentNEQ applies the NEQ predicate on the "content" field.

func ContentNotIn

func ContentNotIn(vs ...string) predicate.EmailTemplate

ContentNotIn applies the NotIn predicate on the "content" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.EmailTemplate

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.EmailTemplate

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.EmailTemplate

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.EmailTemplate

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.EmailTemplate

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.EmailTemplate

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

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 TemplateCode

func TemplateCode(v string) predicate.EmailTemplate

TemplateCode applies equality check predicate on the "template_code" field. It's identical to TemplateCodeEQ.

func TemplateCodeContains

func TemplateCodeContains(v string) predicate.EmailTemplate

TemplateCodeContains applies the Contains predicate on the "template_code" field.

func TemplateCodeContainsFold

func TemplateCodeContainsFold(v string) predicate.EmailTemplate

TemplateCodeContainsFold applies the ContainsFold predicate on the "template_code" field.

func TemplateCodeEQ

func TemplateCodeEQ(v string) predicate.EmailTemplate

TemplateCodeEQ applies the EQ predicate on the "template_code" field.

func TemplateCodeEqualFold

func TemplateCodeEqualFold(v string) predicate.EmailTemplate

TemplateCodeEqualFold applies the EqualFold predicate on the "template_code" field.

func TemplateCodeGT

func TemplateCodeGT(v string) predicate.EmailTemplate

TemplateCodeGT applies the GT predicate on the "template_code" field.

func TemplateCodeGTE

func TemplateCodeGTE(v string) predicate.EmailTemplate

TemplateCodeGTE applies the GTE predicate on the "template_code" field.

func TemplateCodeHasPrefix

func TemplateCodeHasPrefix(v string) predicate.EmailTemplate

TemplateCodeHasPrefix applies the HasPrefix predicate on the "template_code" field.

func TemplateCodeHasSuffix

func TemplateCodeHasSuffix(v string) predicate.EmailTemplate

TemplateCodeHasSuffix applies the HasSuffix predicate on the "template_code" field.

func TemplateCodeIn

func TemplateCodeIn(vs ...string) predicate.EmailTemplate

TemplateCodeIn applies the In predicate on the "template_code" field.

func TemplateCodeLT

func TemplateCodeLT(v string) predicate.EmailTemplate

TemplateCodeLT applies the LT predicate on the "template_code" field.

func TemplateCodeLTE

func TemplateCodeLTE(v string) predicate.EmailTemplate

TemplateCodeLTE applies the LTE predicate on the "template_code" field.

func TemplateCodeNEQ

func TemplateCodeNEQ(v string) predicate.EmailTemplate

TemplateCodeNEQ applies the NEQ predicate on the "template_code" field.

func TemplateCodeNotIn

func TemplateCodeNotIn(vs ...string) predicate.EmailTemplate

TemplateCodeNotIn applies the NotIn predicate on the "template_code" 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 EmailTemplate queries.

func ByContent

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

ByContent orders the results by the content field.

func ByID

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

ByID orders the results by the id field.

func ByTemplateCode

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

ByTemplateCode orders the results by the template_code field.

Jump to

Keyboard shortcuts

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