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 InternalID(v string) predicate.Message
- func InternalIDContains(v string) predicate.Message
- func InternalIDContainsFold(v string) predicate.Message
- func InternalIDEQ(v string) predicate.Message
- func InternalIDEqualFold(v string) predicate.Message
- func InternalIDGT(v string) predicate.Message
- func InternalIDGTE(v string) predicate.Message
- func InternalIDHasPrefix(v string) predicate.Message
- func InternalIDHasSuffix(v string) predicate.Message
- func InternalIDIn(vs ...string) predicate.Message
- func InternalIDLT(v string) predicate.Message
- func InternalIDLTE(v string) predicate.Message
- func InternalIDNEQ(v string) predicate.Message
- func InternalIDNotIn(vs ...string) predicate.Message
- func MessageID(v string) predicate.Message
- func MessageIDContains(v string) predicate.Message
- func MessageIDContainsFold(v string) predicate.Message
- func MessageIDEQ(v string) predicate.Message
- func MessageIDEqualFold(v string) predicate.Message
- func MessageIDGT(v string) predicate.Message
- func MessageIDGTE(v string) predicate.Message
- func MessageIDHasPrefix(v string) predicate.Message
- func MessageIDHasSuffix(v string) predicate.Message
- func MessageIDIn(vs ...string) predicate.Message
- func MessageIDLT(v string) predicate.Message
- func MessageIDLTE(v string) predicate.Message
- func MessageIDNEQ(v string) predicate.Message
- func MessageIDNotIn(vs ...string) predicate.Message
- func Not(p predicate.Message) predicate.Message
- func Or(predicates ...predicate.Message) 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" // FieldInternalID holds the string denoting the internalid field in the database. FieldInternalID = "internal_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, FieldInternalID, 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 InternalID ¶
InternalID applies equality check predicate on the "InternalID" field. It's identical to InternalIDEQ.
func InternalIDContains ¶
InternalIDContains applies the Contains predicate on the "InternalID" field.
func InternalIDContainsFold ¶
InternalIDContainsFold applies the ContainsFold predicate on the "InternalID" field.
func InternalIDEQ ¶
InternalIDEQ applies the EQ predicate on the "InternalID" field.
func InternalIDEqualFold ¶
InternalIDEqualFold applies the EqualFold predicate on the "InternalID" field.
func InternalIDGT ¶
InternalIDGT applies the GT predicate on the "InternalID" field.
func InternalIDGTE ¶
InternalIDGTE applies the GTE predicate on the "InternalID" field.
func InternalIDHasPrefix ¶
InternalIDHasPrefix applies the HasPrefix predicate on the "InternalID" field.
func InternalIDHasSuffix ¶
InternalIDHasSuffix applies the HasSuffix predicate on the "InternalID" field.
func InternalIDIn ¶
InternalIDIn applies the In predicate on the "InternalID" field.
func InternalIDLT ¶
InternalIDLT applies the LT predicate on the "InternalID" field.
func InternalIDLTE ¶
InternalIDLTE applies the LTE predicate on the "InternalID" field.
func InternalIDNEQ ¶
InternalIDNEQ applies the NEQ predicate on the "InternalID" field.
func InternalIDNotIn ¶
InternalIDNotIn applies the NotIn predicate on the "InternalID" field.
func MessageID ¶
MessageID applies equality check predicate on the "MessageID" field. It's identical to MessageIDEQ.
func MessageIDContains ¶
MessageIDContains applies the Contains predicate on the "MessageID" field.
func MessageIDContainsFold ¶
MessageIDContainsFold applies the ContainsFold predicate on the "MessageID" field.
func MessageIDEQ ¶
MessageIDEQ applies the EQ predicate on the "MessageID" field.
func MessageIDEqualFold ¶
MessageIDEqualFold applies the EqualFold predicate on the "MessageID" field.
func MessageIDGT ¶
MessageIDGT applies the GT predicate on the "MessageID" field.
func MessageIDGTE ¶
MessageIDGTE applies the GTE predicate on the "MessageID" field.
func MessageIDHasPrefix ¶
MessageIDHasPrefix applies the HasPrefix predicate on the "MessageID" field.
func MessageIDHasSuffix ¶
MessageIDHasSuffix applies the HasSuffix predicate on the "MessageID" field.
func MessageIDIn ¶
MessageIDIn applies the In predicate on the "MessageID" field.
func MessageIDLT ¶
MessageIDLT applies the LT predicate on the "MessageID" field.
func MessageIDLTE ¶
MessageIDLTE applies the LTE predicate on the "MessageID" field.
func MessageIDNEQ ¶
MessageIDNEQ applies the NEQ predicate on the "MessageID" field.
func MessageIDNotIn ¶
MessageIDNotIn applies the NotIn predicate on the "MessageID" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.