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 imap.InternalMessageID) predicate.Message
- func IDEQ(id imap.InternalMessageID) predicate.Message
- func IDGT(id imap.InternalMessageID) predicate.Message
- func IDGTE(id imap.InternalMessageID) predicate.Message
- func IDIn(ids ...imap.InternalMessageID) predicate.Message
- func IDLT(id imap.InternalMessageID) predicate.Message
- func IDLTE(id imap.InternalMessageID) predicate.Message
- func IDNEQ(id imap.InternalMessageID) predicate.Message
- func IDNotIn(ids ...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" // 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, 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 ¶
Deleted applies equality check predicate on the "Deleted" field. It's identical to DeletedEQ.
func DeletedNEQ ¶
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 ID ¶
func ID(id imap.InternalMessageID) predicate.Message
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id imap.InternalMessageID) predicate.Message
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id imap.InternalMessageID) predicate.Message
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id imap.InternalMessageID) predicate.Message
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...imap.InternalMessageID) predicate.Message
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id imap.InternalMessageID) predicate.Message
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id imap.InternalMessageID) predicate.Message
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id imap.InternalMessageID) predicate.Message
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...imap.InternalMessageID) predicate.Message
IDNotIn applies the NotIn predicate on the ID field.
func RemoteID ¶
RemoteID applies equality check predicate on the "RemoteID" field. It's identical to RemoteIDEQ.
func RemoteIDContains ¶
RemoteIDContains applies the Contains predicate on the "RemoteID" field.
func RemoteIDContainsFold ¶
RemoteIDContainsFold applies the ContainsFold predicate on the "RemoteID" field.
func RemoteIDEQ ¶
RemoteIDEQ applies the EQ predicate on the "RemoteID" field.
func RemoteIDEqualFold ¶
RemoteIDEqualFold applies the EqualFold predicate on the "RemoteID" field.
func RemoteIDGT ¶
RemoteIDGT applies the GT predicate on the "RemoteID" field.
func RemoteIDGTE ¶
RemoteIDGTE applies the GTE predicate on the "RemoteID" field.
func RemoteIDHasPrefix ¶
RemoteIDHasPrefix applies the HasPrefix predicate on the "RemoteID" field.
func RemoteIDHasSuffix ¶
RemoteIDHasSuffix applies the HasSuffix predicate on the "RemoteID" field.
func RemoteIDIn ¶
RemoteIDIn applies the In predicate on the "RemoteID" field.
func RemoteIDIsNil ¶
RemoteIDIsNil applies the IsNil predicate on the "RemoteID" field.
func RemoteIDLT ¶
RemoteIDLT applies the LT predicate on the "RemoteID" field.
func RemoteIDLTE ¶
RemoteIDLTE applies the LTE predicate on the "RemoteID" field.
func RemoteIDNEQ ¶
RemoteIDNEQ applies the NEQ predicate on the "RemoteID" field.
func RemoteIDNotIn ¶
RemoteIDNotIn applies the NotIn predicate on the "RemoteID" field.
func RemoteIDNotNil ¶
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.