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 int) predicate.Mailbox
- func IDEQ(id int) predicate.Mailbox
- func IDGT(id int) predicate.Mailbox
- func IDGTE(id int) predicate.Mailbox
- func IDIn(ids ...int) predicate.Mailbox
- func IDLT(id int) predicate.Mailbox
- func IDLTE(id int) predicate.Mailbox
- func IDNEQ(id int) predicate.Mailbox
- func IDNotIn(ids ...int) predicate.Mailbox
- func MailboxID(v string) predicate.Mailbox
- func MailboxIDContains(v string) predicate.Mailbox
- func MailboxIDContainsFold(v string) predicate.Mailbox
- func MailboxIDEQ(v string) predicate.Mailbox
- func MailboxIDEqualFold(v string) predicate.Mailbox
- func MailboxIDGT(v string) predicate.Mailbox
- func MailboxIDGTE(v string) predicate.Mailbox
- func MailboxIDHasPrefix(v string) predicate.Mailbox
- func MailboxIDHasSuffix(v string) predicate.Mailbox
- func MailboxIDIn(vs ...string) predicate.Mailbox
- func MailboxIDLT(v string) predicate.Mailbox
- func MailboxIDLTE(v string) predicate.Mailbox
- func MailboxIDNEQ(v string) predicate.Mailbox
- func MailboxIDNotIn(vs ...string) 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 Subscribed(v bool) predicate.Mailbox
- func SubscribedEQ(v bool) predicate.Mailbox
- func SubscribedNEQ(v bool) predicate.Mailbox
- func UIDNext(v int) predicate.Mailbox
- func UIDNextEQ(v int) predicate.Mailbox
- func UIDNextGT(v int) predicate.Mailbox
- func UIDNextGTE(v int) predicate.Mailbox
- func UIDNextIn(vs ...int) predicate.Mailbox
- func UIDNextLT(v int) predicate.Mailbox
- func UIDNextLTE(v int) predicate.Mailbox
- func UIDNextNEQ(v int) predicate.Mailbox
- func UIDNextNotIn(vs ...int) predicate.Mailbox
- func UIDValidity(v int) predicate.Mailbox
- func UIDValidityEQ(v int) predicate.Mailbox
- func UIDValidityGT(v int) predicate.Mailbox
- func UIDValidityGTE(v int) predicate.Mailbox
- func UIDValidityIn(vs ...int) predicate.Mailbox
- func UIDValidityLT(v int) predicate.Mailbox
- func UIDValidityLTE(v int) predicate.Mailbox
- func UIDValidityNEQ(v int) predicate.Mailbox
- func UIDValidityNotIn(vs ...int) 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" // FieldMailboxID holds the string denoting the mailboxid field in the database. FieldMailboxID = "mailbox_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 int // DefaultUIDValidity holds the default value on creation for the "UIDValidity" field. DefaultUIDValidity int // DefaultSubscribed holds the default value on creation for the "Subscribed" field. DefaultSubscribed bool )
var Columns = []string{ FieldID, FieldMailboxID, 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 MailboxID ¶
MailboxID applies equality check predicate on the "MailboxID" field. It's identical to MailboxIDEQ.
func MailboxIDContains ¶
MailboxIDContains applies the Contains predicate on the "MailboxID" field.
func MailboxIDContainsFold ¶
MailboxIDContainsFold applies the ContainsFold predicate on the "MailboxID" field.
func MailboxIDEQ ¶
MailboxIDEQ applies the EQ predicate on the "MailboxID" field.
func MailboxIDEqualFold ¶
MailboxIDEqualFold applies the EqualFold predicate on the "MailboxID" field.
func MailboxIDGT ¶
MailboxIDGT applies the GT predicate on the "MailboxID" field.
func MailboxIDGTE ¶
MailboxIDGTE applies the GTE predicate on the "MailboxID" field.
func MailboxIDHasPrefix ¶
MailboxIDHasPrefix applies the HasPrefix predicate on the "MailboxID" field.
func MailboxIDHasSuffix ¶
MailboxIDHasSuffix applies the HasSuffix predicate on the "MailboxID" field.
func MailboxIDIn ¶
MailboxIDIn applies the In predicate on the "MailboxID" field.
func MailboxIDLT ¶
MailboxIDLT applies the LT predicate on the "MailboxID" field.
func MailboxIDLTE ¶
MailboxIDLTE applies the LTE predicate on the "MailboxID" field.
func MailboxIDNEQ ¶
MailboxIDNEQ applies the NEQ predicate on the "MailboxID" field.
func MailboxIDNotIn ¶
MailboxIDNotIn applies the NotIn predicate on the "MailboxID" 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 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.