emaillog

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the emaillog type in the database.
	Label = "email_log"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldTarget holds the string denoting the target field in the database.
	FieldTarget = "target"
	// FieldSubject holds the string denoting the subject field in the database.
	FieldSubject = "subject"
	// FieldContent holds the string denoting the content field in the database.
	FieldContent = "content"
	// FieldSendStatus holds the string denoting the send_status field in the database.
	FieldSendStatus = "send_status"
	// FieldProvider holds the string denoting the provider field in the database.
	FieldProvider = "provider"
	// Table holds the table name of the emaillog in the database.
	Table = "mcms_email_logs"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for emaillog fields.

Functions

func And

func And(predicates ...predicate.EmailLog) predicate.EmailLog

And groups predicates with the AND operator between them.

func Content

func Content(v string) predicate.EmailLog

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

func ContentContains

func ContentContains(v string) predicate.EmailLog

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

func ContentContainsFold

func ContentContainsFold(v string) predicate.EmailLog

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

func ContentEQ

func ContentEQ(v string) predicate.EmailLog

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

func ContentEqualFold

func ContentEqualFold(v string) predicate.EmailLog

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

func ContentGT

func ContentGT(v string) predicate.EmailLog

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

func ContentGTE

func ContentGTE(v string) predicate.EmailLog

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

func ContentHasPrefix

func ContentHasPrefix(v string) predicate.EmailLog

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

func ContentHasSuffix

func ContentHasSuffix(v string) predicate.EmailLog

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

func ContentIn

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

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

func ContentLT

func ContentLT(v string) predicate.EmailLog

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

func ContentLTE

func ContentLTE(v string) predicate.EmailLog

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

func ContentNEQ

func ContentNEQ(v string) predicate.EmailLog

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

func ContentNotIn

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

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

func CreatedAt

func CreatedAt(v time.Time) predicate.EmailLog

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.EmailLog

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.EmailLog

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.EmailLog

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.EmailLog

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.EmailLog

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.EmailLog

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.EmailLog

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.EmailLog

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func ID

func ID(id uuid.UUID) predicate.EmailLog

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.EmailLog

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.EmailLog

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.EmailLog

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.EmailLog

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.EmailLog

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.EmailLog

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.EmailLog

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.EmailLog

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.EmailLog) predicate.EmailLog

Or groups predicates with the OR operator between them.

func Provider added in v1.0.14

func Provider(v string) predicate.EmailLog

Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.

func ProviderContains added in v1.0.14

func ProviderContains(v string) predicate.EmailLog

ProviderContains applies the Contains predicate on the "provider" field.

func ProviderContainsFold added in v1.0.14

func ProviderContainsFold(v string) predicate.EmailLog

ProviderContainsFold applies the ContainsFold predicate on the "provider" field.

func ProviderEQ added in v1.0.14

func ProviderEQ(v string) predicate.EmailLog

ProviderEQ applies the EQ predicate on the "provider" field.

func ProviderEqualFold added in v1.0.14

func ProviderEqualFold(v string) predicate.EmailLog

ProviderEqualFold applies the EqualFold predicate on the "provider" field.

func ProviderGT added in v1.0.14

func ProviderGT(v string) predicate.EmailLog

ProviderGT applies the GT predicate on the "provider" field.

func ProviderGTE added in v1.0.14

func ProviderGTE(v string) predicate.EmailLog

ProviderGTE applies the GTE predicate on the "provider" field.

func ProviderHasPrefix added in v1.0.14

func ProviderHasPrefix(v string) predicate.EmailLog

ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.

func ProviderHasSuffix added in v1.0.14

func ProviderHasSuffix(v string) predicate.EmailLog

ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.

func ProviderIn added in v1.0.14

func ProviderIn(vs ...string) predicate.EmailLog

ProviderIn applies the In predicate on the "provider" field.

func ProviderLT added in v1.0.14

func ProviderLT(v string) predicate.EmailLog

ProviderLT applies the LT predicate on the "provider" field.

func ProviderLTE added in v1.0.14

func ProviderLTE(v string) predicate.EmailLog

ProviderLTE applies the LTE predicate on the "provider" field.

func ProviderNEQ added in v1.0.14

func ProviderNEQ(v string) predicate.EmailLog

ProviderNEQ applies the NEQ predicate on the "provider" field.

func ProviderNotIn added in v1.0.14

func ProviderNotIn(vs ...string) predicate.EmailLog

ProviderNotIn applies the NotIn predicate on the "provider" field.

func SendStatus

func SendStatus(v uint8) predicate.EmailLog

SendStatus applies equality check predicate on the "send_status" field. It's identical to SendStatusEQ.

func SendStatusEQ

func SendStatusEQ(v uint8) predicate.EmailLog

SendStatusEQ applies the EQ predicate on the "send_status" field.

func SendStatusGT

func SendStatusGT(v uint8) predicate.EmailLog

SendStatusGT applies the GT predicate on the "send_status" field.

func SendStatusGTE

func SendStatusGTE(v uint8) predicate.EmailLog

SendStatusGTE applies the GTE predicate on the "send_status" field.

func SendStatusIn

func SendStatusIn(vs ...uint8) predicate.EmailLog

SendStatusIn applies the In predicate on the "send_status" field.

func SendStatusLT

func SendStatusLT(v uint8) predicate.EmailLog

SendStatusLT applies the LT predicate on the "send_status" field.

func SendStatusLTE

func SendStatusLTE(v uint8) predicate.EmailLog

SendStatusLTE applies the LTE predicate on the "send_status" field.

func SendStatusNEQ

func SendStatusNEQ(v uint8) predicate.EmailLog

SendStatusNEQ applies the NEQ predicate on the "send_status" field.

func SendStatusNotIn

func SendStatusNotIn(vs ...uint8) predicate.EmailLog

SendStatusNotIn applies the NotIn predicate on the "send_status" field.

func Subject

func Subject(v string) predicate.EmailLog

Subject applies equality check predicate on the "subject" field. It's identical to SubjectEQ.

func SubjectContains

func SubjectContains(v string) predicate.EmailLog

SubjectContains applies the Contains predicate on the "subject" field.

func SubjectContainsFold

func SubjectContainsFold(v string) predicate.EmailLog

SubjectContainsFold applies the ContainsFold predicate on the "subject" field.

func SubjectEQ

func SubjectEQ(v string) predicate.EmailLog

SubjectEQ applies the EQ predicate on the "subject" field.

func SubjectEqualFold

func SubjectEqualFold(v string) predicate.EmailLog

SubjectEqualFold applies the EqualFold predicate on the "subject" field.

func SubjectGT

func SubjectGT(v string) predicate.EmailLog

SubjectGT applies the GT predicate on the "subject" field.

func SubjectGTE

func SubjectGTE(v string) predicate.EmailLog

SubjectGTE applies the GTE predicate on the "subject" field.

func SubjectHasPrefix

func SubjectHasPrefix(v string) predicate.EmailLog

SubjectHasPrefix applies the HasPrefix predicate on the "subject" field.

func SubjectHasSuffix

func SubjectHasSuffix(v string) predicate.EmailLog

SubjectHasSuffix applies the HasSuffix predicate on the "subject" field.

func SubjectIn

func SubjectIn(vs ...string) predicate.EmailLog

SubjectIn applies the In predicate on the "subject" field.

func SubjectLT

func SubjectLT(v string) predicate.EmailLog

SubjectLT applies the LT predicate on the "subject" field.

func SubjectLTE

func SubjectLTE(v string) predicate.EmailLog

SubjectLTE applies the LTE predicate on the "subject" field.

func SubjectNEQ

func SubjectNEQ(v string) predicate.EmailLog

SubjectNEQ applies the NEQ predicate on the "subject" field.

func SubjectNotIn

func SubjectNotIn(vs ...string) predicate.EmailLog

SubjectNotIn applies the NotIn predicate on the "subject" field.

func Target

func Target(v string) predicate.EmailLog

Target applies equality check predicate on the "target" field. It's identical to TargetEQ.

func TargetContains

func TargetContains(v string) predicate.EmailLog

TargetContains applies the Contains predicate on the "target" field.

func TargetContainsFold

func TargetContainsFold(v string) predicate.EmailLog

TargetContainsFold applies the ContainsFold predicate on the "target" field.

func TargetEQ

func TargetEQ(v string) predicate.EmailLog

TargetEQ applies the EQ predicate on the "target" field.

func TargetEqualFold

func TargetEqualFold(v string) predicate.EmailLog

TargetEqualFold applies the EqualFold predicate on the "target" field.

func TargetGT

func TargetGT(v string) predicate.EmailLog

TargetGT applies the GT predicate on the "target" field.

func TargetGTE

func TargetGTE(v string) predicate.EmailLog

TargetGTE applies the GTE predicate on the "target" field.

func TargetHasPrefix

func TargetHasPrefix(v string) predicate.EmailLog

TargetHasPrefix applies the HasPrefix predicate on the "target" field.

func TargetHasSuffix

func TargetHasSuffix(v string) predicate.EmailLog

TargetHasSuffix applies the HasSuffix predicate on the "target" field.

func TargetIn

func TargetIn(vs ...string) predicate.EmailLog

TargetIn applies the In predicate on the "target" field.

func TargetLT

func TargetLT(v string) predicate.EmailLog

TargetLT applies the LT predicate on the "target" field.

func TargetLTE

func TargetLTE(v string) predicate.EmailLog

TargetLTE applies the LTE predicate on the "target" field.

func TargetNEQ

func TargetNEQ(v string) predicate.EmailLog

TargetNEQ applies the NEQ predicate on the "target" field.

func TargetNotIn

func TargetNotIn(vs ...string) predicate.EmailLog

TargetNotIn applies the NotIn predicate on the "target" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.EmailLog

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.EmailLog

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.EmailLog

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.EmailLog

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.EmailLog

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.EmailLog

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.EmailLog

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.EmailLog

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.EmailLog

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 EmailLog queries.

func ByContent

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

ByContent orders the results by the content field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByID

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

ByID orders the results by the id field.

func ByProvider added in v1.0.14

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

ByProvider orders the results by the provider field.

func BySendStatus

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

BySendStatus orders the results by the send_status field.

func BySubject

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

BySubject orders the results by the subject field.

func ByTarget

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

ByTarget orders the results by the target field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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