Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MsgTemplate) predicate.MsgTemplate
- func AttachmentsIsNil() predicate.MsgTemplate
- func AttachmentsNotNil() predicate.MsgTemplate
- func Bcc(v string) predicate.MsgTemplate
- func BccContains(v string) predicate.MsgTemplate
- func BccContainsFold(v string) predicate.MsgTemplate
- func BccEQ(v string) predicate.MsgTemplate
- func BccEqualFold(v string) predicate.MsgTemplate
- func BccGT(v string) predicate.MsgTemplate
- func BccGTE(v string) predicate.MsgTemplate
- func BccHasPrefix(v string) predicate.MsgTemplate
- func BccHasSuffix(v string) predicate.MsgTemplate
- func BccIn(vs ...string) predicate.MsgTemplate
- func BccIsNil() predicate.MsgTemplate
- func BccLT(v string) predicate.MsgTemplate
- func BccLTE(v string) predicate.MsgTemplate
- func BccNEQ(v string) predicate.MsgTemplate
- func BccNotIn(vs ...string) predicate.MsgTemplate
- func BccNotNil() predicate.MsgTemplate
- func Body(v string) predicate.MsgTemplate
- func BodyContains(v string) predicate.MsgTemplate
- func BodyContainsFold(v string) predicate.MsgTemplate
- func BodyEQ(v string) predicate.MsgTemplate
- func BodyEqualFold(v string) predicate.MsgTemplate
- func BodyGT(v string) predicate.MsgTemplate
- func BodyGTE(v string) predicate.MsgTemplate
- func BodyHasPrefix(v string) predicate.MsgTemplate
- func BodyHasSuffix(v string) predicate.MsgTemplate
- func BodyIn(vs ...string) predicate.MsgTemplate
- func BodyIsNil() predicate.MsgTemplate
- func BodyLT(v string) predicate.MsgTemplate
- func BodyLTE(v string) predicate.MsgTemplate
- func BodyNEQ(v string) predicate.MsgTemplate
- func BodyNotIn(vs ...string) predicate.MsgTemplate
- func BodyNotNil() predicate.MsgTemplate
- func Cc(v string) predicate.MsgTemplate
- func CcContains(v string) predicate.MsgTemplate
- func CcContainsFold(v string) predicate.MsgTemplate
- func CcEQ(v string) predicate.MsgTemplate
- func CcEqualFold(v string) predicate.MsgTemplate
- func CcGT(v string) predicate.MsgTemplate
- func CcGTE(v string) predicate.MsgTemplate
- func CcHasPrefix(v string) predicate.MsgTemplate
- func CcHasSuffix(v string) predicate.MsgTemplate
- func CcIn(vs ...string) predicate.MsgTemplate
- func CcIsNil() predicate.MsgTemplate
- func CcLT(v string) predicate.MsgTemplate
- func CcLTE(v string) predicate.MsgTemplate
- func CcNEQ(v string) predicate.MsgTemplate
- func CcNotIn(vs ...string) predicate.MsgTemplate
- func CcNotNil() predicate.MsgTemplate
- func Comments(v string) predicate.MsgTemplate
- func CommentsContains(v string) predicate.MsgTemplate
- func CommentsContainsFold(v string) predicate.MsgTemplate
- func CommentsEQ(v string) predicate.MsgTemplate
- func CommentsEqualFold(v string) predicate.MsgTemplate
- func CommentsGT(v string) predicate.MsgTemplate
- func CommentsGTE(v string) predicate.MsgTemplate
- func CommentsHasPrefix(v string) predicate.MsgTemplate
- func CommentsHasSuffix(v string) predicate.MsgTemplate
- func CommentsIn(vs ...string) predicate.MsgTemplate
- func CommentsIsNil() predicate.MsgTemplate
- func CommentsLT(v string) predicate.MsgTemplate
- func CommentsLTE(v string) predicate.MsgTemplate
- func CommentsNEQ(v string) predicate.MsgTemplate
- func CommentsNotIn(vs ...string) predicate.MsgTemplate
- func CommentsNotNil() predicate.MsgTemplate
- func CreatedAt(v time.Time) predicate.MsgTemplate
- func CreatedAtEQ(v time.Time) predicate.MsgTemplate
- func CreatedAtGT(v time.Time) predicate.MsgTemplate
- func CreatedAtGTE(v time.Time) predicate.MsgTemplate
- func CreatedAtIn(vs ...time.Time) predicate.MsgTemplate
- func CreatedAtLT(v time.Time) predicate.MsgTemplate
- func CreatedAtLTE(v time.Time) predicate.MsgTemplate
- func CreatedAtNEQ(v time.Time) predicate.MsgTemplate
- func CreatedAtNotIn(vs ...time.Time) predicate.MsgTemplate
- func CreatedBy(v int) predicate.MsgTemplate
- func CreatedByEQ(v int) predicate.MsgTemplate
- func CreatedByGT(v int) predicate.MsgTemplate
- func CreatedByGTE(v int) predicate.MsgTemplate
- func CreatedByIn(vs ...int) predicate.MsgTemplate
- func CreatedByLT(v int) predicate.MsgTemplate
- func CreatedByLTE(v int) predicate.MsgTemplate
- func CreatedByNEQ(v int) predicate.MsgTemplate
- func CreatedByNotIn(vs ...int) predicate.MsgTemplate
- func FormatEQ(v Format) predicate.MsgTemplate
- func FormatIn(vs ...Format) predicate.MsgTemplate
- func FormatNEQ(v Format) predicate.MsgTemplate
- func FormatNotIn(vs ...Format) predicate.MsgTemplate
- func FormatValidator(f Format) error
- func From(v string) predicate.MsgTemplate
- func FromContains(v string) predicate.MsgTemplate
- func FromContainsFold(v string) predicate.MsgTemplate
- func FromEQ(v string) predicate.MsgTemplate
- func FromEqualFold(v string) predicate.MsgTemplate
- func FromGT(v string) predicate.MsgTemplate
- func FromGTE(v string) predicate.MsgTemplate
- func FromHasPrefix(v string) predicate.MsgTemplate
- func FromHasSuffix(v string) predicate.MsgTemplate
- func FromIn(vs ...string) predicate.MsgTemplate
- func FromIsNil() predicate.MsgTemplate
- func FromLT(v string) predicate.MsgTemplate
- func FromLTE(v string) predicate.MsgTemplate
- func FromNEQ(v string) predicate.MsgTemplate
- func FromNotIn(vs ...string) predicate.MsgTemplate
- func FromNotNil() predicate.MsgTemplate
- func HasEvent() predicate.MsgTemplate
- func HasEventWith(preds ...predicate.MsgEvent) predicate.MsgTemplate
- func ID(id int) predicate.MsgTemplate
- func IDEQ(id int) predicate.MsgTemplate
- func IDGT(id int) predicate.MsgTemplate
- func IDGTE(id int) predicate.MsgTemplate
- func IDIn(ids ...int) predicate.MsgTemplate
- func IDLT(id int) predicate.MsgTemplate
- func IDLTE(id int) predicate.MsgTemplate
- func IDNEQ(id int) predicate.MsgTemplate
- func IDNotIn(ids ...int) predicate.MsgTemplate
- func MsgEventID(v int) predicate.MsgTemplate
- func MsgEventIDEQ(v int) predicate.MsgTemplate
- func MsgEventIDIn(vs ...int) predicate.MsgTemplate
- func MsgEventIDNEQ(v int) predicate.MsgTemplate
- func MsgEventIDNotIn(vs ...int) predicate.MsgTemplate
- func MsgTypeID(v int) predicate.MsgTemplate
- func MsgTypeIDEQ(v int) predicate.MsgTemplate
- func MsgTypeIDGT(v int) predicate.MsgTemplate
- func MsgTypeIDGTE(v int) predicate.MsgTemplate
- func MsgTypeIDIn(vs ...int) predicate.MsgTemplate
- func MsgTypeIDLT(v int) predicate.MsgTemplate
- func MsgTypeIDLTE(v int) predicate.MsgTemplate
- func MsgTypeIDNEQ(v int) predicate.MsgTemplate
- func MsgTypeIDNotIn(vs ...int) predicate.MsgTemplate
- func Name(v string) predicate.MsgTemplate
- func NameContains(v string) predicate.MsgTemplate
- func NameContainsFold(v string) predicate.MsgTemplate
- func NameEQ(v string) predicate.MsgTemplate
- func NameEqualFold(v string) predicate.MsgTemplate
- func NameGT(v string) predicate.MsgTemplate
- func NameGTE(v string) predicate.MsgTemplate
- func NameHasPrefix(v string) predicate.MsgTemplate
- func NameHasSuffix(v string) predicate.MsgTemplate
- func NameIn(vs ...string) predicate.MsgTemplate
- func NameLT(v string) predicate.MsgTemplate
- func NameLTE(v string) predicate.MsgTemplate
- func NameNEQ(v string) predicate.MsgTemplate
- func NameNotIn(vs ...string) predicate.MsgTemplate
- func Not(p predicate.MsgTemplate) predicate.MsgTemplate
- func Or(predicates ...predicate.MsgTemplate) predicate.MsgTemplate
- func ReceiverTypeEQ(v profile.ReceiverType) predicate.MsgTemplate
- func ReceiverTypeIn(vs ...profile.ReceiverType) predicate.MsgTemplate
- func ReceiverTypeNEQ(v profile.ReceiverType) predicate.MsgTemplate
- func ReceiverTypeNotIn(vs ...profile.ReceiverType) predicate.MsgTemplate
- func ReceiverTypeValidator(rt profile.ReceiverType) error
- func StatusEQ(v typex.SimpleStatus) predicate.MsgTemplate
- func StatusIn(vs ...typex.SimpleStatus) predicate.MsgTemplate
- func StatusIsNil() predicate.MsgTemplate
- func StatusNEQ(v typex.SimpleStatus) predicate.MsgTemplate
- func StatusNotIn(vs ...typex.SimpleStatus) predicate.MsgTemplate
- func StatusNotNil() predicate.MsgTemplate
- func StatusValidator(s typex.SimpleStatus) error
- func Subject(v string) predicate.MsgTemplate
- func SubjectContains(v string) predicate.MsgTemplate
- func SubjectContainsFold(v string) predicate.MsgTemplate
- func SubjectEQ(v string) predicate.MsgTemplate
- func SubjectEqualFold(v string) predicate.MsgTemplate
- func SubjectGT(v string) predicate.MsgTemplate
- func SubjectGTE(v string) predicate.MsgTemplate
- func SubjectHasPrefix(v string) predicate.MsgTemplate
- func SubjectHasSuffix(v string) predicate.MsgTemplate
- func SubjectIn(vs ...string) predicate.MsgTemplate
- func SubjectIsNil() predicate.MsgTemplate
- func SubjectLT(v string) predicate.MsgTemplate
- func SubjectLTE(v string) predicate.MsgTemplate
- func SubjectNEQ(v string) predicate.MsgTemplate
- func SubjectNotIn(vs ...string) predicate.MsgTemplate
- func SubjectNotNil() predicate.MsgTemplate
- func TenantID(v int) predicate.MsgTemplate
- func TenantIDEQ(v int) predicate.MsgTemplate
- func TenantIDGT(v int) predicate.MsgTemplate
- func TenantIDGTE(v int) predicate.MsgTemplate
- func TenantIDIn(vs ...int) predicate.MsgTemplate
- func TenantIDLT(v int) predicate.MsgTemplate
- func TenantIDLTE(v int) predicate.MsgTemplate
- func TenantIDNEQ(v int) predicate.MsgTemplate
- func TenantIDNotIn(vs ...int) predicate.MsgTemplate
- func To(v string) predicate.MsgTemplate
- func ToContains(v string) predicate.MsgTemplate
- func ToContainsFold(v string) predicate.MsgTemplate
- func ToEQ(v string) predicate.MsgTemplate
- func ToEqualFold(v string) predicate.MsgTemplate
- func ToGT(v string) predicate.MsgTemplate
- func ToGTE(v string) predicate.MsgTemplate
- func ToHasPrefix(v string) predicate.MsgTemplate
- func ToHasSuffix(v string) predicate.MsgTemplate
- func ToIn(vs ...string) predicate.MsgTemplate
- func ToIsNil() predicate.MsgTemplate
- func ToLT(v string) predicate.MsgTemplate
- func ToLTE(v string) predicate.MsgTemplate
- func ToNEQ(v string) predicate.MsgTemplate
- func ToNotIn(vs ...string) predicate.MsgTemplate
- func ToNotNil() predicate.MsgTemplate
- func Tpl(v string) predicate.MsgTemplate
- func TplContains(v string) predicate.MsgTemplate
- func TplContainsFold(v string) predicate.MsgTemplate
- func TplEQ(v string) predicate.MsgTemplate
- func TplEqualFold(v string) predicate.MsgTemplate
- func TplGT(v string) predicate.MsgTemplate
- func TplGTE(v string) predicate.MsgTemplate
- func TplHasPrefix(v string) predicate.MsgTemplate
- func TplHasSuffix(v string) predicate.MsgTemplate
- func TplIn(vs ...string) predicate.MsgTemplate
- func TplIsNil() predicate.MsgTemplate
- func TplLT(v string) predicate.MsgTemplate
- func TplLTE(v string) predicate.MsgTemplate
- func TplNEQ(v string) predicate.MsgTemplate
- func TplNotIn(vs ...string) predicate.MsgTemplate
- func TplNotNil() predicate.MsgTemplate
- func UpdatedAt(v time.Time) predicate.MsgTemplate
- func UpdatedAtEQ(v time.Time) predicate.MsgTemplate
- func UpdatedAtGT(v time.Time) predicate.MsgTemplate
- func UpdatedAtGTE(v time.Time) predicate.MsgTemplate
- func UpdatedAtIn(vs ...time.Time) predicate.MsgTemplate
- func UpdatedAtIsNil() predicate.MsgTemplate
- func UpdatedAtLT(v time.Time) predicate.MsgTemplate
- func UpdatedAtLTE(v time.Time) predicate.MsgTemplate
- func UpdatedAtNEQ(v time.Time) predicate.MsgTemplate
- func UpdatedAtNotIn(vs ...time.Time) predicate.MsgTemplate
- func UpdatedAtNotNil() predicate.MsgTemplate
- func UpdatedBy(v int) predicate.MsgTemplate
- func UpdatedByEQ(v int) predicate.MsgTemplate
- func UpdatedByGT(v int) predicate.MsgTemplate
- func UpdatedByGTE(v int) predicate.MsgTemplate
- func UpdatedByIn(vs ...int) predicate.MsgTemplate
- func UpdatedByIsNil() predicate.MsgTemplate
- func UpdatedByLT(v int) predicate.MsgTemplate
- func UpdatedByLTE(v int) predicate.MsgTemplate
- func UpdatedByNEQ(v int) predicate.MsgTemplate
- func UpdatedByNotIn(vs ...int) predicate.MsgTemplate
- func UpdatedByNotNil() predicate.MsgTemplate
- func ValidColumn(column string) bool
- type Format
- type OrderOption
- func ByBcc(opts ...sql.OrderTermOption) OrderOption
- func ByBody(opts ...sql.OrderTermOption) OrderOption
- func ByCc(opts ...sql.OrderTermOption) OrderOption
- func ByComments(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEventField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByFormat(opts ...sql.OrderTermOption) OrderOption
- func ByFrom(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMsgEventID(opts ...sql.OrderTermOption) OrderOption
- func ByMsgTypeID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByReceiverType(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySubject(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByTo(opts ...sql.OrderTermOption) OrderOption
- func ByTpl(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the msgtemplate type in the database. Label = "msg_template" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldMsgTypeID holds the string denoting the msg_type_id field in the database. FieldMsgTypeID = "msg_type_id" // FieldMsgEventID holds the string denoting the msg_event_id field in the database. FieldMsgEventID = "msg_event_id" // FieldTenantID holds the string denoting the tenant_id field in the database. FieldTenantID = "tenant_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldReceiverType holds the string denoting the receiver_type field in the database. FieldReceiverType = "receiver_type" // FieldFormat holds the string denoting the format field in the database. FieldFormat = "format" // FieldSubject holds the string denoting the subject field in the database. FieldSubject = "subject" // FieldFrom holds the string denoting the from field in the database. FieldFrom = "from" // FieldTo holds the string denoting the to field in the database. FieldTo = "to" // FieldCc holds the string denoting the cc field in the database. FieldCc = "cc" // FieldBcc holds the string denoting the bcc field in the database. FieldBcc = "bcc" // FieldBody holds the string denoting the body field in the database. FieldBody = "body" // FieldTpl holds the string denoting the tpl field in the database. FieldTpl = "tpl" // FieldAttachments holds the string denoting the attachments field in the database. FieldAttachments = "attachments" // FieldComments holds the string denoting the comments field in the database. FieldComments = "comments" // EdgeEvent holds the string denoting the event edge name in mutations. EdgeEvent = "event" // Table holds the table name of the msgtemplate in the database. Table = "msg_template" // EventTable is the table that holds the event relation/edge. EventTable = "msg_template" // EventInverseTable is the table name for the MsgEvent entity. // It exists in this package in order to avoid circular dependency with the "msgevent" package. EventInverseTable = "msg_event" // EventColumn is the table column denoting the event relation/edge. EventColumn = "msg_event_id" )
const DefaultStatus typex.SimpleStatus = "inactive"
Variables ¶
var ( Hooks [2]ent.Hook // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/woocoos/msgcenter/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedBy, FieldCreatedAt, FieldUpdatedBy, FieldUpdatedAt, FieldMsgTypeID, FieldMsgEventID, FieldTenantID, FieldName, FieldStatus, FieldReceiverType, FieldFormat, FieldSubject, FieldFrom, FieldTo, FieldCc, FieldBcc, FieldBody, FieldTpl, FieldAttachments, FieldComments, }
Columns holds all SQL columns for msgtemplate fields.
Functions ¶
func And ¶
func And(predicates ...predicate.MsgTemplate) predicate.MsgTemplate
And groups predicates with the AND operator between them.
func AttachmentsIsNil ¶
func AttachmentsIsNil() predicate.MsgTemplate
AttachmentsIsNil applies the IsNil predicate on the "attachments" field.
func AttachmentsNotNil ¶
func AttachmentsNotNil() predicate.MsgTemplate
AttachmentsNotNil applies the NotNil predicate on the "attachments" field.
func Bcc ¶
func Bcc(v string) predicate.MsgTemplate
Bcc applies equality check predicate on the "bcc" field. It's identical to BccEQ.
func BccContains ¶
func BccContains(v string) predicate.MsgTemplate
BccContains applies the Contains predicate on the "bcc" field.
func BccContainsFold ¶
func BccContainsFold(v string) predicate.MsgTemplate
BccContainsFold applies the ContainsFold predicate on the "bcc" field.
func BccEQ ¶
func BccEQ(v string) predicate.MsgTemplate
BccEQ applies the EQ predicate on the "bcc" field.
func BccEqualFold ¶
func BccEqualFold(v string) predicate.MsgTemplate
BccEqualFold applies the EqualFold predicate on the "bcc" field.
func BccGT ¶
func BccGT(v string) predicate.MsgTemplate
BccGT applies the GT predicate on the "bcc" field.
func BccGTE ¶
func BccGTE(v string) predicate.MsgTemplate
BccGTE applies the GTE predicate on the "bcc" field.
func BccHasPrefix ¶
func BccHasPrefix(v string) predicate.MsgTemplate
BccHasPrefix applies the HasPrefix predicate on the "bcc" field.
func BccHasSuffix ¶
func BccHasSuffix(v string) predicate.MsgTemplate
BccHasSuffix applies the HasSuffix predicate on the "bcc" field.
func BccIn ¶
func BccIn(vs ...string) predicate.MsgTemplate
BccIn applies the In predicate on the "bcc" field.
func BccIsNil ¶
func BccIsNil() predicate.MsgTemplate
BccIsNil applies the IsNil predicate on the "bcc" field.
func BccLT ¶
func BccLT(v string) predicate.MsgTemplate
BccLT applies the LT predicate on the "bcc" field.
func BccLTE ¶
func BccLTE(v string) predicate.MsgTemplate
BccLTE applies the LTE predicate on the "bcc" field.
func BccNEQ ¶
func BccNEQ(v string) predicate.MsgTemplate
BccNEQ applies the NEQ predicate on the "bcc" field.
func BccNotIn ¶
func BccNotIn(vs ...string) predicate.MsgTemplate
BccNotIn applies the NotIn predicate on the "bcc" field.
func BccNotNil ¶
func BccNotNil() predicate.MsgTemplate
BccNotNil applies the NotNil predicate on the "bcc" field.
func Body ¶
func Body(v string) predicate.MsgTemplate
Body applies equality check predicate on the "body" field. It's identical to BodyEQ.
func BodyContains ¶
func BodyContains(v string) predicate.MsgTemplate
BodyContains applies the Contains predicate on the "body" field.
func BodyContainsFold ¶
func BodyContainsFold(v string) predicate.MsgTemplate
BodyContainsFold applies the ContainsFold predicate on the "body" field.
func BodyEQ ¶
func BodyEQ(v string) predicate.MsgTemplate
BodyEQ applies the EQ predicate on the "body" field.
func BodyEqualFold ¶
func BodyEqualFold(v string) predicate.MsgTemplate
BodyEqualFold applies the EqualFold predicate on the "body" field.
func BodyGT ¶
func BodyGT(v string) predicate.MsgTemplate
BodyGT applies the GT predicate on the "body" field.
func BodyGTE ¶
func BodyGTE(v string) predicate.MsgTemplate
BodyGTE applies the GTE predicate on the "body" field.
func BodyHasPrefix ¶
func BodyHasPrefix(v string) predicate.MsgTemplate
BodyHasPrefix applies the HasPrefix predicate on the "body" field.
func BodyHasSuffix ¶
func BodyHasSuffix(v string) predicate.MsgTemplate
BodyHasSuffix applies the HasSuffix predicate on the "body" field.
func BodyIn ¶
func BodyIn(vs ...string) predicate.MsgTemplate
BodyIn applies the In predicate on the "body" field.
func BodyIsNil ¶
func BodyIsNil() predicate.MsgTemplate
BodyIsNil applies the IsNil predicate on the "body" field.
func BodyLT ¶
func BodyLT(v string) predicate.MsgTemplate
BodyLT applies the LT predicate on the "body" field.
func BodyLTE ¶
func BodyLTE(v string) predicate.MsgTemplate
BodyLTE applies the LTE predicate on the "body" field.
func BodyNEQ ¶
func BodyNEQ(v string) predicate.MsgTemplate
BodyNEQ applies the NEQ predicate on the "body" field.
func BodyNotIn ¶
func BodyNotIn(vs ...string) predicate.MsgTemplate
BodyNotIn applies the NotIn predicate on the "body" field.
func BodyNotNil ¶
func BodyNotNil() predicate.MsgTemplate
BodyNotNil applies the NotNil predicate on the "body" field.
func Cc ¶
func Cc(v string) predicate.MsgTemplate
Cc applies equality check predicate on the "cc" field. It's identical to CcEQ.
func CcContains ¶
func CcContains(v string) predicate.MsgTemplate
CcContains applies the Contains predicate on the "cc" field.
func CcContainsFold ¶
func CcContainsFold(v string) predicate.MsgTemplate
CcContainsFold applies the ContainsFold predicate on the "cc" field.
func CcEQ ¶
func CcEQ(v string) predicate.MsgTemplate
CcEQ applies the EQ predicate on the "cc" field.
func CcEqualFold ¶
func CcEqualFold(v string) predicate.MsgTemplate
CcEqualFold applies the EqualFold predicate on the "cc" field.
func CcGT ¶
func CcGT(v string) predicate.MsgTemplate
CcGT applies the GT predicate on the "cc" field.
func CcGTE ¶
func CcGTE(v string) predicate.MsgTemplate
CcGTE applies the GTE predicate on the "cc" field.
func CcHasPrefix ¶
func CcHasPrefix(v string) predicate.MsgTemplate
CcHasPrefix applies the HasPrefix predicate on the "cc" field.
func CcHasSuffix ¶
func CcHasSuffix(v string) predicate.MsgTemplate
CcHasSuffix applies the HasSuffix predicate on the "cc" field.
func CcIn ¶
func CcIn(vs ...string) predicate.MsgTemplate
CcIn applies the In predicate on the "cc" field.
func CcIsNil ¶
func CcIsNil() predicate.MsgTemplate
CcIsNil applies the IsNil predicate on the "cc" field.
func CcLT ¶
func CcLT(v string) predicate.MsgTemplate
CcLT applies the LT predicate on the "cc" field.
func CcLTE ¶
func CcLTE(v string) predicate.MsgTemplate
CcLTE applies the LTE predicate on the "cc" field.
func CcNEQ ¶
func CcNEQ(v string) predicate.MsgTemplate
CcNEQ applies the NEQ predicate on the "cc" field.
func CcNotIn ¶
func CcNotIn(vs ...string) predicate.MsgTemplate
CcNotIn applies the NotIn predicate on the "cc" field.
func CcNotNil ¶
func CcNotNil() predicate.MsgTemplate
CcNotNil applies the NotNil predicate on the "cc" field.
func Comments ¶
func Comments(v string) predicate.MsgTemplate
Comments applies equality check predicate on the "comments" field. It's identical to CommentsEQ.
func CommentsContains ¶
func CommentsContains(v string) predicate.MsgTemplate
CommentsContains applies the Contains predicate on the "comments" field.
func CommentsContainsFold ¶
func CommentsContainsFold(v string) predicate.MsgTemplate
CommentsContainsFold applies the ContainsFold predicate on the "comments" field.
func CommentsEQ ¶
func CommentsEQ(v string) predicate.MsgTemplate
CommentsEQ applies the EQ predicate on the "comments" field.
func CommentsEqualFold ¶
func CommentsEqualFold(v string) predicate.MsgTemplate
CommentsEqualFold applies the EqualFold predicate on the "comments" field.
func CommentsGT ¶
func CommentsGT(v string) predicate.MsgTemplate
CommentsGT applies the GT predicate on the "comments" field.
func CommentsGTE ¶
func CommentsGTE(v string) predicate.MsgTemplate
CommentsGTE applies the GTE predicate on the "comments" field.
func CommentsHasPrefix ¶
func CommentsHasPrefix(v string) predicate.MsgTemplate
CommentsHasPrefix applies the HasPrefix predicate on the "comments" field.
func CommentsHasSuffix ¶
func CommentsHasSuffix(v string) predicate.MsgTemplate
CommentsHasSuffix applies the HasSuffix predicate on the "comments" field.
func CommentsIn ¶
func CommentsIn(vs ...string) predicate.MsgTemplate
CommentsIn applies the In predicate on the "comments" field.
func CommentsIsNil ¶
func CommentsIsNil() predicate.MsgTemplate
CommentsIsNil applies the IsNil predicate on the "comments" field.
func CommentsLT ¶
func CommentsLT(v string) predicate.MsgTemplate
CommentsLT applies the LT predicate on the "comments" field.
func CommentsLTE ¶
func CommentsLTE(v string) predicate.MsgTemplate
CommentsLTE applies the LTE predicate on the "comments" field.
func CommentsNEQ ¶
func CommentsNEQ(v string) predicate.MsgTemplate
CommentsNEQ applies the NEQ predicate on the "comments" field.
func CommentsNotIn ¶
func CommentsNotIn(vs ...string) predicate.MsgTemplate
CommentsNotIn applies the NotIn predicate on the "comments" field.
func CommentsNotNil ¶
func CommentsNotNil() predicate.MsgTemplate
CommentsNotNil applies the NotNil predicate on the "comments" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.MsgTemplate
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.MsgTemplate
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.MsgTemplate
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.MsgTemplate
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.MsgTemplate
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.MsgTemplate
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.MsgTemplate
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.MsgTemplate
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.MsgTemplate
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v int) predicate.MsgTemplate
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
func CreatedByEQ(v int) predicate.MsgTemplate
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v int) predicate.MsgTemplate
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v int) predicate.MsgTemplate
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...int) predicate.MsgTemplate
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v int) predicate.MsgTemplate
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v int) predicate.MsgTemplate
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v int) predicate.MsgTemplate
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...int) predicate.MsgTemplate
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func FormatEQ ¶
func FormatEQ(v Format) predicate.MsgTemplate
FormatEQ applies the EQ predicate on the "format" field.
func FormatIn ¶
func FormatIn(vs ...Format) predicate.MsgTemplate
FormatIn applies the In predicate on the "format" field.
func FormatNEQ ¶
func FormatNEQ(v Format) predicate.MsgTemplate
FormatNEQ applies the NEQ predicate on the "format" field.
func FormatNotIn ¶
func FormatNotIn(vs ...Format) predicate.MsgTemplate
FormatNotIn applies the NotIn predicate on the "format" field.
func FormatValidator ¶
FormatValidator is a validator for the "format" field enum values. It is called by the builders before save.
func From ¶
func From(v string) predicate.MsgTemplate
From applies equality check predicate on the "from" field. It's identical to FromEQ.
func FromContains ¶
func FromContains(v string) predicate.MsgTemplate
FromContains applies the Contains predicate on the "from" field.
func FromContainsFold ¶
func FromContainsFold(v string) predicate.MsgTemplate
FromContainsFold applies the ContainsFold predicate on the "from" field.
func FromEQ ¶
func FromEQ(v string) predicate.MsgTemplate
FromEQ applies the EQ predicate on the "from" field.
func FromEqualFold ¶
func FromEqualFold(v string) predicate.MsgTemplate
FromEqualFold applies the EqualFold predicate on the "from" field.
func FromGT ¶
func FromGT(v string) predicate.MsgTemplate
FromGT applies the GT predicate on the "from" field.
func FromGTE ¶
func FromGTE(v string) predicate.MsgTemplate
FromGTE applies the GTE predicate on the "from" field.
func FromHasPrefix ¶
func FromHasPrefix(v string) predicate.MsgTemplate
FromHasPrefix applies the HasPrefix predicate on the "from" field.
func FromHasSuffix ¶
func FromHasSuffix(v string) predicate.MsgTemplate
FromHasSuffix applies the HasSuffix predicate on the "from" field.
func FromIn ¶
func FromIn(vs ...string) predicate.MsgTemplate
FromIn applies the In predicate on the "from" field.
func FromIsNil ¶
func FromIsNil() predicate.MsgTemplate
FromIsNil applies the IsNil predicate on the "from" field.
func FromLT ¶
func FromLT(v string) predicate.MsgTemplate
FromLT applies the LT predicate on the "from" field.
func FromLTE ¶
func FromLTE(v string) predicate.MsgTemplate
FromLTE applies the LTE predicate on the "from" field.
func FromNEQ ¶
func FromNEQ(v string) predicate.MsgTemplate
FromNEQ applies the NEQ predicate on the "from" field.
func FromNotIn ¶
func FromNotIn(vs ...string) predicate.MsgTemplate
FromNotIn applies the NotIn predicate on the "from" field.
func FromNotNil ¶
func FromNotNil() predicate.MsgTemplate
FromNotNil applies the NotNil predicate on the "from" field.
func HasEvent ¶
func HasEvent() predicate.MsgTemplate
HasEvent applies the HasEdge predicate on the "event" edge.
func HasEventWith ¶
func HasEventWith(preds ...predicate.MsgEvent) predicate.MsgTemplate
HasEventWith applies the HasEdge predicate on the "event" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.MsgTemplate
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.MsgTemplate
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.MsgTemplate
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.MsgTemplate
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.MsgTemplate
IDNotIn applies the NotIn predicate on the ID field.
func MsgEventID ¶
func MsgEventID(v int) predicate.MsgTemplate
MsgEventID applies equality check predicate on the "msg_event_id" field. It's identical to MsgEventIDEQ.
func MsgEventIDEQ ¶
func MsgEventIDEQ(v int) predicate.MsgTemplate
MsgEventIDEQ applies the EQ predicate on the "msg_event_id" field.
func MsgEventIDIn ¶
func MsgEventIDIn(vs ...int) predicate.MsgTemplate
MsgEventIDIn applies the In predicate on the "msg_event_id" field.
func MsgEventIDNEQ ¶
func MsgEventIDNEQ(v int) predicate.MsgTemplate
MsgEventIDNEQ applies the NEQ predicate on the "msg_event_id" field.
func MsgEventIDNotIn ¶
func MsgEventIDNotIn(vs ...int) predicate.MsgTemplate
MsgEventIDNotIn applies the NotIn predicate on the "msg_event_id" field.
func MsgTypeID ¶
func MsgTypeID(v int) predicate.MsgTemplate
MsgTypeID applies equality check predicate on the "msg_type_id" field. It's identical to MsgTypeIDEQ.
func MsgTypeIDEQ ¶
func MsgTypeIDEQ(v int) predicate.MsgTemplate
MsgTypeIDEQ applies the EQ predicate on the "msg_type_id" field.
func MsgTypeIDGT ¶
func MsgTypeIDGT(v int) predicate.MsgTemplate
MsgTypeIDGT applies the GT predicate on the "msg_type_id" field.
func MsgTypeIDGTE ¶
func MsgTypeIDGTE(v int) predicate.MsgTemplate
MsgTypeIDGTE applies the GTE predicate on the "msg_type_id" field.
func MsgTypeIDIn ¶
func MsgTypeIDIn(vs ...int) predicate.MsgTemplate
MsgTypeIDIn applies the In predicate on the "msg_type_id" field.
func MsgTypeIDLT ¶
func MsgTypeIDLT(v int) predicate.MsgTemplate
MsgTypeIDLT applies the LT predicate on the "msg_type_id" field.
func MsgTypeIDLTE ¶
func MsgTypeIDLTE(v int) predicate.MsgTemplate
MsgTypeIDLTE applies the LTE predicate on the "msg_type_id" field.
func MsgTypeIDNEQ ¶
func MsgTypeIDNEQ(v int) predicate.MsgTemplate
MsgTypeIDNEQ applies the NEQ predicate on the "msg_type_id" field.
func MsgTypeIDNotIn ¶
func MsgTypeIDNotIn(vs ...int) predicate.MsgTemplate
MsgTypeIDNotIn applies the NotIn predicate on the "msg_type_id" field.
func Name ¶
func Name(v string) predicate.MsgTemplate
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.MsgTemplate
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.MsgTemplate
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.MsgTemplate
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.MsgTemplate
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.MsgTemplate
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.MsgTemplate
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.MsgTemplate
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.MsgTemplate
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.MsgTemplate
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.MsgTemplate
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.MsgTemplate
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.MsgTemplate
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.MsgTemplate
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.MsgTemplate) predicate.MsgTemplate
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MsgTemplate) predicate.MsgTemplate
Or groups predicates with the OR operator between them.
func ReceiverTypeEQ ¶
func ReceiverTypeEQ(v profile.ReceiverType) predicate.MsgTemplate
ReceiverTypeEQ applies the EQ predicate on the "receiver_type" field.
func ReceiverTypeIn ¶
func ReceiverTypeIn(vs ...profile.ReceiverType) predicate.MsgTemplate
ReceiverTypeIn applies the In predicate on the "receiver_type" field.
func ReceiverTypeNEQ ¶
func ReceiverTypeNEQ(v profile.ReceiverType) predicate.MsgTemplate
ReceiverTypeNEQ applies the NEQ predicate on the "receiver_type" field.
func ReceiverTypeNotIn ¶
func ReceiverTypeNotIn(vs ...profile.ReceiverType) predicate.MsgTemplate
ReceiverTypeNotIn applies the NotIn predicate on the "receiver_type" field.
func ReceiverTypeValidator ¶
func ReceiverTypeValidator(rt profile.ReceiverType) error
ReceiverTypeValidator is a validator for the "receiver_type" field enum values. It is called by the builders before save.
func StatusEQ ¶
func StatusEQ(v typex.SimpleStatus) predicate.MsgTemplate
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...typex.SimpleStatus) predicate.MsgTemplate
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶
func StatusIsNil() predicate.MsgTemplate
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v typex.SimpleStatus) predicate.MsgTemplate
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...typex.SimpleStatus) predicate.MsgTemplate
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
func StatusNotNil() predicate.MsgTemplate
StatusNotNil applies the NotNil predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s typex.SimpleStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func Subject ¶
func Subject(v string) predicate.MsgTemplate
Subject applies equality check predicate on the "subject" field. It's identical to SubjectEQ.
func SubjectContains ¶
func SubjectContains(v string) predicate.MsgTemplate
SubjectContains applies the Contains predicate on the "subject" field.
func SubjectContainsFold ¶
func SubjectContainsFold(v string) predicate.MsgTemplate
SubjectContainsFold applies the ContainsFold predicate on the "subject" field.
func SubjectEQ ¶
func SubjectEQ(v string) predicate.MsgTemplate
SubjectEQ applies the EQ predicate on the "subject" field.
func SubjectEqualFold ¶
func SubjectEqualFold(v string) predicate.MsgTemplate
SubjectEqualFold applies the EqualFold predicate on the "subject" field.
func SubjectGT ¶
func SubjectGT(v string) predicate.MsgTemplate
SubjectGT applies the GT predicate on the "subject" field.
func SubjectGTE ¶
func SubjectGTE(v string) predicate.MsgTemplate
SubjectGTE applies the GTE predicate on the "subject" field.
func SubjectHasPrefix ¶
func SubjectHasPrefix(v string) predicate.MsgTemplate
SubjectHasPrefix applies the HasPrefix predicate on the "subject" field.
func SubjectHasSuffix ¶
func SubjectHasSuffix(v string) predicate.MsgTemplate
SubjectHasSuffix applies the HasSuffix predicate on the "subject" field.
func SubjectIn ¶
func SubjectIn(vs ...string) predicate.MsgTemplate
SubjectIn applies the In predicate on the "subject" field.
func SubjectIsNil ¶
func SubjectIsNil() predicate.MsgTemplate
SubjectIsNil applies the IsNil predicate on the "subject" field.
func SubjectLT ¶
func SubjectLT(v string) predicate.MsgTemplate
SubjectLT applies the LT predicate on the "subject" field.
func SubjectLTE ¶
func SubjectLTE(v string) predicate.MsgTemplate
SubjectLTE applies the LTE predicate on the "subject" field.
func SubjectNEQ ¶
func SubjectNEQ(v string) predicate.MsgTemplate
SubjectNEQ applies the NEQ predicate on the "subject" field.
func SubjectNotIn ¶
func SubjectNotIn(vs ...string) predicate.MsgTemplate
SubjectNotIn applies the NotIn predicate on the "subject" field.
func SubjectNotNil ¶
func SubjectNotNil() predicate.MsgTemplate
SubjectNotNil applies the NotNil predicate on the "subject" field.
func TenantID ¶
func TenantID(v int) predicate.MsgTemplate
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDEQ ¶
func TenantIDEQ(v int) predicate.MsgTemplate
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDGT ¶
func TenantIDGT(v int) predicate.MsgTemplate
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
func TenantIDGTE(v int) predicate.MsgTemplate
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDIn ¶
func TenantIDIn(vs ...int) predicate.MsgTemplate
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
func TenantIDLT(v int) predicate.MsgTemplate
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
func TenantIDLTE(v int) predicate.MsgTemplate
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
func TenantIDNEQ(v int) predicate.MsgTemplate
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
func TenantIDNotIn(vs ...int) predicate.MsgTemplate
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func To ¶
func To(v string) predicate.MsgTemplate
To applies equality check predicate on the "to" field. It's identical to ToEQ.
func ToContains ¶
func ToContains(v string) predicate.MsgTemplate
ToContains applies the Contains predicate on the "to" field.
func ToContainsFold ¶
func ToContainsFold(v string) predicate.MsgTemplate
ToContainsFold applies the ContainsFold predicate on the "to" field.
func ToEQ ¶
func ToEQ(v string) predicate.MsgTemplate
ToEQ applies the EQ predicate on the "to" field.
func ToEqualFold ¶
func ToEqualFold(v string) predicate.MsgTemplate
ToEqualFold applies the EqualFold predicate on the "to" field.
func ToGT ¶
func ToGT(v string) predicate.MsgTemplate
ToGT applies the GT predicate on the "to" field.
func ToGTE ¶
func ToGTE(v string) predicate.MsgTemplate
ToGTE applies the GTE predicate on the "to" field.
func ToHasPrefix ¶
func ToHasPrefix(v string) predicate.MsgTemplate
ToHasPrefix applies the HasPrefix predicate on the "to" field.
func ToHasSuffix ¶
func ToHasSuffix(v string) predicate.MsgTemplate
ToHasSuffix applies the HasSuffix predicate on the "to" field.
func ToIn ¶
func ToIn(vs ...string) predicate.MsgTemplate
ToIn applies the In predicate on the "to" field.
func ToIsNil ¶
func ToIsNil() predicate.MsgTemplate
ToIsNil applies the IsNil predicate on the "to" field.
func ToLT ¶
func ToLT(v string) predicate.MsgTemplate
ToLT applies the LT predicate on the "to" field.
func ToLTE ¶
func ToLTE(v string) predicate.MsgTemplate
ToLTE applies the LTE predicate on the "to" field.
func ToNEQ ¶
func ToNEQ(v string) predicate.MsgTemplate
ToNEQ applies the NEQ predicate on the "to" field.
func ToNotIn ¶
func ToNotIn(vs ...string) predicate.MsgTemplate
ToNotIn applies the NotIn predicate on the "to" field.
func ToNotNil ¶
func ToNotNil() predicate.MsgTemplate
ToNotNil applies the NotNil predicate on the "to" field.
func Tpl ¶
func Tpl(v string) predicate.MsgTemplate
Tpl applies equality check predicate on the "tpl" field. It's identical to TplEQ.
func TplContains ¶
func TplContains(v string) predicate.MsgTemplate
TplContains applies the Contains predicate on the "tpl" field.
func TplContainsFold ¶
func TplContainsFold(v string) predicate.MsgTemplate
TplContainsFold applies the ContainsFold predicate on the "tpl" field.
func TplEQ ¶
func TplEQ(v string) predicate.MsgTemplate
TplEQ applies the EQ predicate on the "tpl" field.
func TplEqualFold ¶
func TplEqualFold(v string) predicate.MsgTemplate
TplEqualFold applies the EqualFold predicate on the "tpl" field.
func TplGT ¶
func TplGT(v string) predicate.MsgTemplate
TplGT applies the GT predicate on the "tpl" field.
func TplGTE ¶
func TplGTE(v string) predicate.MsgTemplate
TplGTE applies the GTE predicate on the "tpl" field.
func TplHasPrefix ¶
func TplHasPrefix(v string) predicate.MsgTemplate
TplHasPrefix applies the HasPrefix predicate on the "tpl" field.
func TplHasSuffix ¶
func TplHasSuffix(v string) predicate.MsgTemplate
TplHasSuffix applies the HasSuffix predicate on the "tpl" field.
func TplIn ¶
func TplIn(vs ...string) predicate.MsgTemplate
TplIn applies the In predicate on the "tpl" field.
func TplIsNil ¶
func TplIsNil() predicate.MsgTemplate
TplIsNil applies the IsNil predicate on the "tpl" field.
func TplLT ¶
func TplLT(v string) predicate.MsgTemplate
TplLT applies the LT predicate on the "tpl" field.
func TplLTE ¶
func TplLTE(v string) predicate.MsgTemplate
TplLTE applies the LTE predicate on the "tpl" field.
func TplNEQ ¶
func TplNEQ(v string) predicate.MsgTemplate
TplNEQ applies the NEQ predicate on the "tpl" field.
func TplNotIn ¶
func TplNotIn(vs ...string) predicate.MsgTemplate
TplNotIn applies the NotIn predicate on the "tpl" field.
func TplNotNil ¶
func TplNotNil() predicate.MsgTemplate
TplNotNil applies the NotNil predicate on the "tpl" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.MsgTemplate
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.MsgTemplate
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.MsgTemplate
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.MsgTemplate
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.MsgTemplate
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.MsgTemplate
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.MsgTemplate
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.MsgTemplate
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.MsgTemplate
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.MsgTemplate
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.MsgTemplate
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v int) predicate.MsgTemplate
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
func UpdatedByEQ(v int) predicate.MsgTemplate
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v int) predicate.MsgTemplate
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v int) predicate.MsgTemplate
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...int) predicate.MsgTemplate
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.MsgTemplate
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v int) predicate.MsgTemplate
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v int) predicate.MsgTemplate
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v int) predicate.MsgTemplate
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...int) predicate.MsgTemplate
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.MsgTemplate
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type Format ¶
type Format string
Format defines the type for the "format" enum field.
func (Format) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Format) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.
type OrderOption ¶
OrderOption defines the ordering options for the MsgTemplate queries.
func ByBcc ¶
func ByBcc(opts ...sql.OrderTermOption) OrderOption
ByBcc orders the results by the bcc field.
func ByBody ¶
func ByBody(opts ...sql.OrderTermOption) OrderOption
ByBody orders the results by the body field.
func ByCc ¶
func ByCc(opts ...sql.OrderTermOption) OrderOption
ByCc orders the results by the cc field.
func ByComments ¶
func ByComments(opts ...sql.OrderTermOption) OrderOption
ByComments orders the results by the comments field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByEventField ¶
func ByEventField(field string, opts ...sql.OrderTermOption) OrderOption
ByEventField orders the results by event field.
func ByFormat ¶
func ByFormat(opts ...sql.OrderTermOption) OrderOption
ByFormat orders the results by the format field.
func ByFrom ¶
func ByFrom(opts ...sql.OrderTermOption) OrderOption
ByFrom orders the results by the from field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMsgEventID ¶
func ByMsgEventID(opts ...sql.OrderTermOption) OrderOption
ByMsgEventID orders the results by the msg_event_id field.
func ByMsgTypeID ¶
func ByMsgTypeID(opts ...sql.OrderTermOption) OrderOption
ByMsgTypeID orders the results by the msg_type_id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByReceiverType ¶
func ByReceiverType(opts ...sql.OrderTermOption) OrderOption
ByReceiverType orders the results by the receiver_type field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySubject ¶
func BySubject(opts ...sql.OrderTermOption) OrderOption
BySubject orders the results by the subject field.
func ByTenantID ¶
func ByTenantID(opts ...sql.OrderTermOption) OrderOption
ByTenantID orders the results by the tenant_id field.
func ByTo ¶
func ByTo(opts ...sql.OrderTermOption) OrderOption
ByTo orders the results by the to field.
func ByTpl ¶
func ByTpl(opts ...sql.OrderTermOption) OrderOption
ByTpl orders the results by the tpl field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.