Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CapturedMessage) predicate.CapturedMessage
- func CreatedAt(v time.Time) predicate.CapturedMessage
- func CreatedAtEQ(v time.Time) predicate.CapturedMessage
- func CreatedAtGT(v time.Time) predicate.CapturedMessage
- func CreatedAtGTE(v time.Time) predicate.CapturedMessage
- func CreatedAtIn(vs ...time.Time) predicate.CapturedMessage
- func CreatedAtLT(v time.Time) predicate.CapturedMessage
- func CreatedAtLTE(v time.Time) predicate.CapturedMessage
- func CreatedAtNEQ(v time.Time) predicate.CapturedMessage
- func CreatedAtNotIn(vs ...time.Time) predicate.CapturedMessage
- func FromEmail(v string) predicate.CapturedMessage
- func FromEmailContains(v string) predicate.CapturedMessage
- func FromEmailContainsFold(v string) predicate.CapturedMessage
- func FromEmailEQ(v string) predicate.CapturedMessage
- func FromEmailEqualFold(v string) predicate.CapturedMessage
- func FromEmailGT(v string) predicate.CapturedMessage
- func FromEmailGTE(v string) predicate.CapturedMessage
- func FromEmailHasPrefix(v string) predicate.CapturedMessage
- func FromEmailHasSuffix(v string) predicate.CapturedMessage
- func FromEmailIn(vs ...string) predicate.CapturedMessage
- func FromEmailLT(v string) predicate.CapturedMessage
- func FromEmailLTE(v string) predicate.CapturedMessage
- func FromEmailNEQ(v string) predicate.CapturedMessage
- func FromEmailNotIn(vs ...string) predicate.CapturedMessage
- func FromName(v string) predicate.CapturedMessage
- func FromNameContains(v string) predicate.CapturedMessage
- func FromNameContainsFold(v string) predicate.CapturedMessage
- func FromNameEQ(v string) predicate.CapturedMessage
- func FromNameEqualFold(v string) predicate.CapturedMessage
- func FromNameGT(v string) predicate.CapturedMessage
- func FromNameGTE(v string) predicate.CapturedMessage
- func FromNameHasPrefix(v string) predicate.CapturedMessage
- func FromNameHasSuffix(v string) predicate.CapturedMessage
- func FromNameIn(vs ...string) predicate.CapturedMessage
- func FromNameIsNil() predicate.CapturedMessage
- func FromNameLT(v string) predicate.CapturedMessage
- func FromNameLTE(v string) predicate.CapturedMessage
- func FromNameNEQ(v string) predicate.CapturedMessage
- func FromNameNotIn(vs ...string) predicate.CapturedMessage
- func FromNameNotNil() predicate.CapturedMessage
- func FromUnverified(v bool) predicate.CapturedMessage
- func FromUnverifiedEQ(v bool) predicate.CapturedMessage
- func FromUnverifiedNEQ(v bool) predicate.CapturedMessage
- func HTML(v string) predicate.CapturedMessage
- func HTMLContains(v string) predicate.CapturedMessage
- func HTMLContainsFold(v string) predicate.CapturedMessage
- func HTMLEQ(v string) predicate.CapturedMessage
- func HTMLEqualFold(v string) predicate.CapturedMessage
- func HTMLGT(v string) predicate.CapturedMessage
- func HTMLGTE(v string) predicate.CapturedMessage
- func HTMLHasPrefix(v string) predicate.CapturedMessage
- func HTMLHasSuffix(v string) predicate.CapturedMessage
- func HTMLIn(vs ...string) predicate.CapturedMessage
- func HTMLLT(v string) predicate.CapturedMessage
- func HTMLLTE(v string) predicate.CapturedMessage
- func HTMLNEQ(v string) predicate.CapturedMessage
- func HTMLNotIn(vs ...string) predicate.CapturedMessage
- func HasIntegration() predicate.CapturedMessage
- func HasIntegrationWith(preds ...predicate.Integration) predicate.CapturedMessage
- func HasOutboundMessage() predicate.CapturedMessage
- func HasOutboundMessageWith(preds ...predicate.OutboundMessage) predicate.CapturedMessage
- func HasWorkspace() predicate.CapturedMessage
- func HasWorkspaceWith(preds ...predicate.Workspace) predicate.CapturedMessage
- func ID(id int64) predicate.CapturedMessage
- func IDEQ(id int64) predicate.CapturedMessage
- func IDGT(id int64) predicate.CapturedMessage
- func IDGTE(id int64) predicate.CapturedMessage
- func IDIn(ids ...int64) predicate.CapturedMessage
- func IDLT(id int64) predicate.CapturedMessage
- func IDLTE(id int64) predicate.CapturedMessage
- func IDNEQ(id int64) predicate.CapturedMessage
- func IDNotIn(ids ...int64) predicate.CapturedMessage
- func IntegrationID(v int64) predicate.CapturedMessage
- func IntegrationIDEQ(v int64) predicate.CapturedMessage
- func IntegrationIDIn(vs ...int64) predicate.CapturedMessage
- func IntegrationIDNEQ(v int64) predicate.CapturedMessage
- func IntegrationIDNotIn(vs ...int64) predicate.CapturedMessage
- func Not(p predicate.CapturedMessage) predicate.CapturedMessage
- func Or(predicates ...predicate.CapturedMessage) predicate.CapturedMessage
- func OutboundMessageID(v int64) predicate.CapturedMessage
- func OutboundMessageIDEQ(v int64) predicate.CapturedMessage
- func OutboundMessageIDIn(vs ...int64) predicate.CapturedMessage
- func OutboundMessageIDIsNil() predicate.CapturedMessage
- func OutboundMessageIDNEQ(v int64) predicate.CapturedMessage
- func OutboundMessageIDNotIn(vs ...int64) predicate.CapturedMessage
- func OutboundMessageIDNotNil() predicate.CapturedMessage
- func Recipient(v string) predicate.CapturedMessage
- func RecipientContains(v string) predicate.CapturedMessage
- func RecipientContainsFold(v string) predicate.CapturedMessage
- func RecipientEQ(v string) predicate.CapturedMessage
- func RecipientEqualFold(v string) predicate.CapturedMessage
- func RecipientGT(v string) predicate.CapturedMessage
- func RecipientGTE(v string) predicate.CapturedMessage
- func RecipientHasPrefix(v string) predicate.CapturedMessage
- func RecipientHasSuffix(v string) predicate.CapturedMessage
- func RecipientIn(vs ...string) predicate.CapturedMessage
- func RecipientLT(v string) predicate.CapturedMessage
- func RecipientLTE(v string) predicate.CapturedMessage
- func RecipientNEQ(v string) predicate.CapturedMessage
- func RecipientNotIn(vs ...string) predicate.CapturedMessage
- func SendingSource(v string) predicate.CapturedMessage
- func SendingSourceContains(v string) predicate.CapturedMessage
- func SendingSourceContainsFold(v string) predicate.CapturedMessage
- func SendingSourceEQ(v string) predicate.CapturedMessage
- func SendingSourceEqualFold(v string) predicate.CapturedMessage
- func SendingSourceGT(v string) predicate.CapturedMessage
- func SendingSourceGTE(v string) predicate.CapturedMessage
- func SendingSourceHasPrefix(v string) predicate.CapturedMessage
- func SendingSourceHasSuffix(v string) predicate.CapturedMessage
- func SendingSourceIn(vs ...string) predicate.CapturedMessage
- func SendingSourceIsNil() predicate.CapturedMessage
- func SendingSourceLT(v string) predicate.CapturedMessage
- func SendingSourceLTE(v string) predicate.CapturedMessage
- func SendingSourceNEQ(v string) predicate.CapturedMessage
- func SendingSourceNotIn(vs ...string) predicate.CapturedMessage
- func SendingSourceNotNil() predicate.CapturedMessage
- func Subject(v string) predicate.CapturedMessage
- func SubjectContains(v string) predicate.CapturedMessage
- func SubjectContainsFold(v string) predicate.CapturedMessage
- func SubjectEQ(v string) predicate.CapturedMessage
- func SubjectEqualFold(v string) predicate.CapturedMessage
- func SubjectGT(v string) predicate.CapturedMessage
- func SubjectGTE(v string) predicate.CapturedMessage
- func SubjectHasPrefix(v string) predicate.CapturedMessage
- func SubjectHasSuffix(v string) predicate.CapturedMessage
- func SubjectIn(vs ...string) predicate.CapturedMessage
- func SubjectLT(v string) predicate.CapturedMessage
- func SubjectLTE(v string) predicate.CapturedMessage
- func SubjectNEQ(v string) predicate.CapturedMessage
- func SubjectNotIn(vs ...string) predicate.CapturedMessage
- func SurfaceEQ(v Surface) predicate.CapturedMessage
- func SurfaceIn(vs ...Surface) predicate.CapturedMessage
- func SurfaceNEQ(v Surface) predicate.CapturedMessage
- func SurfaceNotIn(vs ...Surface) predicate.CapturedMessage
- func SurfaceValidator(s Surface) error
- func Text(v string) predicate.CapturedMessage
- func TextContains(v string) predicate.CapturedMessage
- func TextContainsFold(v string) predicate.CapturedMessage
- func TextEQ(v string) predicate.CapturedMessage
- func TextEqualFold(v string) predicate.CapturedMessage
- func TextGT(v string) predicate.CapturedMessage
- func TextGTE(v string) predicate.CapturedMessage
- func TextHasPrefix(v string) predicate.CapturedMessage
- func TextHasSuffix(v string) predicate.CapturedMessage
- func TextIn(vs ...string) predicate.CapturedMessage
- func TextLT(v string) predicate.CapturedMessage
- func TextLTE(v string) predicate.CapturedMessage
- func TextNEQ(v string) predicate.CapturedMessage
- func TextNotIn(vs ...string) predicate.CapturedMessage
- func UpdatedAt(v time.Time) predicate.CapturedMessage
- func UpdatedAtEQ(v time.Time) predicate.CapturedMessage
- func UpdatedAtGT(v time.Time) predicate.CapturedMessage
- func UpdatedAtGTE(v time.Time) predicate.CapturedMessage
- func UpdatedAtIn(vs ...time.Time) predicate.CapturedMessage
- func UpdatedAtLT(v time.Time) predicate.CapturedMessage
- func UpdatedAtLTE(v time.Time) predicate.CapturedMessage
- func UpdatedAtNEQ(v time.Time) predicate.CapturedMessage
- func UpdatedAtNotIn(vs ...time.Time) predicate.CapturedMessage
- func ValidColumn(column string) bool
- func WorkspaceID(v int64) predicate.CapturedMessage
- func WorkspaceIDEQ(v int64) predicate.CapturedMessage
- func WorkspaceIDIn(vs ...int64) predicate.CapturedMessage
- func WorkspaceIDNEQ(v int64) predicate.CapturedMessage
- func WorkspaceIDNotIn(vs ...int64) predicate.CapturedMessage
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFromEmail(opts ...sql.OrderTermOption) OrderOption
- func ByFromName(opts ...sql.OrderTermOption) OrderOption
- func ByFromUnverified(opts ...sql.OrderTermOption) OrderOption
- func ByHTML(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIntegrationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByIntegrationID(opts ...sql.OrderTermOption) OrderOption
- func ByOutboundMessageField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOutboundMessageID(opts ...sql.OrderTermOption) OrderOption
- func ByRecipient(opts ...sql.OrderTermOption) OrderOption
- func BySendingSource(opts ...sql.OrderTermOption) OrderOption
- func BySubject(opts ...sql.OrderTermOption) OrderOption
- func BySurface(opts ...sql.OrderTermOption) OrderOption
- func ByText(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceID(opts ...sql.OrderTermOption) OrderOption
- type Surface
Constants ¶
const ( // Label holds the string label denoting the capturedmessage type in the database. Label = "captured_message" // 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" // FieldWorkspaceID holds the string denoting the workspace_id field in the database. FieldWorkspaceID = "workspace_id" // FieldIntegrationID holds the string denoting the integration_id field in the database. FieldIntegrationID = "integration_id" // FieldOutboundMessageID holds the string denoting the outbound_message_id field in the database. FieldOutboundMessageID = "outbound_message_id" // FieldSurface holds the string denoting the surface field in the database. FieldSurface = "surface" // FieldSendingSource holds the string denoting the sending_source field in the database. FieldSendingSource = "sending_source" // FieldRecipient holds the string denoting the recipient field in the database. FieldRecipient = "recipient" // FieldFromEmail holds the string denoting the from_email field in the database. FieldFromEmail = "from_email" // FieldFromName holds the string denoting the from_name field in the database. FieldFromName = "from_name" // FieldSubject holds the string denoting the subject field in the database. FieldSubject = "subject" // FieldHTML holds the string denoting the html field in the database. FieldHTML = "html" // FieldText holds the string denoting the text field in the database. FieldText = "text" // FieldHeaders holds the string denoting the headers field in the database. FieldHeaders = "headers" // FieldLinks holds the string denoting the links field in the database. FieldLinks = "links" // FieldFromUnverified holds the string denoting the from_unverified field in the database. FieldFromUnverified = "from_unverified" // EdgeWorkspace holds the string denoting the workspace edge name in mutations. EdgeWorkspace = "workspace" // EdgeIntegration holds the string denoting the integration edge name in mutations. EdgeIntegration = "integration" // EdgeOutboundMessage holds the string denoting the outbound_message edge name in mutations. EdgeOutboundMessage = "outbound_message" // Table holds the table name of the capturedmessage in the database. Table = "captured_messages" // WorkspaceTable is the table that holds the workspace relation/edge. WorkspaceTable = "captured_messages" // WorkspaceInverseTable is the table name for the Workspace entity. // It exists in this package in order to avoid circular dependency with the "workspace" package. WorkspaceInverseTable = "workspaces" // WorkspaceColumn is the table column denoting the workspace relation/edge. WorkspaceColumn = "workspace_id" // IntegrationTable is the table that holds the integration relation/edge. IntegrationTable = "captured_messages" // IntegrationInverseTable is the table name for the Integration entity. // It exists in this package in order to avoid circular dependency with the "integration" package. IntegrationInverseTable = "integrations" // IntegrationColumn is the table column denoting the integration relation/edge. IntegrationColumn = "integration_id" // OutboundMessageTable is the table that holds the outbound_message relation/edge. OutboundMessageTable = "captured_messages" // OutboundMessageInverseTable is the table name for the OutboundMessage entity. // It exists in this package in order to avoid circular dependency with the "outboundmessage" package. OutboundMessageInverseTable = "outbound_messages" // OutboundMessageColumn is the table column denoting the outbound_message relation/edge. OutboundMessageColumn = "outbound_message_id" )
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 // RecipientValidator is a validator for the "recipient" field. It is called by the builders before save. RecipientValidator func(string) error // FromEmailValidator is a validator for the "from_email" field. It is called by the builders before save. FromEmailValidator func(string) error // DefaultFromUnverified holds the default value on creation for the "from_unverified" field. DefaultFromUnverified bool )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldWorkspaceID, FieldIntegrationID, FieldOutboundMessageID, FieldSurface, FieldSendingSource, FieldRecipient, FieldFromEmail, FieldFromName, FieldSubject, FieldHTML, FieldText, FieldHeaders, FieldLinks, FieldFromUnverified, }
Columns holds all SQL columns for capturedmessage fields.
Functions ¶
func And ¶
func And(predicates ...predicate.CapturedMessage) predicate.CapturedMessage
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.CapturedMessage
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.CapturedMessage
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.CapturedMessage
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.CapturedMessage
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.CapturedMessage
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.CapturedMessage
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.CapturedMessage
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.CapturedMessage
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.CapturedMessage
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func FromEmail ¶
func FromEmail(v string) predicate.CapturedMessage
FromEmail applies equality check predicate on the "from_email" field. It's identical to FromEmailEQ.
func FromEmailContains ¶
func FromEmailContains(v string) predicate.CapturedMessage
FromEmailContains applies the Contains predicate on the "from_email" field.
func FromEmailContainsFold ¶
func FromEmailContainsFold(v string) predicate.CapturedMessage
FromEmailContainsFold applies the ContainsFold predicate on the "from_email" field.
func FromEmailEQ ¶
func FromEmailEQ(v string) predicate.CapturedMessage
FromEmailEQ applies the EQ predicate on the "from_email" field.
func FromEmailEqualFold ¶
func FromEmailEqualFold(v string) predicate.CapturedMessage
FromEmailEqualFold applies the EqualFold predicate on the "from_email" field.
func FromEmailGT ¶
func FromEmailGT(v string) predicate.CapturedMessage
FromEmailGT applies the GT predicate on the "from_email" field.
func FromEmailGTE ¶
func FromEmailGTE(v string) predicate.CapturedMessage
FromEmailGTE applies the GTE predicate on the "from_email" field.
func FromEmailHasPrefix ¶
func FromEmailHasPrefix(v string) predicate.CapturedMessage
FromEmailHasPrefix applies the HasPrefix predicate on the "from_email" field.
func FromEmailHasSuffix ¶
func FromEmailHasSuffix(v string) predicate.CapturedMessage
FromEmailHasSuffix applies the HasSuffix predicate on the "from_email" field.
func FromEmailIn ¶
func FromEmailIn(vs ...string) predicate.CapturedMessage
FromEmailIn applies the In predicate on the "from_email" field.
func FromEmailLT ¶
func FromEmailLT(v string) predicate.CapturedMessage
FromEmailLT applies the LT predicate on the "from_email" field.
func FromEmailLTE ¶
func FromEmailLTE(v string) predicate.CapturedMessage
FromEmailLTE applies the LTE predicate on the "from_email" field.
func FromEmailNEQ ¶
func FromEmailNEQ(v string) predicate.CapturedMessage
FromEmailNEQ applies the NEQ predicate on the "from_email" field.
func FromEmailNotIn ¶
func FromEmailNotIn(vs ...string) predicate.CapturedMessage
FromEmailNotIn applies the NotIn predicate on the "from_email" field.
func FromName ¶
func FromName(v string) predicate.CapturedMessage
FromName applies equality check predicate on the "from_name" field. It's identical to FromNameEQ.
func FromNameContains ¶
func FromNameContains(v string) predicate.CapturedMessage
FromNameContains applies the Contains predicate on the "from_name" field.
func FromNameContainsFold ¶
func FromNameContainsFold(v string) predicate.CapturedMessage
FromNameContainsFold applies the ContainsFold predicate on the "from_name" field.
func FromNameEQ ¶
func FromNameEQ(v string) predicate.CapturedMessage
FromNameEQ applies the EQ predicate on the "from_name" field.
func FromNameEqualFold ¶
func FromNameEqualFold(v string) predicate.CapturedMessage
FromNameEqualFold applies the EqualFold predicate on the "from_name" field.
func FromNameGT ¶
func FromNameGT(v string) predicate.CapturedMessage
FromNameGT applies the GT predicate on the "from_name" field.
func FromNameGTE ¶
func FromNameGTE(v string) predicate.CapturedMessage
FromNameGTE applies the GTE predicate on the "from_name" field.
func FromNameHasPrefix ¶
func FromNameHasPrefix(v string) predicate.CapturedMessage
FromNameHasPrefix applies the HasPrefix predicate on the "from_name" field.
func FromNameHasSuffix ¶
func FromNameHasSuffix(v string) predicate.CapturedMessage
FromNameHasSuffix applies the HasSuffix predicate on the "from_name" field.
func FromNameIn ¶
func FromNameIn(vs ...string) predicate.CapturedMessage
FromNameIn applies the In predicate on the "from_name" field.
func FromNameIsNil ¶
func FromNameIsNil() predicate.CapturedMessage
FromNameIsNil applies the IsNil predicate on the "from_name" field.
func FromNameLT ¶
func FromNameLT(v string) predicate.CapturedMessage
FromNameLT applies the LT predicate on the "from_name" field.
func FromNameLTE ¶
func FromNameLTE(v string) predicate.CapturedMessage
FromNameLTE applies the LTE predicate on the "from_name" field.
func FromNameNEQ ¶
func FromNameNEQ(v string) predicate.CapturedMessage
FromNameNEQ applies the NEQ predicate on the "from_name" field.
func FromNameNotIn ¶
func FromNameNotIn(vs ...string) predicate.CapturedMessage
FromNameNotIn applies the NotIn predicate on the "from_name" field.
func FromNameNotNil ¶
func FromNameNotNil() predicate.CapturedMessage
FromNameNotNil applies the NotNil predicate on the "from_name" field.
func FromUnverified ¶
func FromUnverified(v bool) predicate.CapturedMessage
FromUnverified applies equality check predicate on the "from_unverified" field. It's identical to FromUnverifiedEQ.
func FromUnverifiedEQ ¶
func FromUnverifiedEQ(v bool) predicate.CapturedMessage
FromUnverifiedEQ applies the EQ predicate on the "from_unverified" field.
func FromUnverifiedNEQ ¶
func FromUnverifiedNEQ(v bool) predicate.CapturedMessage
FromUnverifiedNEQ applies the NEQ predicate on the "from_unverified" field.
func HTML ¶
func HTML(v string) predicate.CapturedMessage
HTML applies equality check predicate on the "html" field. It's identical to HTMLEQ.
func HTMLContains ¶
func HTMLContains(v string) predicate.CapturedMessage
HTMLContains applies the Contains predicate on the "html" field.
func HTMLContainsFold ¶
func HTMLContainsFold(v string) predicate.CapturedMessage
HTMLContainsFold applies the ContainsFold predicate on the "html" field.
func HTMLEQ ¶
func HTMLEQ(v string) predicate.CapturedMessage
HTMLEQ applies the EQ predicate on the "html" field.
func HTMLEqualFold ¶
func HTMLEqualFold(v string) predicate.CapturedMessage
HTMLEqualFold applies the EqualFold predicate on the "html" field.
func HTMLGT ¶
func HTMLGT(v string) predicate.CapturedMessage
HTMLGT applies the GT predicate on the "html" field.
func HTMLGTE ¶
func HTMLGTE(v string) predicate.CapturedMessage
HTMLGTE applies the GTE predicate on the "html" field.
func HTMLHasPrefix ¶
func HTMLHasPrefix(v string) predicate.CapturedMessage
HTMLHasPrefix applies the HasPrefix predicate on the "html" field.
func HTMLHasSuffix ¶
func HTMLHasSuffix(v string) predicate.CapturedMessage
HTMLHasSuffix applies the HasSuffix predicate on the "html" field.
func HTMLIn ¶
func HTMLIn(vs ...string) predicate.CapturedMessage
HTMLIn applies the In predicate on the "html" field.
func HTMLLT ¶
func HTMLLT(v string) predicate.CapturedMessage
HTMLLT applies the LT predicate on the "html" field.
func HTMLLTE ¶
func HTMLLTE(v string) predicate.CapturedMessage
HTMLLTE applies the LTE predicate on the "html" field.
func HTMLNEQ ¶
func HTMLNEQ(v string) predicate.CapturedMessage
HTMLNEQ applies the NEQ predicate on the "html" field.
func HTMLNotIn ¶
func HTMLNotIn(vs ...string) predicate.CapturedMessage
HTMLNotIn applies the NotIn predicate on the "html" field.
func HasIntegration ¶
func HasIntegration() predicate.CapturedMessage
HasIntegration applies the HasEdge predicate on the "integration" edge.
func HasIntegrationWith ¶
func HasIntegrationWith(preds ...predicate.Integration) predicate.CapturedMessage
HasIntegrationWith applies the HasEdge predicate on the "integration" edge with a given conditions (other predicates).
func HasOutboundMessage ¶
func HasOutboundMessage() predicate.CapturedMessage
HasOutboundMessage applies the HasEdge predicate on the "outbound_message" edge.
func HasOutboundMessageWith ¶
func HasOutboundMessageWith(preds ...predicate.OutboundMessage) predicate.CapturedMessage
HasOutboundMessageWith applies the HasEdge predicate on the "outbound_message" edge with a given conditions (other predicates).
func HasWorkspace ¶
func HasWorkspace() predicate.CapturedMessage
HasWorkspace applies the HasEdge predicate on the "workspace" edge.
func HasWorkspaceWith ¶
func HasWorkspaceWith(preds ...predicate.Workspace) predicate.CapturedMessage
HasWorkspaceWith applies the HasEdge predicate on the "workspace" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int64) predicate.CapturedMessage
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.CapturedMessage
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.CapturedMessage
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.CapturedMessage
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.CapturedMessage
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.CapturedMessage
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.CapturedMessage
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.CapturedMessage
IDNotIn applies the NotIn predicate on the ID field.
func IntegrationID ¶
func IntegrationID(v int64) predicate.CapturedMessage
IntegrationID applies equality check predicate on the "integration_id" field. It's identical to IntegrationIDEQ.
func IntegrationIDEQ ¶
func IntegrationIDEQ(v int64) predicate.CapturedMessage
IntegrationIDEQ applies the EQ predicate on the "integration_id" field.
func IntegrationIDIn ¶
func IntegrationIDIn(vs ...int64) predicate.CapturedMessage
IntegrationIDIn applies the In predicate on the "integration_id" field.
func IntegrationIDNEQ ¶
func IntegrationIDNEQ(v int64) predicate.CapturedMessage
IntegrationIDNEQ applies the NEQ predicate on the "integration_id" field.
func IntegrationIDNotIn ¶
func IntegrationIDNotIn(vs ...int64) predicate.CapturedMessage
IntegrationIDNotIn applies the NotIn predicate on the "integration_id" field.
func Not ¶
func Not(p predicate.CapturedMessage) predicate.CapturedMessage
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CapturedMessage) predicate.CapturedMessage
Or groups predicates with the OR operator between them.
func OutboundMessageID ¶
func OutboundMessageID(v int64) predicate.CapturedMessage
OutboundMessageID applies equality check predicate on the "outbound_message_id" field. It's identical to OutboundMessageIDEQ.
func OutboundMessageIDEQ ¶
func OutboundMessageIDEQ(v int64) predicate.CapturedMessage
OutboundMessageIDEQ applies the EQ predicate on the "outbound_message_id" field.
func OutboundMessageIDIn ¶
func OutboundMessageIDIn(vs ...int64) predicate.CapturedMessage
OutboundMessageIDIn applies the In predicate on the "outbound_message_id" field.
func OutboundMessageIDIsNil ¶
func OutboundMessageIDIsNil() predicate.CapturedMessage
OutboundMessageIDIsNil applies the IsNil predicate on the "outbound_message_id" field.
func OutboundMessageIDNEQ ¶
func OutboundMessageIDNEQ(v int64) predicate.CapturedMessage
OutboundMessageIDNEQ applies the NEQ predicate on the "outbound_message_id" field.
func OutboundMessageIDNotIn ¶
func OutboundMessageIDNotIn(vs ...int64) predicate.CapturedMessage
OutboundMessageIDNotIn applies the NotIn predicate on the "outbound_message_id" field.
func OutboundMessageIDNotNil ¶
func OutboundMessageIDNotNil() predicate.CapturedMessage
OutboundMessageIDNotNil applies the NotNil predicate on the "outbound_message_id" field.
func Recipient ¶
func Recipient(v string) predicate.CapturedMessage
Recipient applies equality check predicate on the "recipient" field. It's identical to RecipientEQ.
func RecipientContains ¶
func RecipientContains(v string) predicate.CapturedMessage
RecipientContains applies the Contains predicate on the "recipient" field.
func RecipientContainsFold ¶
func RecipientContainsFold(v string) predicate.CapturedMessage
RecipientContainsFold applies the ContainsFold predicate on the "recipient" field.
func RecipientEQ ¶
func RecipientEQ(v string) predicate.CapturedMessage
RecipientEQ applies the EQ predicate on the "recipient" field.
func RecipientEqualFold ¶
func RecipientEqualFold(v string) predicate.CapturedMessage
RecipientEqualFold applies the EqualFold predicate on the "recipient" field.
func RecipientGT ¶
func RecipientGT(v string) predicate.CapturedMessage
RecipientGT applies the GT predicate on the "recipient" field.
func RecipientGTE ¶
func RecipientGTE(v string) predicate.CapturedMessage
RecipientGTE applies the GTE predicate on the "recipient" field.
func RecipientHasPrefix ¶
func RecipientHasPrefix(v string) predicate.CapturedMessage
RecipientHasPrefix applies the HasPrefix predicate on the "recipient" field.
func RecipientHasSuffix ¶
func RecipientHasSuffix(v string) predicate.CapturedMessage
RecipientHasSuffix applies the HasSuffix predicate on the "recipient" field.
func RecipientIn ¶
func RecipientIn(vs ...string) predicate.CapturedMessage
RecipientIn applies the In predicate on the "recipient" field.
func RecipientLT ¶
func RecipientLT(v string) predicate.CapturedMessage
RecipientLT applies the LT predicate on the "recipient" field.
func RecipientLTE ¶
func RecipientLTE(v string) predicate.CapturedMessage
RecipientLTE applies the LTE predicate on the "recipient" field.
func RecipientNEQ ¶
func RecipientNEQ(v string) predicate.CapturedMessage
RecipientNEQ applies the NEQ predicate on the "recipient" field.
func RecipientNotIn ¶
func RecipientNotIn(vs ...string) predicate.CapturedMessage
RecipientNotIn applies the NotIn predicate on the "recipient" field.
func SendingSource ¶
func SendingSource(v string) predicate.CapturedMessage
SendingSource applies equality check predicate on the "sending_source" field. It's identical to SendingSourceEQ.
func SendingSourceContains ¶
func SendingSourceContains(v string) predicate.CapturedMessage
SendingSourceContains applies the Contains predicate on the "sending_source" field.
func SendingSourceContainsFold ¶
func SendingSourceContainsFold(v string) predicate.CapturedMessage
SendingSourceContainsFold applies the ContainsFold predicate on the "sending_source" field.
func SendingSourceEQ ¶
func SendingSourceEQ(v string) predicate.CapturedMessage
SendingSourceEQ applies the EQ predicate on the "sending_source" field.
func SendingSourceEqualFold ¶
func SendingSourceEqualFold(v string) predicate.CapturedMessage
SendingSourceEqualFold applies the EqualFold predicate on the "sending_source" field.
func SendingSourceGT ¶
func SendingSourceGT(v string) predicate.CapturedMessage
SendingSourceGT applies the GT predicate on the "sending_source" field.
func SendingSourceGTE ¶
func SendingSourceGTE(v string) predicate.CapturedMessage
SendingSourceGTE applies the GTE predicate on the "sending_source" field.
func SendingSourceHasPrefix ¶
func SendingSourceHasPrefix(v string) predicate.CapturedMessage
SendingSourceHasPrefix applies the HasPrefix predicate on the "sending_source" field.
func SendingSourceHasSuffix ¶
func SendingSourceHasSuffix(v string) predicate.CapturedMessage
SendingSourceHasSuffix applies the HasSuffix predicate on the "sending_source" field.
func SendingSourceIn ¶
func SendingSourceIn(vs ...string) predicate.CapturedMessage
SendingSourceIn applies the In predicate on the "sending_source" field.
func SendingSourceIsNil ¶
func SendingSourceIsNil() predicate.CapturedMessage
SendingSourceIsNil applies the IsNil predicate on the "sending_source" field.
func SendingSourceLT ¶
func SendingSourceLT(v string) predicate.CapturedMessage
SendingSourceLT applies the LT predicate on the "sending_source" field.
func SendingSourceLTE ¶
func SendingSourceLTE(v string) predicate.CapturedMessage
SendingSourceLTE applies the LTE predicate on the "sending_source" field.
func SendingSourceNEQ ¶
func SendingSourceNEQ(v string) predicate.CapturedMessage
SendingSourceNEQ applies the NEQ predicate on the "sending_source" field.
func SendingSourceNotIn ¶
func SendingSourceNotIn(vs ...string) predicate.CapturedMessage
SendingSourceNotIn applies the NotIn predicate on the "sending_source" field.
func SendingSourceNotNil ¶
func SendingSourceNotNil() predicate.CapturedMessage
SendingSourceNotNil applies the NotNil predicate on the "sending_source" field.
func Subject ¶
func Subject(v string) predicate.CapturedMessage
Subject applies equality check predicate on the "subject" field. It's identical to SubjectEQ.
func SubjectContains ¶
func SubjectContains(v string) predicate.CapturedMessage
SubjectContains applies the Contains predicate on the "subject" field.
func SubjectContainsFold ¶
func SubjectContainsFold(v string) predicate.CapturedMessage
SubjectContainsFold applies the ContainsFold predicate on the "subject" field.
func SubjectEQ ¶
func SubjectEQ(v string) predicate.CapturedMessage
SubjectEQ applies the EQ predicate on the "subject" field.
func SubjectEqualFold ¶
func SubjectEqualFold(v string) predicate.CapturedMessage
SubjectEqualFold applies the EqualFold predicate on the "subject" field.
func SubjectGT ¶
func SubjectGT(v string) predicate.CapturedMessage
SubjectGT applies the GT predicate on the "subject" field.
func SubjectGTE ¶
func SubjectGTE(v string) predicate.CapturedMessage
SubjectGTE applies the GTE predicate on the "subject" field.
func SubjectHasPrefix ¶
func SubjectHasPrefix(v string) predicate.CapturedMessage
SubjectHasPrefix applies the HasPrefix predicate on the "subject" field.
func SubjectHasSuffix ¶
func SubjectHasSuffix(v string) predicate.CapturedMessage
SubjectHasSuffix applies the HasSuffix predicate on the "subject" field.
func SubjectIn ¶
func SubjectIn(vs ...string) predicate.CapturedMessage
SubjectIn applies the In predicate on the "subject" field.
func SubjectLT ¶
func SubjectLT(v string) predicate.CapturedMessage
SubjectLT applies the LT predicate on the "subject" field.
func SubjectLTE ¶
func SubjectLTE(v string) predicate.CapturedMessage
SubjectLTE applies the LTE predicate on the "subject" field.
func SubjectNEQ ¶
func SubjectNEQ(v string) predicate.CapturedMessage
SubjectNEQ applies the NEQ predicate on the "subject" field.
func SubjectNotIn ¶
func SubjectNotIn(vs ...string) predicate.CapturedMessage
SubjectNotIn applies the NotIn predicate on the "subject" field.
func SurfaceEQ ¶
func SurfaceEQ(v Surface) predicate.CapturedMessage
SurfaceEQ applies the EQ predicate on the "surface" field.
func SurfaceIn ¶
func SurfaceIn(vs ...Surface) predicate.CapturedMessage
SurfaceIn applies the In predicate on the "surface" field.
func SurfaceNEQ ¶
func SurfaceNEQ(v Surface) predicate.CapturedMessage
SurfaceNEQ applies the NEQ predicate on the "surface" field.
func SurfaceNotIn ¶
func SurfaceNotIn(vs ...Surface) predicate.CapturedMessage
SurfaceNotIn applies the NotIn predicate on the "surface" field.
func SurfaceValidator ¶
SurfaceValidator is a validator for the "surface" field enum values. It is called by the builders before save.
func Text ¶
func Text(v string) predicate.CapturedMessage
Text applies equality check predicate on the "text" field. It's identical to TextEQ.
func TextContains ¶
func TextContains(v string) predicate.CapturedMessage
TextContains applies the Contains predicate on the "text" field.
func TextContainsFold ¶
func TextContainsFold(v string) predicate.CapturedMessage
TextContainsFold applies the ContainsFold predicate on the "text" field.
func TextEQ ¶
func TextEQ(v string) predicate.CapturedMessage
TextEQ applies the EQ predicate on the "text" field.
func TextEqualFold ¶
func TextEqualFold(v string) predicate.CapturedMessage
TextEqualFold applies the EqualFold predicate on the "text" field.
func TextGT ¶
func TextGT(v string) predicate.CapturedMessage
TextGT applies the GT predicate on the "text" field.
func TextGTE ¶
func TextGTE(v string) predicate.CapturedMessage
TextGTE applies the GTE predicate on the "text" field.
func TextHasPrefix ¶
func TextHasPrefix(v string) predicate.CapturedMessage
TextHasPrefix applies the HasPrefix predicate on the "text" field.
func TextHasSuffix ¶
func TextHasSuffix(v string) predicate.CapturedMessage
TextHasSuffix applies the HasSuffix predicate on the "text" field.
func TextIn ¶
func TextIn(vs ...string) predicate.CapturedMessage
TextIn applies the In predicate on the "text" field.
func TextLT ¶
func TextLT(v string) predicate.CapturedMessage
TextLT applies the LT predicate on the "text" field.
func TextLTE ¶
func TextLTE(v string) predicate.CapturedMessage
TextLTE applies the LTE predicate on the "text" field.
func TextNEQ ¶
func TextNEQ(v string) predicate.CapturedMessage
TextNEQ applies the NEQ predicate on the "text" field.
func TextNotIn ¶
func TextNotIn(vs ...string) predicate.CapturedMessage
TextNotIn applies the NotIn predicate on the "text" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.CapturedMessage
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.CapturedMessage
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.CapturedMessage
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.CapturedMessage
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.CapturedMessage
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.CapturedMessage
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.CapturedMessage
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.CapturedMessage
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.CapturedMessage
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).
func WorkspaceID ¶
func WorkspaceID(v int64) predicate.CapturedMessage
WorkspaceID applies equality check predicate on the "workspace_id" field. It's identical to WorkspaceIDEQ.
func WorkspaceIDEQ ¶
func WorkspaceIDEQ(v int64) predicate.CapturedMessage
WorkspaceIDEQ applies the EQ predicate on the "workspace_id" field.
func WorkspaceIDIn ¶
func WorkspaceIDIn(vs ...int64) predicate.CapturedMessage
WorkspaceIDIn applies the In predicate on the "workspace_id" field.
func WorkspaceIDNEQ ¶
func WorkspaceIDNEQ(v int64) predicate.CapturedMessage
WorkspaceIDNEQ applies the NEQ predicate on the "workspace_id" field.
func WorkspaceIDNotIn ¶
func WorkspaceIDNotIn(vs ...int64) predicate.CapturedMessage
WorkspaceIDNotIn applies the NotIn predicate on the "workspace_id" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the CapturedMessage queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByFromEmail ¶
func ByFromEmail(opts ...sql.OrderTermOption) OrderOption
ByFromEmail orders the results by the from_email field.
func ByFromName ¶
func ByFromName(opts ...sql.OrderTermOption) OrderOption
ByFromName orders the results by the from_name field.
func ByFromUnverified ¶
func ByFromUnverified(opts ...sql.OrderTermOption) OrderOption
ByFromUnverified orders the results by the from_unverified field.
func ByHTML ¶
func ByHTML(opts ...sql.OrderTermOption) OrderOption
ByHTML orders the results by the html field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIntegrationField ¶
func ByIntegrationField(field string, opts ...sql.OrderTermOption) OrderOption
ByIntegrationField orders the results by integration field.
func ByIntegrationID ¶
func ByIntegrationID(opts ...sql.OrderTermOption) OrderOption
ByIntegrationID orders the results by the integration_id field.
func ByOutboundMessageField ¶
func ByOutboundMessageField(field string, opts ...sql.OrderTermOption) OrderOption
ByOutboundMessageField orders the results by outbound_message field.
func ByOutboundMessageID ¶
func ByOutboundMessageID(opts ...sql.OrderTermOption) OrderOption
ByOutboundMessageID orders the results by the outbound_message_id field.
func ByRecipient ¶
func ByRecipient(opts ...sql.OrderTermOption) OrderOption
ByRecipient orders the results by the recipient field.
func BySendingSource ¶
func BySendingSource(opts ...sql.OrderTermOption) OrderOption
BySendingSource orders the results by the sending_source field.
func BySubject ¶
func BySubject(opts ...sql.OrderTermOption) OrderOption
BySubject orders the results by the subject field.
func BySurface ¶
func BySurface(opts ...sql.OrderTermOption) OrderOption
BySurface orders the results by the surface field.
func ByText ¶
func ByText(opts ...sql.OrderTermOption) OrderOption
ByText orders the results by the text field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByWorkspaceField ¶
func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption
ByWorkspaceField orders the results by workspace field.
func ByWorkspaceID ¶
func ByWorkspaceID(opts ...sql.OrderTermOption) OrderOption
ByWorkspaceID orders the results by the workspace_id field.