Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EmailLog) predicate.EmailLog
- func Content(v string) predicate.EmailLog
- func ContentContains(v string) predicate.EmailLog
- func ContentContainsFold(v string) predicate.EmailLog
- func ContentEQ(v string) predicate.EmailLog
- func ContentEqualFold(v string) predicate.EmailLog
- func ContentGT(v string) predicate.EmailLog
- func ContentGTE(v string) predicate.EmailLog
- func ContentHasPrefix(v string) predicate.EmailLog
- func ContentHasSuffix(v string) predicate.EmailLog
- func ContentIn(vs ...string) predicate.EmailLog
- func ContentLT(v string) predicate.EmailLog
- func ContentLTE(v string) predicate.EmailLog
- func ContentNEQ(v string) predicate.EmailLog
- func ContentNotIn(vs ...string) predicate.EmailLog
- func CreatedAt(v time.Time) predicate.EmailLog
- func CreatedAtEQ(v time.Time) predicate.EmailLog
- func CreatedAtGT(v time.Time) predicate.EmailLog
- func CreatedAtGTE(v time.Time) predicate.EmailLog
- func CreatedAtIn(vs ...time.Time) predicate.EmailLog
- func CreatedAtLT(v time.Time) predicate.EmailLog
- func CreatedAtLTE(v time.Time) predicate.EmailLog
- func CreatedAtNEQ(v time.Time) predicate.EmailLog
- func CreatedAtNotIn(vs ...time.Time) predicate.EmailLog
- func ID(id uuid.UUID) predicate.EmailLog
- func IDEQ(id uuid.UUID) predicate.EmailLog
- func IDGT(id uuid.UUID) predicate.EmailLog
- func IDGTE(id uuid.UUID) predicate.EmailLog
- func IDIn(ids ...uuid.UUID) predicate.EmailLog
- func IDLT(id uuid.UUID) predicate.EmailLog
- func IDLTE(id uuid.UUID) predicate.EmailLog
- func IDNEQ(id uuid.UUID) predicate.EmailLog
- func IDNotIn(ids ...uuid.UUID) predicate.EmailLog
- func Not(p predicate.EmailLog) predicate.EmailLog
- func Or(predicates ...predicate.EmailLog) predicate.EmailLog
- func Provider(v string) predicate.EmailLog
- func ProviderContains(v string) predicate.EmailLog
- func ProviderContainsFold(v string) predicate.EmailLog
- func ProviderEQ(v string) predicate.EmailLog
- func ProviderEqualFold(v string) predicate.EmailLog
- func ProviderGT(v string) predicate.EmailLog
- func ProviderGTE(v string) predicate.EmailLog
- func ProviderHasPrefix(v string) predicate.EmailLog
- func ProviderHasSuffix(v string) predicate.EmailLog
- func ProviderIn(vs ...string) predicate.EmailLog
- func ProviderLT(v string) predicate.EmailLog
- func ProviderLTE(v string) predicate.EmailLog
- func ProviderNEQ(v string) predicate.EmailLog
- func ProviderNotIn(vs ...string) predicate.EmailLog
- func SendStatus(v uint8) predicate.EmailLog
- func SendStatusEQ(v uint8) predicate.EmailLog
- func SendStatusGT(v uint8) predicate.EmailLog
- func SendStatusGTE(v uint8) predicate.EmailLog
- func SendStatusIn(vs ...uint8) predicate.EmailLog
- func SendStatusLT(v uint8) predicate.EmailLog
- func SendStatusLTE(v uint8) predicate.EmailLog
- func SendStatusNEQ(v uint8) predicate.EmailLog
- func SendStatusNotIn(vs ...uint8) predicate.EmailLog
- func Subject(v string) predicate.EmailLog
- func SubjectContains(v string) predicate.EmailLog
- func SubjectContainsFold(v string) predicate.EmailLog
- func SubjectEQ(v string) predicate.EmailLog
- func SubjectEqualFold(v string) predicate.EmailLog
- func SubjectGT(v string) predicate.EmailLog
- func SubjectGTE(v string) predicate.EmailLog
- func SubjectHasPrefix(v string) predicate.EmailLog
- func SubjectHasSuffix(v string) predicate.EmailLog
- func SubjectIn(vs ...string) predicate.EmailLog
- func SubjectLT(v string) predicate.EmailLog
- func SubjectLTE(v string) predicate.EmailLog
- func SubjectNEQ(v string) predicate.EmailLog
- func SubjectNotIn(vs ...string) predicate.EmailLog
- func Target(v string) predicate.EmailLog
- func TargetContains(v string) predicate.EmailLog
- func TargetContainsFold(v string) predicate.EmailLog
- func TargetEQ(v string) predicate.EmailLog
- func TargetEqualFold(v string) predicate.EmailLog
- func TargetGT(v string) predicate.EmailLog
- func TargetGTE(v string) predicate.EmailLog
- func TargetHasPrefix(v string) predicate.EmailLog
- func TargetHasSuffix(v string) predicate.EmailLog
- func TargetIn(vs ...string) predicate.EmailLog
- func TargetLT(v string) predicate.EmailLog
- func TargetLTE(v string) predicate.EmailLog
- func TargetNEQ(v string) predicate.EmailLog
- func TargetNotIn(vs ...string) predicate.EmailLog
- func UpdatedAt(v time.Time) predicate.EmailLog
- func UpdatedAtEQ(v time.Time) predicate.EmailLog
- func UpdatedAtGT(v time.Time) predicate.EmailLog
- func UpdatedAtGTE(v time.Time) predicate.EmailLog
- func UpdatedAtIn(vs ...time.Time) predicate.EmailLog
- func UpdatedAtLT(v time.Time) predicate.EmailLog
- func UpdatedAtLTE(v time.Time) predicate.EmailLog
- func UpdatedAtNEQ(v time.Time) predicate.EmailLog
- func UpdatedAtNotIn(vs ...time.Time) predicate.EmailLog
- func ValidColumn(column string) bool
- type OrderOption
- func ByContent(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByProvider(opts ...sql.OrderTermOption) OrderOption
- func BySendStatus(opts ...sql.OrderTermOption) OrderOption
- func BySubject(opts ...sql.OrderTermOption) OrderOption
- func ByTarget(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldTarget, FieldSubject, FieldContent, FieldSendStatus, FieldProvider, }
Columns holds all SQL columns for emaillog fields.
Functions ¶
func Content ¶
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEqualFold ¶
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGTE ¶
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentLTE ¶
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
ContentNotIn applies the NotIn predicate on the "content" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Provider ¶ added in v1.0.14
Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.
func ProviderContains ¶ added in v1.0.14
ProviderContains applies the Contains predicate on the "provider" field.
func ProviderContainsFold ¶ added in v1.0.14
ProviderContainsFold applies the ContainsFold predicate on the "provider" field.
func ProviderEQ ¶ added in v1.0.14
ProviderEQ applies the EQ predicate on the "provider" field.
func ProviderEqualFold ¶ added in v1.0.14
ProviderEqualFold applies the EqualFold predicate on the "provider" field.
func ProviderGT ¶ added in v1.0.14
ProviderGT applies the GT predicate on the "provider" field.
func ProviderGTE ¶ added in v1.0.14
ProviderGTE applies the GTE predicate on the "provider" field.
func ProviderHasPrefix ¶ added in v1.0.14
ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.
func ProviderHasSuffix ¶ added in v1.0.14
ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.
func ProviderIn ¶ added in v1.0.14
ProviderIn applies the In predicate on the "provider" field.
func ProviderLT ¶ added in v1.0.14
ProviderLT applies the LT predicate on the "provider" field.
func ProviderLTE ¶ added in v1.0.14
ProviderLTE applies the LTE predicate on the "provider" field.
func ProviderNEQ ¶ added in v1.0.14
ProviderNEQ applies the NEQ predicate on the "provider" field.
func ProviderNotIn ¶ added in v1.0.14
ProviderNotIn applies the NotIn predicate on the "provider" field.
func SendStatus ¶
SendStatus applies equality check predicate on the "send_status" field. It's identical to SendStatusEQ.
func SendStatusEQ ¶
SendStatusEQ applies the EQ predicate on the "send_status" field.
func SendStatusGT ¶
SendStatusGT applies the GT predicate on the "send_status" field.
func SendStatusGTE ¶
SendStatusGTE applies the GTE predicate on the "send_status" field.
func SendStatusIn ¶
SendStatusIn applies the In predicate on the "send_status" field.
func SendStatusLT ¶
SendStatusLT applies the LT predicate on the "send_status" field.
func SendStatusLTE ¶
SendStatusLTE applies the LTE predicate on the "send_status" field.
func SendStatusNEQ ¶
SendStatusNEQ applies the NEQ predicate on the "send_status" field.
func SendStatusNotIn ¶
SendStatusNotIn applies the NotIn predicate on the "send_status" field.
func Subject ¶
Subject applies equality check predicate on the "subject" field. It's identical to SubjectEQ.
func SubjectContains ¶
SubjectContains applies the Contains predicate on the "subject" field.
func SubjectContainsFold ¶
SubjectContainsFold applies the ContainsFold predicate on the "subject" field.
func SubjectEqualFold ¶
SubjectEqualFold applies the EqualFold predicate on the "subject" field.
func SubjectGTE ¶
SubjectGTE applies the GTE predicate on the "subject" field.
func SubjectHasPrefix ¶
SubjectHasPrefix applies the HasPrefix predicate on the "subject" field.
func SubjectHasSuffix ¶
SubjectHasSuffix applies the HasSuffix predicate on the "subject" field.
func SubjectLTE ¶
SubjectLTE applies the LTE predicate on the "subject" field.
func SubjectNEQ ¶
SubjectNEQ applies the NEQ predicate on the "subject" field.
func SubjectNotIn ¶
SubjectNotIn applies the NotIn predicate on the "subject" field.
func Target ¶
Target applies equality check predicate on the "target" field. It's identical to TargetEQ.
func TargetContains ¶
TargetContains applies the Contains predicate on the "target" field.
func TargetContainsFold ¶
TargetContainsFold applies the ContainsFold predicate on the "target" field.
func TargetEqualFold ¶
TargetEqualFold applies the EqualFold predicate on the "target" field.
func TargetHasPrefix ¶
TargetHasPrefix applies the HasPrefix predicate on the "target" field.
func TargetHasSuffix ¶
TargetHasSuffix applies the HasSuffix predicate on the "target" field.
func TargetNotIn ¶
TargetNotIn applies the NotIn predicate on the "target" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
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 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.