subscriptionsettings

package
v0.1.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the subscriptionsettings type in the database.
	Label = "subscription_settings"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldMailSubject holds the string denoting the mail_subject field in the database.
	FieldMailSubject = "mail_subject"
	// FieldMailBody holds the string denoting the mail_body field in the database.
	FieldMailBody = "mail_body"
	// FieldDigestDay holds the string denoting the digest_day field in the database.
	FieldDigestDay = "digest_day"
	// Table holds the table name of the subscriptionsettings in the database.
	Table = "subscription_settings"
)

Variables

View Source
var (
	// DefaultMailSubject holds the default value on creation for the "mail_subject" field.
	DefaultMailSubject string
	// MailSubjectValidator is a validator for the "mail_subject" field. It is called by the builders before save.
	MailSubjectValidator func(string) error
	// DefaultDigestDay holds the default value on creation for the "digest_day" field.
	DefaultDigestDay string
	// DigestDayValidator is a validator for the "digest_day" field. It is called by the builders before save.
	DigestDayValidator func(string) error
)

Columns holds all SQL columns for subscriptionsettings fields.

Functions

func And

And groups predicates with the AND operator between them.

func DigestDay

DigestDay applies equality check predicate on the "digest_day" field. It's identical to DigestDayEQ.

func DigestDayContains

func DigestDayContains(v string) predicate.SubscriptionSettings

DigestDayContains applies the Contains predicate on the "digest_day" field.

func DigestDayContainsFold

func DigestDayContainsFold(v string) predicate.SubscriptionSettings

DigestDayContainsFold applies the ContainsFold predicate on the "digest_day" field.

func DigestDayEQ

func DigestDayEQ(v string) predicate.SubscriptionSettings

DigestDayEQ applies the EQ predicate on the "digest_day" field.

func DigestDayEqualFold

func DigestDayEqualFold(v string) predicate.SubscriptionSettings

DigestDayEqualFold applies the EqualFold predicate on the "digest_day" field.

func DigestDayGT

func DigestDayGT(v string) predicate.SubscriptionSettings

DigestDayGT applies the GT predicate on the "digest_day" field.

func DigestDayGTE

func DigestDayGTE(v string) predicate.SubscriptionSettings

DigestDayGTE applies the GTE predicate on the "digest_day" field.

func DigestDayHasPrefix

func DigestDayHasPrefix(v string) predicate.SubscriptionSettings

DigestDayHasPrefix applies the HasPrefix predicate on the "digest_day" field.

func DigestDayHasSuffix

func DigestDayHasSuffix(v string) predicate.SubscriptionSettings

DigestDayHasSuffix applies the HasSuffix predicate on the "digest_day" field.

func DigestDayIn

func DigestDayIn(vs ...string) predicate.SubscriptionSettings

DigestDayIn applies the In predicate on the "digest_day" field.

func DigestDayLT

func DigestDayLT(v string) predicate.SubscriptionSettings

DigestDayLT applies the LT predicate on the "digest_day" field.

func DigestDayLTE

func DigestDayLTE(v string) predicate.SubscriptionSettings

DigestDayLTE applies the LTE predicate on the "digest_day" field.

func DigestDayNEQ

func DigestDayNEQ(v string) predicate.SubscriptionSettings

DigestDayNEQ applies the NEQ predicate on the "digest_day" field.

func DigestDayNotIn

func DigestDayNotIn(vs ...string) predicate.SubscriptionSettings

DigestDayNotIn applies the NotIn predicate on the "digest_day" field.

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

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

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

IDNotIn applies the NotIn predicate on the ID field.

func MailBody

MailBody applies equality check predicate on the "mail_body" field. It's identical to MailBodyEQ.

func MailBodyContains

func MailBodyContains(v string) predicate.SubscriptionSettings

MailBodyContains applies the Contains predicate on the "mail_body" field.

func MailBodyContainsFold

func MailBodyContainsFold(v string) predicate.SubscriptionSettings

MailBodyContainsFold applies the ContainsFold predicate on the "mail_body" field.

func MailBodyEQ

MailBodyEQ applies the EQ predicate on the "mail_body" field.

func MailBodyEqualFold

func MailBodyEqualFold(v string) predicate.SubscriptionSettings

MailBodyEqualFold applies the EqualFold predicate on the "mail_body" field.

func MailBodyGT

MailBodyGT applies the GT predicate on the "mail_body" field.

func MailBodyGTE

func MailBodyGTE(v string) predicate.SubscriptionSettings

MailBodyGTE applies the GTE predicate on the "mail_body" field.

func MailBodyHasPrefix

func MailBodyHasPrefix(v string) predicate.SubscriptionSettings

MailBodyHasPrefix applies the HasPrefix predicate on the "mail_body" field.

func MailBodyHasSuffix

func MailBodyHasSuffix(v string) predicate.SubscriptionSettings

MailBodyHasSuffix applies the HasSuffix predicate on the "mail_body" field.

func MailBodyIn

func MailBodyIn(vs ...string) predicate.SubscriptionSettings

MailBodyIn applies the In predicate on the "mail_body" field.

func MailBodyIsNil

func MailBodyIsNil() predicate.SubscriptionSettings

MailBodyIsNil applies the IsNil predicate on the "mail_body" field.

func MailBodyLT

MailBodyLT applies the LT predicate on the "mail_body" field.

func MailBodyLTE

func MailBodyLTE(v string) predicate.SubscriptionSettings

MailBodyLTE applies the LTE predicate on the "mail_body" field.

func MailBodyNEQ

func MailBodyNEQ(v string) predicate.SubscriptionSettings

MailBodyNEQ applies the NEQ predicate on the "mail_body" field.

func MailBodyNotIn

func MailBodyNotIn(vs ...string) predicate.SubscriptionSettings

MailBodyNotIn applies the NotIn predicate on the "mail_body" field.

func MailBodyNotNil

func MailBodyNotNil() predicate.SubscriptionSettings

MailBodyNotNil applies the NotNil predicate on the "mail_body" field.

func MailSubject

func MailSubject(v string) predicate.SubscriptionSettings

MailSubject applies equality check predicate on the "mail_subject" field. It's identical to MailSubjectEQ.

func MailSubjectContains

func MailSubjectContains(v string) predicate.SubscriptionSettings

MailSubjectContains applies the Contains predicate on the "mail_subject" field.

func MailSubjectContainsFold

func MailSubjectContainsFold(v string) predicate.SubscriptionSettings

MailSubjectContainsFold applies the ContainsFold predicate on the "mail_subject" field.

func MailSubjectEQ

func MailSubjectEQ(v string) predicate.SubscriptionSettings

MailSubjectEQ applies the EQ predicate on the "mail_subject" field.

func MailSubjectEqualFold

func MailSubjectEqualFold(v string) predicate.SubscriptionSettings

MailSubjectEqualFold applies the EqualFold predicate on the "mail_subject" field.

func MailSubjectGT

func MailSubjectGT(v string) predicate.SubscriptionSettings

MailSubjectGT applies the GT predicate on the "mail_subject" field.

func MailSubjectGTE

func MailSubjectGTE(v string) predicate.SubscriptionSettings

MailSubjectGTE applies the GTE predicate on the "mail_subject" field.

func MailSubjectHasPrefix

func MailSubjectHasPrefix(v string) predicate.SubscriptionSettings

MailSubjectHasPrefix applies the HasPrefix predicate on the "mail_subject" field.

func MailSubjectHasSuffix

func MailSubjectHasSuffix(v string) predicate.SubscriptionSettings

MailSubjectHasSuffix applies the HasSuffix predicate on the "mail_subject" field.

func MailSubjectIn

func MailSubjectIn(vs ...string) predicate.SubscriptionSettings

MailSubjectIn applies the In predicate on the "mail_subject" field.

func MailSubjectLT

func MailSubjectLT(v string) predicate.SubscriptionSettings

MailSubjectLT applies the LT predicate on the "mail_subject" field.

func MailSubjectLTE

func MailSubjectLTE(v string) predicate.SubscriptionSettings

MailSubjectLTE applies the LTE predicate on the "mail_subject" field.

func MailSubjectNEQ

func MailSubjectNEQ(v string) predicate.SubscriptionSettings

MailSubjectNEQ applies the NEQ predicate on the "mail_subject" field.

func MailSubjectNotIn

func MailSubjectNotIn(vs ...string) predicate.SubscriptionSettings

MailSubjectNotIn applies the NotIn predicate on the "mail_subject" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

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 SubscriptionSettings queries.

func ByDigestDay

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

ByDigestDay orders the results by the digest_day field.

func ByID

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

ByID orders the results by the id field.

func ByMailBody

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

ByMailBody orders the results by the mail_body field.

func ByMailSubject

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

ByMailSubject orders the results by the mail_subject field.

Jump to

Keyboard shortcuts

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