mailbox

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for mailbox fields.

Functions

func And

func And(predicates ...predicate.Mailbox) predicate.Mailbox

And groups predicates with the AND operator between them.

func HasAttributes

func HasAttributes() predicate.Mailbox

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 HasFlags

func HasFlags() predicate.Mailbox

HasFlags applies the HasEdge predicate on the "flags" edge.

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

func HasPermanentFlags() predicate.Mailbox

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 HasUIDs

func HasUIDs() predicate.Mailbox

HasUIDs applies the HasEdge predicate on the "UIDs" edge.

func HasUIDsWith

func HasUIDsWith(preds ...predicate.UID) predicate.Mailbox

HasUIDsWith applies the HasEdge predicate on the "UIDs" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.Mailbox

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Mailbox

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Mailbox

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Mailbox

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Mailbox

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Mailbox

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Mailbox

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Mailbox

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Mailbox

IDNotIn applies the NotIn predicate on the ID field.

func MailboxID

func MailboxID(v string) predicate.Mailbox

MailboxID applies equality check predicate on the "MailboxID" field. It's identical to MailboxIDEQ.

func MailboxIDContains

func MailboxIDContains(v string) predicate.Mailbox

MailboxIDContains applies the Contains predicate on the "MailboxID" field.

func MailboxIDContainsFold

func MailboxIDContainsFold(v string) predicate.Mailbox

MailboxIDContainsFold applies the ContainsFold predicate on the "MailboxID" field.

func MailboxIDEQ

func MailboxIDEQ(v string) predicate.Mailbox

MailboxIDEQ applies the EQ predicate on the "MailboxID" field.

func MailboxIDEqualFold

func MailboxIDEqualFold(v string) predicate.Mailbox

MailboxIDEqualFold applies the EqualFold predicate on the "MailboxID" field.

func MailboxIDGT

func MailboxIDGT(v string) predicate.Mailbox

MailboxIDGT applies the GT predicate on the "MailboxID" field.

func MailboxIDGTE

func MailboxIDGTE(v string) predicate.Mailbox

MailboxIDGTE applies the GTE predicate on the "MailboxID" field.

func MailboxIDHasPrefix

func MailboxIDHasPrefix(v string) predicate.Mailbox

MailboxIDHasPrefix applies the HasPrefix predicate on the "MailboxID" field.

func MailboxIDHasSuffix

func MailboxIDHasSuffix(v string) predicate.Mailbox

MailboxIDHasSuffix applies the HasSuffix predicate on the "MailboxID" field.

func MailboxIDIn

func MailboxIDIn(vs ...string) predicate.Mailbox

MailboxIDIn applies the In predicate on the "MailboxID" field.

func MailboxIDLT

func MailboxIDLT(v string) predicate.Mailbox

MailboxIDLT applies the LT predicate on the "MailboxID" field.

func MailboxIDLTE

func MailboxIDLTE(v string) predicate.Mailbox

MailboxIDLTE applies the LTE predicate on the "MailboxID" field.

func MailboxIDNEQ

func MailboxIDNEQ(v string) predicate.Mailbox

MailboxIDNEQ applies the NEQ predicate on the "MailboxID" field.

func MailboxIDNotIn

func MailboxIDNotIn(vs ...string) predicate.Mailbox

MailboxIDNotIn applies the NotIn predicate on the "MailboxID" field.

func Name

func Name(v string) predicate.Mailbox

Name applies equality check predicate on the "Name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Mailbox

NameContains applies the Contains predicate on the "Name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Mailbox

NameContainsFold applies the ContainsFold predicate on the "Name" field.

func NameEQ

func NameEQ(v string) predicate.Mailbox

NameEQ applies the EQ predicate on the "Name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Mailbox

NameEqualFold applies the EqualFold predicate on the "Name" field.

func NameGT

func NameGT(v string) predicate.Mailbox

NameGT applies the GT predicate on the "Name" field.

func NameGTE

func NameGTE(v string) predicate.Mailbox

NameGTE applies the GTE predicate on the "Name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Mailbox

NameHasPrefix applies the HasPrefix predicate on the "Name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Mailbox

NameHasSuffix applies the HasSuffix predicate on the "Name" field.

func NameIn

func NameIn(vs ...string) predicate.Mailbox

NameIn applies the In predicate on the "Name" field.

func NameLT

func NameLT(v string) predicate.Mailbox

NameLT applies the LT predicate on the "Name" field.

func NameLTE

func NameLTE(v string) predicate.Mailbox

NameLTE applies the LTE predicate on the "Name" field.

func NameNEQ

func NameNEQ(v string) predicate.Mailbox

NameNEQ applies the NEQ predicate on the "Name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Mailbox

NameNotIn applies the NotIn predicate on the "Name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Mailbox) predicate.Mailbox

Or groups predicates with the OR operator between them.

func Subscribed

func Subscribed(v bool) predicate.Mailbox

Subscribed applies equality check predicate on the "Subscribed" field. It's identical to SubscribedEQ.

func SubscribedEQ

func SubscribedEQ(v bool) predicate.Mailbox

SubscribedEQ applies the EQ predicate on the "Subscribed" field.

func SubscribedNEQ

func SubscribedNEQ(v bool) predicate.Mailbox

SubscribedNEQ applies the NEQ predicate on the "Subscribed" field.

func UIDNext

func UIDNext(v int) predicate.Mailbox

UIDNext applies equality check predicate on the "UIDNext" field. It's identical to UIDNextEQ.

func UIDNextEQ

func UIDNextEQ(v int) predicate.Mailbox

UIDNextEQ applies the EQ predicate on the "UIDNext" field.

func UIDNextGT

func UIDNextGT(v int) predicate.Mailbox

UIDNextGT applies the GT predicate on the "UIDNext" field.

func UIDNextGTE

func UIDNextGTE(v int) predicate.Mailbox

UIDNextGTE applies the GTE predicate on the "UIDNext" field.

func UIDNextIn

func UIDNextIn(vs ...int) predicate.Mailbox

UIDNextIn applies the In predicate on the "UIDNext" field.

func UIDNextLT

func UIDNextLT(v int) predicate.Mailbox

UIDNextLT applies the LT predicate on the "UIDNext" field.

func UIDNextLTE

func UIDNextLTE(v int) predicate.Mailbox

UIDNextLTE applies the LTE predicate on the "UIDNext" field.

func UIDNextNEQ

func UIDNextNEQ(v int) predicate.Mailbox

UIDNextNEQ applies the NEQ predicate on the "UIDNext" field.

func UIDNextNotIn

func UIDNextNotIn(vs ...int) predicate.Mailbox

UIDNextNotIn applies the NotIn predicate on the "UIDNext" field.

func UIDValidity

func UIDValidity(v int) predicate.Mailbox

UIDValidity applies equality check predicate on the "UIDValidity" field. It's identical to UIDValidityEQ.

func UIDValidityEQ

func UIDValidityEQ(v int) predicate.Mailbox

UIDValidityEQ applies the EQ predicate on the "UIDValidity" field.

func UIDValidityGT

func UIDValidityGT(v int) predicate.Mailbox

UIDValidityGT applies the GT predicate on the "UIDValidity" field.

func UIDValidityGTE

func UIDValidityGTE(v int) predicate.Mailbox

UIDValidityGTE applies the GTE predicate on the "UIDValidity" field.

func UIDValidityIn

func UIDValidityIn(vs ...int) predicate.Mailbox

UIDValidityIn applies the In predicate on the "UIDValidity" field.

func UIDValidityLT

func UIDValidityLT(v int) predicate.Mailbox

UIDValidityLT applies the LT predicate on the "UIDValidity" field.

func UIDValidityLTE

func UIDValidityLTE(v int) predicate.Mailbox

UIDValidityLTE applies the LTE predicate on the "UIDValidity" field.

func UIDValidityNEQ

func UIDValidityNEQ(v int) predicate.Mailbox

UIDValidityNEQ applies the NEQ predicate on the "UIDValidity" field.

func UIDValidityNotIn

func UIDValidityNotIn(vs ...int) predicate.Mailbox

UIDValidityNotIn applies the NotIn predicate on the "UIDValidity" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL