Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Mailbox) predicate.Mailbox
- func HasAttributes() predicate.Mailbox
- func HasAttributesWith(preds ...predicate.MailboxAttr) predicate.Mailbox
- func HasFlags() predicate.Mailbox
- func HasFlagsWith(preds ...predicate.MailboxFlag) predicate.Mailbox
- func HasPermanentFlags() predicate.Mailbox
- func HasPermanentFlagsWith(preds ...predicate.MailboxPermFlag) predicate.Mailbox
- func HasUIDs() predicate.Mailbox
- func HasUIDsWith(preds ...predicate.UID) predicate.Mailbox
- func ID(id imap.InternalMailboxID) predicate.Mailbox
- func IDEQ(id imap.InternalMailboxID) predicate.Mailbox
- func IDGT(id imap.InternalMailboxID) predicate.Mailbox
- func IDGTE(id imap.InternalMailboxID) predicate.Mailbox
- func IDIn(ids ...imap.InternalMailboxID) predicate.Mailbox
- func IDLT(id imap.InternalMailboxID) predicate.Mailbox
- func IDLTE(id imap.InternalMailboxID) predicate.Mailbox
- func IDNEQ(id imap.InternalMailboxID) predicate.Mailbox
- func IDNotIn(ids ...imap.InternalMailboxID) predicate.Mailbox
- func Name(v string) predicate.Mailbox
- func NameContains(v string) predicate.Mailbox
- func NameContainsFold(v string) predicate.Mailbox
- func NameEQ(v string) predicate.Mailbox
- func NameEqualFold(v string) predicate.Mailbox
- func NameGT(v string) predicate.Mailbox
- func NameGTE(v string) predicate.Mailbox
- func NameHasPrefix(v string) predicate.Mailbox
- func NameHasSuffix(v string) predicate.Mailbox
- func NameIn(vs ...string) predicate.Mailbox
- func NameLT(v string) predicate.Mailbox
- func NameLTE(v string) predicate.Mailbox
- func NameNEQ(v string) predicate.Mailbox
- func NameNotIn(vs ...string) predicate.Mailbox
- func Not(p predicate.Mailbox) predicate.Mailbox
- func Or(predicates ...predicate.Mailbox) predicate.Mailbox
- func RemoteID(v imap.LabelID) predicate.Mailbox
- func RemoteIDContains(v imap.LabelID) predicate.Mailbox
- func RemoteIDContainsFold(v imap.LabelID) predicate.Mailbox
- func RemoteIDEQ(v imap.LabelID) predicate.Mailbox
- func RemoteIDEqualFold(v imap.LabelID) predicate.Mailbox
- func RemoteIDGT(v imap.LabelID) predicate.Mailbox
- func RemoteIDGTE(v imap.LabelID) predicate.Mailbox
- func RemoteIDHasPrefix(v imap.LabelID) predicate.Mailbox
- func RemoteIDHasSuffix(v imap.LabelID) predicate.Mailbox
- func RemoteIDIn(vs ...imap.LabelID) predicate.Mailbox
- func RemoteIDIsNil() predicate.Mailbox
- func RemoteIDLT(v imap.LabelID) predicate.Mailbox
- func RemoteIDLTE(v imap.LabelID) predicate.Mailbox
- func RemoteIDNEQ(v imap.LabelID) predicate.Mailbox
- func RemoteIDNotIn(vs ...imap.LabelID) predicate.Mailbox
- func RemoteIDNotNil() predicate.Mailbox
- func Subscribed(v bool) predicate.Mailbox
- func SubscribedEQ(v bool) predicate.Mailbox
- func SubscribedNEQ(v bool) predicate.Mailbox
- func UIDNext(v imap.UID) predicate.Mailbox
- func UIDNextEQ(v imap.UID) predicate.Mailbox
- func UIDNextGT(v imap.UID) predicate.Mailbox
- func UIDNextGTE(v imap.UID) predicate.Mailbox
- func UIDNextIn(vs ...imap.UID) predicate.Mailbox
- func UIDNextLT(v imap.UID) predicate.Mailbox
- func UIDNextLTE(v imap.UID) predicate.Mailbox
- func UIDNextNEQ(v imap.UID) predicate.Mailbox
- func UIDNextNotIn(vs ...imap.UID) predicate.Mailbox
- func UIDValidity(v imap.UID) predicate.Mailbox
- func UIDValidityEQ(v imap.UID) predicate.Mailbox
- func UIDValidityGT(v imap.UID) predicate.Mailbox
- func UIDValidityGTE(v imap.UID) predicate.Mailbox
- func UIDValidityIn(vs ...imap.UID) predicate.Mailbox
- func UIDValidityLT(v imap.UID) predicate.Mailbox
- func UIDValidityLTE(v imap.UID) predicate.Mailbox
- func UIDValidityNEQ(v imap.UID) predicate.Mailbox
- func UIDValidityNotIn(vs ...imap.UID) predicate.Mailbox
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the mailbox type in the database. Label = "mailbox" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldUIDNext holds the string denoting the uidnext field in the database. FieldUIDNext = "uid_next" // FieldUIDValidity holds the string denoting the uidvalidity field in the database. FieldUIDValidity = "uid_validity" // FieldSubscribed holds the string denoting the subscribed field in the database. FieldSubscribed = "subscribed" // EdgeUIDs holds the string denoting the uids edge name in mutations. EdgeUIDs = "UIDs" // EdgeFlags holds the string denoting the flags edge name in mutations. EdgeFlags = "flags" // EdgePermanentFlags holds the string denoting the permanent_flags edge name in mutations. EdgePermanentFlags = "permanent_flags" // EdgeAttributes holds the string denoting the attributes edge name in mutations. EdgeAttributes = "attributes" // Table holds the table name of the mailbox in the database. Table = "mailboxes" // 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 = "mailbox_ui_ds" // FlagsTable is the table that holds the flags relation/edge. FlagsTable = "mailbox_flags" // FlagsInverseTable is the table name for the MailboxFlag entity. // It exists in this package in order to avoid circular dependency with the "mailboxflag" package. FlagsInverseTable = "mailbox_flags" // FlagsColumn is the table column denoting the flags relation/edge. FlagsColumn = "mailbox_flags" // PermanentFlagsTable is the table that holds the permanent_flags relation/edge. PermanentFlagsTable = "mailbox_perm_flags" // PermanentFlagsInverseTable is the table name for the MailboxPermFlag entity. // It exists in this package in order to avoid circular dependency with the "mailboxpermflag" package. PermanentFlagsInverseTable = "mailbox_perm_flags" // PermanentFlagsColumn is the table column denoting the permanent_flags relation/edge. PermanentFlagsColumn = "mailbox_permanent_flags" // AttributesTable is the table that holds the attributes relation/edge. AttributesTable = "mailbox_attrs" // AttributesInverseTable is the table name for the MailboxAttr entity. // It exists in this package in order to avoid circular dependency with the "mailboxattr" package. AttributesInverseTable = "mailbox_attrs" // AttributesColumn is the table column denoting the attributes relation/edge. AttributesColumn = "mailbox_attributes" )
Variables ¶
var ( // DefaultUIDNext holds the default value on creation for the "UIDNext" field. DefaultUIDNext imap.UID // DefaultUIDValidity holds the default value on creation for the "UIDValidity" field. DefaultUIDValidity imap.UID // DefaultSubscribed holds the default value on creation for the "Subscribed" field. DefaultSubscribed bool )
var Columns = []string{ FieldID, FieldRemoteID, FieldName, FieldUIDNext, FieldUIDValidity, FieldSubscribed, }
Columns holds all SQL columns for mailbox fields.
Functions ¶
func HasAttributes ¶
HasAttributes applies the HasEdge predicate on the "attributes" edge.
func HasAttributesWith ¶
func HasAttributesWith(preds ...predicate.MailboxAttr) predicate.Mailbox
HasAttributesWith applies the HasEdge predicate on the "attributes" edge with a given conditions (other predicates).
func HasFlagsWith ¶
func HasFlagsWith(preds ...predicate.MailboxFlag) predicate.Mailbox
HasFlagsWith applies the HasEdge predicate on the "flags" edge with a given conditions (other predicates).
func HasPermanentFlags ¶
HasPermanentFlags applies the HasEdge predicate on the "permanent_flags" edge.
func HasPermanentFlagsWith ¶
func HasPermanentFlagsWith(preds ...predicate.MailboxPermFlag) predicate.Mailbox
HasPermanentFlagsWith applies the HasEdge predicate on the "permanent_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.InternalMailboxID) predicate.Mailbox
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id imap.InternalMailboxID) predicate.Mailbox
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id imap.InternalMailboxID) predicate.Mailbox
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id imap.InternalMailboxID) predicate.Mailbox
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...imap.InternalMailboxID) predicate.Mailbox
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id imap.InternalMailboxID) predicate.Mailbox
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id imap.InternalMailboxID) predicate.Mailbox
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id imap.InternalMailboxID) predicate.Mailbox
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...imap.InternalMailboxID) predicate.Mailbox
IDNotIn applies the NotIn predicate on the ID field.
func NameContains ¶
NameContains applies the Contains predicate on the "Name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "Name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "Name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "Name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "Name" 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 Subscribed ¶
Subscribed applies equality check predicate on the "Subscribed" field. It's identical to SubscribedEQ.
func SubscribedEQ ¶
SubscribedEQ applies the EQ predicate on the "Subscribed" field.
func SubscribedNEQ ¶
SubscribedNEQ applies the NEQ predicate on the "Subscribed" field.
func UIDNext ¶
UIDNext applies equality check predicate on the "UIDNext" field. It's identical to UIDNextEQ.
func UIDNextGTE ¶
UIDNextGTE applies the GTE predicate on the "UIDNext" field.
func UIDNextLTE ¶
UIDNextLTE applies the LTE predicate on the "UIDNext" field.
func UIDNextNEQ ¶
UIDNextNEQ applies the NEQ predicate on the "UIDNext" field.
func UIDNextNotIn ¶
UIDNextNotIn applies the NotIn predicate on the "UIDNext" field.
func UIDValidity ¶
UIDValidity applies equality check predicate on the "UIDValidity" field. It's identical to UIDValidityEQ.
func UIDValidityEQ ¶
UIDValidityEQ applies the EQ predicate on the "UIDValidity" field.
func UIDValidityGT ¶
UIDValidityGT applies the GT predicate on the "UIDValidity" field.
func UIDValidityGTE ¶
UIDValidityGTE applies the GTE predicate on the "UIDValidity" field.
func UIDValidityIn ¶
UIDValidityIn applies the In predicate on the "UIDValidity" field.
func UIDValidityLT ¶
UIDValidityLT applies the LT predicate on the "UIDValidity" field.
func UIDValidityLTE ¶
UIDValidityLTE applies the LTE predicate on the "UIDValidity" field.
func UIDValidityNEQ ¶
UIDValidityNEQ applies the NEQ predicate on the "UIDValidity" field.
func UIDValidityNotIn ¶
UIDValidityNotIn applies the NotIn predicate on the "UIDValidity" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.