Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Message) predicate.Message
- func Body(v string) predicate.Message
- func BodyContains(v string) predicate.Message
- func BodyContainsFold(v string) predicate.Message
- func BodyEQ(v string) predicate.Message
- func BodyEqualFold(v string) predicate.Message
- func BodyGT(v string) predicate.Message
- func BodyGTE(v string) predicate.Message
- func BodyHasPrefix(v string) predicate.Message
- func BodyHasSuffix(v string) predicate.Message
- func BodyIn(vs ...string) predicate.Message
- func BodyLT(v string) predicate.Message
- func BodyLTE(v string) predicate.Message
- func BodyNEQ(v string) predicate.Message
- func BodyNotIn(vs ...string) predicate.Message
- func BodyStructure(v string) predicate.Message
- func BodyStructureContains(v string) predicate.Message
- func BodyStructureContainsFold(v string) predicate.Message
- func BodyStructureEQ(v string) predicate.Message
- func BodyStructureEqualFold(v string) predicate.Message
- func BodyStructureGT(v string) predicate.Message
- func BodyStructureGTE(v string) predicate.Message
- func BodyStructureHasPrefix(v string) predicate.Message
- func BodyStructureHasSuffix(v string) predicate.Message
- func BodyStructureIn(vs ...string) predicate.Message
- func BodyStructureLT(v string) predicate.Message
- func BodyStructureLTE(v string) predicate.Message
- func BodyStructureNEQ(v string) predicate.Message
- func BodyStructureNotIn(vs ...string) predicate.Message
- func Date(v time.Time) predicate.Message
- func DateEQ(v time.Time) predicate.Message
- func DateGT(v time.Time) predicate.Message
- func DateGTE(v time.Time) predicate.Message
- func DateIn(vs ...time.Time) predicate.Message
- func DateLT(v time.Time) predicate.Message
- func DateLTE(v time.Time) predicate.Message
- func DateNEQ(v time.Time) predicate.Message
- func DateNotIn(vs ...time.Time) predicate.Message
- func Deleted(v bool) predicate.Message
- func DeletedEQ(v bool) predicate.Message
- func DeletedNEQ(v bool) predicate.Message
- func Envelope(v string) predicate.Message
- func EnvelopeContains(v string) predicate.Message
- func EnvelopeContainsFold(v string) predicate.Message
- func EnvelopeEQ(v string) predicate.Message
- func EnvelopeEqualFold(v string) predicate.Message
- func EnvelopeGT(v string) predicate.Message
- func EnvelopeGTE(v string) predicate.Message
- func EnvelopeHasPrefix(v string) predicate.Message
- func EnvelopeHasSuffix(v string) predicate.Message
- func EnvelopeIn(vs ...string) predicate.Message
- func EnvelopeLT(v string) predicate.Message
- func EnvelopeLTE(v string) predicate.Message
- func EnvelopeNEQ(v string) predicate.Message
- func EnvelopeNotIn(vs ...string) predicate.Message
- func HasFlags() predicate.Message
- func HasFlagsWith(preds ...predicate.MessageFlag) predicate.Message
- func HasUIDs() predicate.Message
- func HasUIDsWith(preds ...predicate.UID) predicate.Message
- func ID(id int) predicate.Message
- func IDEQ(id int) predicate.Message
- func IDGT(id int) predicate.Message
- func IDGTE(id int) predicate.Message
- func IDIn(ids ...int) predicate.Message
- func IDLT(id int) predicate.Message
- func IDLTE(id int) predicate.Message
- func IDNEQ(id int) predicate.Message
- func IDNotIn(ids ...int) predicate.Message
- func MessageID(v imap.InternalMessageID) predicate.Message
- func MessageIDContains(v imap.InternalMessageID) predicate.Message
- func MessageIDContainsFold(v imap.InternalMessageID) predicate.Message
- func MessageIDEQ(v imap.InternalMessageID) predicate.Message
- func MessageIDEqualFold(v imap.InternalMessageID) predicate.Message
- func MessageIDGT(v imap.InternalMessageID) predicate.Message
- func MessageIDGTE(v imap.InternalMessageID) predicate.Message
- func MessageIDHasPrefix(v imap.InternalMessageID) predicate.Message
- func MessageIDHasSuffix(v imap.InternalMessageID) predicate.Message
- func MessageIDIn(vs ...imap.InternalMessageID) predicate.Message
- func MessageIDLT(v imap.InternalMessageID) predicate.Message
- func MessageIDLTE(v imap.InternalMessageID) predicate.Message
- func MessageIDNEQ(v imap.InternalMessageID) predicate.Message
- func MessageIDNotIn(vs ...imap.InternalMessageID) predicate.Message
- func Not(p predicate.Message) predicate.Message
- func Or(predicates ...predicate.Message) predicate.Message
- func RemoteID(v imap.MessageID) predicate.Message
- func RemoteIDContains(v imap.MessageID) predicate.Message
- func RemoteIDContainsFold(v imap.MessageID) predicate.Message
- func RemoteIDEQ(v imap.MessageID) predicate.Message
- func RemoteIDEqualFold(v imap.MessageID) predicate.Message
- func RemoteIDGT(v imap.MessageID) predicate.Message
- func RemoteIDGTE(v imap.MessageID) predicate.Message
- func RemoteIDHasPrefix(v imap.MessageID) predicate.Message
- func RemoteIDHasSuffix(v imap.MessageID) predicate.Message
- func RemoteIDIn(vs ...imap.MessageID) predicate.Message
- func RemoteIDIsNil() predicate.Message
- func RemoteIDLT(v imap.MessageID) predicate.Message
- func RemoteIDLTE(v imap.MessageID) predicate.Message
- func RemoteIDNEQ(v imap.MessageID) predicate.Message
- func RemoteIDNotIn(vs ...imap.MessageID) predicate.Message
- func RemoteIDNotNil() predicate.Message
- func Size(v int) predicate.Message
- func SizeEQ(v int) predicate.Message
- func SizeGT(v int) predicate.Message
- func SizeGTE(v int) predicate.Message
- func SizeIn(vs ...int) predicate.Message
- func SizeLT(v int) predicate.Message
- func SizeLTE(v int) predicate.Message
- func SizeNEQ(v int) predicate.Message
- func SizeNotIn(vs ...int) predicate.Message
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the message type in the database. Label = "message" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldMessageID holds the string denoting the messageid field in the database. FieldMessageID = "message_id" // FieldRemoteID holds the string denoting the remoteid field in the database. FieldRemoteID = "remote_id" // FieldDate holds the string denoting the date field in the database. FieldDate = "date" // FieldSize holds the string denoting the size field in the database. FieldSize = "size" // FieldBody holds the string denoting the body field in the database. FieldBody = "body" // FieldBodyStructure holds the string denoting the bodystructure field in the database. FieldBodyStructure = "body_structure" // FieldEnvelope holds the string denoting the envelope field in the database. FieldEnvelope = "envelope" // FieldDeleted holds the string denoting the deleted field in the database. FieldDeleted = "deleted" // EdgeFlags holds the string denoting the flags edge name in mutations. EdgeFlags = "flags" // EdgeUIDs holds the string denoting the uids edge name in mutations. EdgeUIDs = "UIDs" // Table holds the table name of the message in the database. Table = "messages" // FlagsTable is the table that holds the flags relation/edge. FlagsTable = "message_flags" // FlagsInverseTable is the table name for the MessageFlag entity. // It exists in this package in order to avoid circular dependency with the "messageflag" package. FlagsInverseTable = "message_flags" // FlagsColumn is the table column denoting the flags relation/edge. FlagsColumn = "message_flags" // UIDsTable is the table that holds the UIDs relation/edge. UIDsTable = "ui_ds" // UIDsInverseTable is the table name for the UID entity. // It exists in this package in order to avoid circular dependency with the "uid" package. UIDsInverseTable = "ui_ds" // UIDsColumn is the table column denoting the UIDs relation/edge. UIDsColumn = "uid_message" )
Variables ¶
var Columns = []string{ FieldID, FieldMessageID, FieldRemoteID, FieldDate, FieldSize, FieldBody, FieldBodyStructure, FieldEnvelope, FieldDeleted, }
Columns holds all SQL columns for message fields.
var ( // DefaultDeleted holds the default value on creation for the "Deleted" field. DefaultDeleted bool )
Functions ¶
func BodyContains ¶
BodyContains applies the Contains predicate on the "Body" field.
func BodyContainsFold ¶
BodyContainsFold applies the ContainsFold predicate on the "Body" field.
func BodyEqualFold ¶
BodyEqualFold applies the EqualFold predicate on the "Body" field.
func BodyHasPrefix ¶
BodyHasPrefix applies the HasPrefix predicate on the "Body" field.
func BodyHasSuffix ¶
BodyHasSuffix applies the HasSuffix predicate on the "Body" field.
func BodyStructure ¶
BodyStructure applies equality check predicate on the "BodyStructure" field. It's identical to BodyStructureEQ.
func BodyStructureContains ¶
BodyStructureContains applies the Contains predicate on the "BodyStructure" field.
func BodyStructureContainsFold ¶
BodyStructureContainsFold applies the ContainsFold predicate on the "BodyStructure" field.
func BodyStructureEQ ¶
BodyStructureEQ applies the EQ predicate on the "BodyStructure" field.
func BodyStructureEqualFold ¶
BodyStructureEqualFold applies the EqualFold predicate on the "BodyStructure" field.
func BodyStructureGT ¶
BodyStructureGT applies the GT predicate on the "BodyStructure" field.
func BodyStructureGTE ¶
BodyStructureGTE applies the GTE predicate on the "BodyStructure" field.
func BodyStructureHasPrefix ¶
BodyStructureHasPrefix applies the HasPrefix predicate on the "BodyStructure" field.
func BodyStructureHasSuffix ¶
BodyStructureHasSuffix applies the HasSuffix predicate on the "BodyStructure" field.
func BodyStructureIn ¶
BodyStructureIn applies the In predicate on the "BodyStructure" field.
func BodyStructureLT ¶
BodyStructureLT applies the LT predicate on the "BodyStructure" field.
func BodyStructureLTE ¶
BodyStructureLTE applies the LTE predicate on the "BodyStructure" field.
func BodyStructureNEQ ¶
BodyStructureNEQ applies the NEQ predicate on the "BodyStructure" field.
func BodyStructureNotIn ¶
BodyStructureNotIn applies the NotIn predicate on the "BodyStructure" field.
func Deleted ¶ added in v0.8.1
Deleted applies equality check predicate on the "Deleted" field. It's identical to DeletedEQ.
func DeletedNEQ ¶ added in v0.8.1
DeletedNEQ applies the NEQ predicate on the "Deleted" field.
func Envelope ¶
Envelope applies equality check predicate on the "Envelope" field. It's identical to EnvelopeEQ.
func EnvelopeContains ¶
EnvelopeContains applies the Contains predicate on the "Envelope" field.
func EnvelopeContainsFold ¶
EnvelopeContainsFold applies the ContainsFold predicate on the "Envelope" field.
func EnvelopeEQ ¶
EnvelopeEQ applies the EQ predicate on the "Envelope" field.
func EnvelopeEqualFold ¶
EnvelopeEqualFold applies the EqualFold predicate on the "Envelope" field.
func EnvelopeGT ¶
EnvelopeGT applies the GT predicate on the "Envelope" field.
func EnvelopeGTE ¶
EnvelopeGTE applies the GTE predicate on the "Envelope" field.
func EnvelopeHasPrefix ¶
EnvelopeHasPrefix applies the HasPrefix predicate on the "Envelope" field.
func EnvelopeHasSuffix ¶
EnvelopeHasSuffix applies the HasSuffix predicate on the "Envelope" field.
func EnvelopeIn ¶
EnvelopeIn applies the In predicate on the "Envelope" field.
func EnvelopeLT ¶
EnvelopeLT applies the LT predicate on the "Envelope" field.
func EnvelopeLTE ¶
EnvelopeLTE applies the LTE predicate on the "Envelope" field.
func EnvelopeNEQ ¶
EnvelopeNEQ applies the NEQ predicate on the "Envelope" field.
func EnvelopeNotIn ¶
EnvelopeNotIn applies the NotIn predicate on the "Envelope" field.
func HasFlagsWith ¶
func HasFlagsWith(preds ...predicate.MessageFlag) predicate.Message
HasFlagsWith applies the HasEdge predicate on the "flags" edge with a given conditions (other predicates).
func HasUIDsWith ¶
HasUIDsWith applies the HasEdge predicate on the "UIDs" edge with a given conditions (other predicates).
func MessageID ¶
func MessageID(v imap.InternalMessageID) predicate.Message
MessageID applies equality check predicate on the "MessageID" field. It's identical to MessageIDEQ.
func MessageIDContains ¶
func MessageIDContains(v imap.InternalMessageID) predicate.Message
MessageIDContains applies the Contains predicate on the "MessageID" field.
func MessageIDContainsFold ¶
func MessageIDContainsFold(v imap.InternalMessageID) predicate.Message
MessageIDContainsFold applies the ContainsFold predicate on the "MessageID" field.
func MessageIDEQ ¶
func MessageIDEQ(v imap.InternalMessageID) predicate.Message
MessageIDEQ applies the EQ predicate on the "MessageID" field.
func MessageIDEqualFold ¶
func MessageIDEqualFold(v imap.InternalMessageID) predicate.Message
MessageIDEqualFold applies the EqualFold predicate on the "MessageID" field.
func MessageIDGT ¶
func MessageIDGT(v imap.InternalMessageID) predicate.Message
MessageIDGT applies the GT predicate on the "MessageID" field.
func MessageIDGTE ¶
func MessageIDGTE(v imap.InternalMessageID) predicate.Message
MessageIDGTE applies the GTE predicate on the "MessageID" field.
func MessageIDHasPrefix ¶
func MessageIDHasPrefix(v imap.InternalMessageID) predicate.Message
MessageIDHasPrefix applies the HasPrefix predicate on the "MessageID" field.
func MessageIDHasSuffix ¶
func MessageIDHasSuffix(v imap.InternalMessageID) predicate.Message
MessageIDHasSuffix applies the HasSuffix predicate on the "MessageID" field.
func MessageIDIn ¶
func MessageIDIn(vs ...imap.InternalMessageID) predicate.Message
MessageIDIn applies the In predicate on the "MessageID" field.
func MessageIDLT ¶
func MessageIDLT(v imap.InternalMessageID) predicate.Message
MessageIDLT applies the LT predicate on the "MessageID" field.
func MessageIDLTE ¶
func MessageIDLTE(v imap.InternalMessageID) predicate.Message
MessageIDLTE applies the LTE predicate on the "MessageID" field.
func MessageIDNEQ ¶
func MessageIDNEQ(v imap.InternalMessageID) predicate.Message
MessageIDNEQ applies the NEQ predicate on the "MessageID" field.
func MessageIDNotIn ¶
func MessageIDNotIn(vs ...imap.InternalMessageID) predicate.Message
MessageIDNotIn applies the NotIn predicate on the "MessageID" field.
func RemoteID ¶ added in v0.11.0
RemoteID applies equality check predicate on the "RemoteID" field. It's identical to RemoteIDEQ.
func RemoteIDContains ¶ added in v0.11.0
RemoteIDContains applies the Contains predicate on the "RemoteID" field.
func RemoteIDContainsFold ¶ added in v0.11.0
RemoteIDContainsFold applies the ContainsFold predicate on the "RemoteID" field.
func RemoteIDEQ ¶ added in v0.11.0
RemoteIDEQ applies the EQ predicate on the "RemoteID" field.
func RemoteIDEqualFold ¶ added in v0.11.0
RemoteIDEqualFold applies the EqualFold predicate on the "RemoteID" field.
func RemoteIDGT ¶ added in v0.11.0
RemoteIDGT applies the GT predicate on the "RemoteID" field.
func RemoteIDGTE ¶ added in v0.11.0
RemoteIDGTE applies the GTE predicate on the "RemoteID" field.
func RemoteIDHasPrefix ¶ added in v0.11.0
RemoteIDHasPrefix applies the HasPrefix predicate on the "RemoteID" field.
func RemoteIDHasSuffix ¶ added in v0.11.0
RemoteIDHasSuffix applies the HasSuffix predicate on the "RemoteID" field.
func RemoteIDIn ¶ added in v0.11.0
RemoteIDIn applies the In predicate on the "RemoteID" field.
func RemoteIDIsNil ¶ added in v0.11.0
RemoteIDIsNil applies the IsNil predicate on the "RemoteID" field.
func RemoteIDLT ¶ added in v0.11.0
RemoteIDLT applies the LT predicate on the "RemoteID" field.
func RemoteIDLTE ¶ added in v0.11.0
RemoteIDLTE applies the LTE predicate on the "RemoteID" field.
func RemoteIDNEQ ¶ added in v0.11.0
RemoteIDNEQ applies the NEQ predicate on the "RemoteID" field.
func RemoteIDNotIn ¶ added in v0.11.0
RemoteIDNotIn applies the NotIn predicate on the "RemoteID" field.
func RemoteIDNotNil ¶ added in v0.11.0
RemoteIDNotNil applies the NotNil predicate on the "RemoteID" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.