outbox

package
v0.0.0-...-86597e6 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the outbox type in the database.
	Label = "outbox"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldAggregateType holds the string denoting the aggregate_type field in the database.
	FieldAggregateType = "aggregate_type"
	// FieldAggregateID holds the string denoting the aggregate_id field in the database.
	FieldAggregateID = "aggregate_id"
	// FieldEvent holds the string denoting the event field in the database.
	FieldEvent = "event"
	// FieldPayload holds the string denoting the payload field in the database.
	FieldPayload = "payload"
	// FieldRetryAt holds the string denoting the retry_at field in the database.
	FieldRetryAt = "retry_at"
	// FieldRetryCount holds the string denoting the retry_count field in the database.
	FieldRetryCount = "retry_count"
	// Table holds the table name of the outbox in the database.
	Table = "outbox"
)

Variables

Columns holds all SQL columns for outbox fields.

Functions

func AggregateID

func AggregateID(v string) predicate.Outbox

AggregateID applies equality check predicate on the "aggregate_id" field. It's identical to AggregateIDEQ.

func AggregateIDContains

func AggregateIDContains(v string) predicate.Outbox

AggregateIDContains applies the Contains predicate on the "aggregate_id" field.

func AggregateIDContainsFold

func AggregateIDContainsFold(v string) predicate.Outbox

AggregateIDContainsFold applies the ContainsFold predicate on the "aggregate_id" field.

func AggregateIDEQ

func AggregateIDEQ(v string) predicate.Outbox

AggregateIDEQ applies the EQ predicate on the "aggregate_id" field.

func AggregateIDEqualFold

func AggregateIDEqualFold(v string) predicate.Outbox

AggregateIDEqualFold applies the EqualFold predicate on the "aggregate_id" field.

func AggregateIDGT

func AggregateIDGT(v string) predicate.Outbox

AggregateIDGT applies the GT predicate on the "aggregate_id" field.

func AggregateIDGTE

func AggregateIDGTE(v string) predicate.Outbox

AggregateIDGTE applies the GTE predicate on the "aggregate_id" field.

func AggregateIDHasPrefix

func AggregateIDHasPrefix(v string) predicate.Outbox

AggregateIDHasPrefix applies the HasPrefix predicate on the "aggregate_id" field.

func AggregateIDHasSuffix

func AggregateIDHasSuffix(v string) predicate.Outbox

AggregateIDHasSuffix applies the HasSuffix predicate on the "aggregate_id" field.

func AggregateIDIn

func AggregateIDIn(vs ...string) predicate.Outbox

AggregateIDIn applies the In predicate on the "aggregate_id" field.

func AggregateIDLT

func AggregateIDLT(v string) predicate.Outbox

AggregateIDLT applies the LT predicate on the "aggregate_id" field.

func AggregateIDLTE

func AggregateIDLTE(v string) predicate.Outbox

AggregateIDLTE applies the LTE predicate on the "aggregate_id" field.

func AggregateIDNEQ

func AggregateIDNEQ(v string) predicate.Outbox

AggregateIDNEQ applies the NEQ predicate on the "aggregate_id" field.

func AggregateIDNotIn

func AggregateIDNotIn(vs ...string) predicate.Outbox

AggregateIDNotIn applies the NotIn predicate on the "aggregate_id" field.

func AggregateType

func AggregateType(v string) predicate.Outbox

AggregateType applies equality check predicate on the "aggregate_type" field. It's identical to AggregateTypeEQ.

func AggregateTypeContains

func AggregateTypeContains(v string) predicate.Outbox

AggregateTypeContains applies the Contains predicate on the "aggregate_type" field.

func AggregateTypeContainsFold

func AggregateTypeContainsFold(v string) predicate.Outbox

AggregateTypeContainsFold applies the ContainsFold predicate on the "aggregate_type" field.

func AggregateTypeEQ

func AggregateTypeEQ(v string) predicate.Outbox

AggregateTypeEQ applies the EQ predicate on the "aggregate_type" field.

func AggregateTypeEqualFold

func AggregateTypeEqualFold(v string) predicate.Outbox

AggregateTypeEqualFold applies the EqualFold predicate on the "aggregate_type" field.

func AggregateTypeGT

func AggregateTypeGT(v string) predicate.Outbox

AggregateTypeGT applies the GT predicate on the "aggregate_type" field.

func AggregateTypeGTE

func AggregateTypeGTE(v string) predicate.Outbox

AggregateTypeGTE applies the GTE predicate on the "aggregate_type" field.

func AggregateTypeHasPrefix

func AggregateTypeHasPrefix(v string) predicate.Outbox

AggregateTypeHasPrefix applies the HasPrefix predicate on the "aggregate_type" field.

func AggregateTypeHasSuffix

func AggregateTypeHasSuffix(v string) predicate.Outbox

AggregateTypeHasSuffix applies the HasSuffix predicate on the "aggregate_type" field.

func AggregateTypeIn

func AggregateTypeIn(vs ...string) predicate.Outbox

AggregateTypeIn applies the In predicate on the "aggregate_type" field.

func AggregateTypeLT

func AggregateTypeLT(v string) predicate.Outbox

AggregateTypeLT applies the LT predicate on the "aggregate_type" field.

func AggregateTypeLTE

func AggregateTypeLTE(v string) predicate.Outbox

AggregateTypeLTE applies the LTE predicate on the "aggregate_type" field.

func AggregateTypeNEQ

func AggregateTypeNEQ(v string) predicate.Outbox

AggregateTypeNEQ applies the NEQ predicate on the "aggregate_type" field.

func AggregateTypeNotIn

func AggregateTypeNotIn(vs ...string) predicate.Outbox

AggregateTypeNotIn applies the NotIn predicate on the "aggregate_type" field.

func And

func And(predicates ...predicate.Outbox) predicate.Outbox

And groups predicates with the AND operator between them.

func Event

func Event(v string) predicate.Outbox

Event applies equality check predicate on the "event" field. It's identical to EventEQ.

func EventContains

func EventContains(v string) predicate.Outbox

EventContains applies the Contains predicate on the "event" field.

func EventContainsFold

func EventContainsFold(v string) predicate.Outbox

EventContainsFold applies the ContainsFold predicate on the "event" field.

func EventEQ

func EventEQ(v string) predicate.Outbox

EventEQ applies the EQ predicate on the "event" field.

func EventEqualFold

func EventEqualFold(v string) predicate.Outbox

EventEqualFold applies the EqualFold predicate on the "event" field.

func EventGT

func EventGT(v string) predicate.Outbox

EventGT applies the GT predicate on the "event" field.

func EventGTE

func EventGTE(v string) predicate.Outbox

EventGTE applies the GTE predicate on the "event" field.

func EventHasPrefix

func EventHasPrefix(v string) predicate.Outbox

EventHasPrefix applies the HasPrefix predicate on the "event" field.

func EventHasSuffix

func EventHasSuffix(v string) predicate.Outbox

EventHasSuffix applies the HasSuffix predicate on the "event" field.

func EventIn

func EventIn(vs ...string) predicate.Outbox

EventIn applies the In predicate on the "event" field.

func EventLT

func EventLT(v string) predicate.Outbox

EventLT applies the LT predicate on the "event" field.

func EventLTE

func EventLTE(v string) predicate.Outbox

EventLTE applies the LTE predicate on the "event" field.

func EventNEQ

func EventNEQ(v string) predicate.Outbox

EventNEQ applies the NEQ predicate on the "event" field.

func EventNotIn

func EventNotIn(vs ...string) predicate.Outbox

EventNotIn applies the NotIn predicate on the "event" field.

func ID

func ID(id int64) predicate.Outbox

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.Outbox

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.Outbox

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.Outbox

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.Outbox

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.Outbox

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.Outbox

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.Outbox

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.Outbox

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Outbox) predicate.Outbox

Or groups predicates with the OR operator between them.

func Payload

func Payload(v []byte) predicate.Outbox

Payload applies equality check predicate on the "payload" field. It's identical to PayloadEQ.

func PayloadEQ

func PayloadEQ(v []byte) predicate.Outbox

PayloadEQ applies the EQ predicate on the "payload" field.

func PayloadGT

func PayloadGT(v []byte) predicate.Outbox

PayloadGT applies the GT predicate on the "payload" field.

func PayloadGTE

func PayloadGTE(v []byte) predicate.Outbox

PayloadGTE applies the GTE predicate on the "payload" field.

func PayloadIn

func PayloadIn(vs ...[]byte) predicate.Outbox

PayloadIn applies the In predicate on the "payload" field.

func PayloadLT

func PayloadLT(v []byte) predicate.Outbox

PayloadLT applies the LT predicate on the "payload" field.

func PayloadLTE

func PayloadLTE(v []byte) predicate.Outbox

PayloadLTE applies the LTE predicate on the "payload" field.

func PayloadNEQ

func PayloadNEQ(v []byte) predicate.Outbox

PayloadNEQ applies the NEQ predicate on the "payload" field.

func PayloadNotIn

func PayloadNotIn(vs ...[]byte) predicate.Outbox

PayloadNotIn applies the NotIn predicate on the "payload" field.

func RetryAt

func RetryAt(v time.Time) predicate.Outbox

RetryAt applies equality check predicate on the "retry_at" field. It's identical to RetryAtEQ.

func RetryAtEQ

func RetryAtEQ(v time.Time) predicate.Outbox

RetryAtEQ applies the EQ predicate on the "retry_at" field.

func RetryAtGT

func RetryAtGT(v time.Time) predicate.Outbox

RetryAtGT applies the GT predicate on the "retry_at" field.

func RetryAtGTE

func RetryAtGTE(v time.Time) predicate.Outbox

RetryAtGTE applies the GTE predicate on the "retry_at" field.

func RetryAtIn

func RetryAtIn(vs ...time.Time) predicate.Outbox

RetryAtIn applies the In predicate on the "retry_at" field.

func RetryAtLT

func RetryAtLT(v time.Time) predicate.Outbox

RetryAtLT applies the LT predicate on the "retry_at" field.

func RetryAtLTE

func RetryAtLTE(v time.Time) predicate.Outbox

RetryAtLTE applies the LTE predicate on the "retry_at" field.

func RetryAtNEQ

func RetryAtNEQ(v time.Time) predicate.Outbox

RetryAtNEQ applies the NEQ predicate on the "retry_at" field.

func RetryAtNotIn

func RetryAtNotIn(vs ...time.Time) predicate.Outbox

RetryAtNotIn applies the NotIn predicate on the "retry_at" field.

func RetryCount

func RetryCount(v int) predicate.Outbox

RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.

func RetryCountEQ

func RetryCountEQ(v int) predicate.Outbox

RetryCountEQ applies the EQ predicate on the "retry_count" field.

func RetryCountGT

func RetryCountGT(v int) predicate.Outbox

RetryCountGT applies the GT predicate on the "retry_count" field.

func RetryCountGTE

func RetryCountGTE(v int) predicate.Outbox

RetryCountGTE applies the GTE predicate on the "retry_count" field.

func RetryCountIn

func RetryCountIn(vs ...int) predicate.Outbox

RetryCountIn applies the In predicate on the "retry_count" field.

func RetryCountIsNil

func RetryCountIsNil() predicate.Outbox

RetryCountIsNil applies the IsNil predicate on the "retry_count" field.

func RetryCountLT

func RetryCountLT(v int) predicate.Outbox

RetryCountLT applies the LT predicate on the "retry_count" field.

func RetryCountLTE

func RetryCountLTE(v int) predicate.Outbox

RetryCountLTE applies the LTE predicate on the "retry_count" field.

func RetryCountNEQ

func RetryCountNEQ(v int) predicate.Outbox

RetryCountNEQ applies the NEQ predicate on the "retry_count" field.

func RetryCountNotIn

func RetryCountNotIn(vs ...int) predicate.Outbox

RetryCountNotIn applies the NotIn predicate on the "retry_count" field.

func RetryCountNotNil

func RetryCountNotNil() predicate.Outbox

RetryCountNotNil applies the NotNil predicate on the "retry_count" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Outbox queries.

func ByAggregateID

func ByAggregateID(opts ...sql.OrderTermOption) OrderOption

ByAggregateID orders the results by the aggregate_id field.

func ByAggregateType

func ByAggregateType(opts ...sql.OrderTermOption) OrderOption

ByAggregateType orders the results by the aggregate_type field.

func ByEvent

func ByEvent(opts ...sql.OrderTermOption) OrderOption

ByEvent orders the results by the event field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByRetryAt

func ByRetryAt(opts ...sql.OrderTermOption) OrderOption

ByRetryAt orders the results by the retry_at field.

func ByRetryCount

func ByRetryCount(opts ...sql.OrderTermOption) OrderOption

ByRetryCount orders the results by the retry_count field.

Jump to

Keyboard shortcuts

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