Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SubscriptionSettings) predicate.SubscriptionSettings
- func DigestDay(v string) predicate.SubscriptionSettings
- func DigestDayContains(v string) predicate.SubscriptionSettings
- func DigestDayContainsFold(v string) predicate.SubscriptionSettings
- func DigestDayEQ(v string) predicate.SubscriptionSettings
- func DigestDayEqualFold(v string) predicate.SubscriptionSettings
- func DigestDayGT(v string) predicate.SubscriptionSettings
- func DigestDayGTE(v string) predicate.SubscriptionSettings
- func DigestDayHasPrefix(v string) predicate.SubscriptionSettings
- func DigestDayHasSuffix(v string) predicate.SubscriptionSettings
- func DigestDayIn(vs ...string) predicate.SubscriptionSettings
- func DigestDayLT(v string) predicate.SubscriptionSettings
- func DigestDayLTE(v string) predicate.SubscriptionSettings
- func DigestDayNEQ(v string) predicate.SubscriptionSettings
- func DigestDayNotIn(vs ...string) predicate.SubscriptionSettings
- func ID(id int) predicate.SubscriptionSettings
- func IDEQ(id int) predicate.SubscriptionSettings
- func IDGT(id int) predicate.SubscriptionSettings
- func IDGTE(id int) predicate.SubscriptionSettings
- func IDIn(ids ...int) predicate.SubscriptionSettings
- func IDLT(id int) predicate.SubscriptionSettings
- func IDLTE(id int) predicate.SubscriptionSettings
- func IDNEQ(id int) predicate.SubscriptionSettings
- func IDNotIn(ids ...int) predicate.SubscriptionSettings
- func MailBody(v string) predicate.SubscriptionSettings
- func MailBodyContains(v string) predicate.SubscriptionSettings
- func MailBodyContainsFold(v string) predicate.SubscriptionSettings
- func MailBodyEQ(v string) predicate.SubscriptionSettings
- func MailBodyEqualFold(v string) predicate.SubscriptionSettings
- func MailBodyGT(v string) predicate.SubscriptionSettings
- func MailBodyGTE(v string) predicate.SubscriptionSettings
- func MailBodyHasPrefix(v string) predicate.SubscriptionSettings
- func MailBodyHasSuffix(v string) predicate.SubscriptionSettings
- func MailBodyIn(vs ...string) predicate.SubscriptionSettings
- func MailBodyIsNil() predicate.SubscriptionSettings
- func MailBodyLT(v string) predicate.SubscriptionSettings
- func MailBodyLTE(v string) predicate.SubscriptionSettings
- func MailBodyNEQ(v string) predicate.SubscriptionSettings
- func MailBodyNotIn(vs ...string) predicate.SubscriptionSettings
- func MailBodyNotNil() predicate.SubscriptionSettings
- func MailSubject(v string) predicate.SubscriptionSettings
- func MailSubjectContains(v string) predicate.SubscriptionSettings
- func MailSubjectContainsFold(v string) predicate.SubscriptionSettings
- func MailSubjectEQ(v string) predicate.SubscriptionSettings
- func MailSubjectEqualFold(v string) predicate.SubscriptionSettings
- func MailSubjectGT(v string) predicate.SubscriptionSettings
- func MailSubjectGTE(v string) predicate.SubscriptionSettings
- func MailSubjectHasPrefix(v string) predicate.SubscriptionSettings
- func MailSubjectHasSuffix(v string) predicate.SubscriptionSettings
- func MailSubjectIn(vs ...string) predicate.SubscriptionSettings
- func MailSubjectLT(v string) predicate.SubscriptionSettings
- func MailSubjectLTE(v string) predicate.SubscriptionSettings
- func MailSubjectNEQ(v string) predicate.SubscriptionSettings
- func MailSubjectNotIn(vs ...string) predicate.SubscriptionSettings
- func Not(p predicate.SubscriptionSettings) predicate.SubscriptionSettings
- func Or(predicates ...predicate.SubscriptionSettings) predicate.SubscriptionSettings
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldMailSubject, FieldMailBody, FieldDigestDay, }
Columns holds all SQL columns for subscriptionsettings fields.
Functions ¶
func And ¶
func And(predicates ...predicate.SubscriptionSettings) predicate.SubscriptionSettings
And groups predicates with the AND operator between them.
func DigestDay ¶
func DigestDay(v string) predicate.SubscriptionSettings
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 ¶
func ID(id int) predicate.SubscriptionSettings
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.SubscriptionSettings
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.SubscriptionSettings
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.SubscriptionSettings
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 ¶
func IDLT(id int) predicate.SubscriptionSettings
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.SubscriptionSettings
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.SubscriptionSettings
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 ¶
func MailBody(v string) predicate.SubscriptionSettings
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 ¶
func MailBodyEQ(v string) predicate.SubscriptionSettings
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 ¶
func MailBodyGT(v string) predicate.SubscriptionSettings
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 ¶
func MailBodyLT(v string) predicate.SubscriptionSettings
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 ¶
func Not(p predicate.SubscriptionSettings) predicate.SubscriptionSettings
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SubscriptionSettings) predicate.SubscriptionSettings
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.