Documentation
¶
Index ¶
- Constants
- Variables
- func AggregateID(v string) predicate.Outbox
- func AggregateIDContains(v string) predicate.Outbox
- func AggregateIDContainsFold(v string) predicate.Outbox
- func AggregateIDEQ(v string) predicate.Outbox
- func AggregateIDEqualFold(v string) predicate.Outbox
- func AggregateIDGT(v string) predicate.Outbox
- func AggregateIDGTE(v string) predicate.Outbox
- func AggregateIDHasPrefix(v string) predicate.Outbox
- func AggregateIDHasSuffix(v string) predicate.Outbox
- func AggregateIDIn(vs ...string) predicate.Outbox
- func AggregateIDLT(v string) predicate.Outbox
- func AggregateIDLTE(v string) predicate.Outbox
- func AggregateIDNEQ(v string) predicate.Outbox
- func AggregateIDNotIn(vs ...string) predicate.Outbox
- func AggregateType(v string) predicate.Outbox
- func AggregateTypeContains(v string) predicate.Outbox
- func AggregateTypeContainsFold(v string) predicate.Outbox
- func AggregateTypeEQ(v string) predicate.Outbox
- func AggregateTypeEqualFold(v string) predicate.Outbox
- func AggregateTypeGT(v string) predicate.Outbox
- func AggregateTypeGTE(v string) predicate.Outbox
- func AggregateTypeHasPrefix(v string) predicate.Outbox
- func AggregateTypeHasSuffix(v string) predicate.Outbox
- func AggregateTypeIn(vs ...string) predicate.Outbox
- func AggregateTypeLT(v string) predicate.Outbox
- func AggregateTypeLTE(v string) predicate.Outbox
- func AggregateTypeNEQ(v string) predicate.Outbox
- func AggregateTypeNotIn(vs ...string) predicate.Outbox
- func And(predicates ...predicate.Outbox) predicate.Outbox
- func Event(v string) predicate.Outbox
- func EventContains(v string) predicate.Outbox
- func EventContainsFold(v string) predicate.Outbox
- func EventEQ(v string) predicate.Outbox
- func EventEqualFold(v string) predicate.Outbox
- func EventGT(v string) predicate.Outbox
- func EventGTE(v string) predicate.Outbox
- func EventHasPrefix(v string) predicate.Outbox
- func EventHasSuffix(v string) predicate.Outbox
- func EventIn(vs ...string) predicate.Outbox
- func EventLT(v string) predicate.Outbox
- func EventLTE(v string) predicate.Outbox
- func EventNEQ(v string) predicate.Outbox
- func EventNotIn(vs ...string) predicate.Outbox
- func ID(id int64) predicate.Outbox
- func IDEQ(id int64) predicate.Outbox
- func IDGT(id int64) predicate.Outbox
- func IDGTE(id int64) predicate.Outbox
- func IDIn(ids ...int64) predicate.Outbox
- func IDLT(id int64) predicate.Outbox
- func IDLTE(id int64) predicate.Outbox
- func IDNEQ(id int64) predicate.Outbox
- func IDNotIn(ids ...int64) predicate.Outbox
- func Not(p predicate.Outbox) predicate.Outbox
- func Or(predicates ...predicate.Outbox) predicate.Outbox
- func Payload(v []byte) predicate.Outbox
- func PayloadEQ(v []byte) predicate.Outbox
- func PayloadGT(v []byte) predicate.Outbox
- func PayloadGTE(v []byte) predicate.Outbox
- func PayloadIn(vs ...[]byte) predicate.Outbox
- func PayloadLT(v []byte) predicate.Outbox
- func PayloadLTE(v []byte) predicate.Outbox
- func PayloadNEQ(v []byte) predicate.Outbox
- func PayloadNotIn(vs ...[]byte) predicate.Outbox
- func RetryAt(v time.Time) predicate.Outbox
- func RetryAtEQ(v time.Time) predicate.Outbox
- func RetryAtGT(v time.Time) predicate.Outbox
- func RetryAtGTE(v time.Time) predicate.Outbox
- func RetryAtIn(vs ...time.Time) predicate.Outbox
- func RetryAtLT(v time.Time) predicate.Outbox
- func RetryAtLTE(v time.Time) predicate.Outbox
- func RetryAtNEQ(v time.Time) predicate.Outbox
- func RetryAtNotIn(vs ...time.Time) predicate.Outbox
- func RetryCount(v int) predicate.Outbox
- func RetryCountEQ(v int) predicate.Outbox
- func RetryCountGT(v int) predicate.Outbox
- func RetryCountGTE(v int) predicate.Outbox
- func RetryCountIn(vs ...int) predicate.Outbox
- func RetryCountIsNil() predicate.Outbox
- func RetryCountLT(v int) predicate.Outbox
- func RetryCountLTE(v int) predicate.Outbox
- func RetryCountNEQ(v int) predicate.Outbox
- func RetryCountNotIn(vs ...int) predicate.Outbox
- func RetryCountNotNil() predicate.Outbox
- func ValidColumn(column string) bool
- type OrderOption
- func ByAggregateID(opts ...sql.OrderTermOption) OrderOption
- func ByAggregateType(opts ...sql.OrderTermOption) OrderOption
- func ByEvent(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByRetryAt(opts ...sql.OrderTermOption) OrderOption
- func ByRetryCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldAggregateType, FieldAggregateID, FieldEvent, FieldPayload, FieldRetryAt, FieldRetryCount, }
Columns holds all SQL columns for outbox fields.
Functions ¶
func AggregateID ¶
AggregateID applies equality check predicate on the "aggregate_id" field. It's identical to AggregateIDEQ.
func AggregateIDContains ¶
AggregateIDContains applies the Contains predicate on the "aggregate_id" field.
func AggregateIDContainsFold ¶
AggregateIDContainsFold applies the ContainsFold predicate on the "aggregate_id" field.
func AggregateIDEQ ¶
AggregateIDEQ applies the EQ predicate on the "aggregate_id" field.
func AggregateIDEqualFold ¶
AggregateIDEqualFold applies the EqualFold predicate on the "aggregate_id" field.
func AggregateIDGT ¶
AggregateIDGT applies the GT predicate on the "aggregate_id" field.
func AggregateIDGTE ¶
AggregateIDGTE applies the GTE predicate on the "aggregate_id" field.
func AggregateIDHasPrefix ¶
AggregateIDHasPrefix applies the HasPrefix predicate on the "aggregate_id" field.
func AggregateIDHasSuffix ¶
AggregateIDHasSuffix applies the HasSuffix predicate on the "aggregate_id" field.
func AggregateIDIn ¶
AggregateIDIn applies the In predicate on the "aggregate_id" field.
func AggregateIDLT ¶
AggregateIDLT applies the LT predicate on the "aggregate_id" field.
func AggregateIDLTE ¶
AggregateIDLTE applies the LTE predicate on the "aggregate_id" field.
func AggregateIDNEQ ¶
AggregateIDNEQ applies the NEQ predicate on the "aggregate_id" field.
func AggregateIDNotIn ¶
AggregateIDNotIn applies the NotIn predicate on the "aggregate_id" field.
func AggregateType ¶
AggregateType applies equality check predicate on the "aggregate_type" field. It's identical to AggregateTypeEQ.
func AggregateTypeContains ¶
AggregateTypeContains applies the Contains predicate on the "aggregate_type" field.
func AggregateTypeContainsFold ¶
AggregateTypeContainsFold applies the ContainsFold predicate on the "aggregate_type" field.
func AggregateTypeEQ ¶
AggregateTypeEQ applies the EQ predicate on the "aggregate_type" field.
func AggregateTypeEqualFold ¶
AggregateTypeEqualFold applies the EqualFold predicate on the "aggregate_type" field.
func AggregateTypeGT ¶
AggregateTypeGT applies the GT predicate on the "aggregate_type" field.
func AggregateTypeGTE ¶
AggregateTypeGTE applies the GTE predicate on the "aggregate_type" field.
func AggregateTypeHasPrefix ¶
AggregateTypeHasPrefix applies the HasPrefix predicate on the "aggregate_type" field.
func AggregateTypeHasSuffix ¶
AggregateTypeHasSuffix applies the HasSuffix predicate on the "aggregate_type" field.
func AggregateTypeIn ¶
AggregateTypeIn applies the In predicate on the "aggregate_type" field.
func AggregateTypeLT ¶
AggregateTypeLT applies the LT predicate on the "aggregate_type" field.
func AggregateTypeLTE ¶
AggregateTypeLTE applies the LTE predicate on the "aggregate_type" field.
func AggregateTypeNEQ ¶
AggregateTypeNEQ applies the NEQ predicate on the "aggregate_type" field.
func AggregateTypeNotIn ¶
AggregateTypeNotIn applies the NotIn predicate on the "aggregate_type" field.
func Event ¶
Event applies equality check predicate on the "event" field. It's identical to EventEQ.
func EventContains ¶
EventContains applies the Contains predicate on the "event" field.
func EventContainsFold ¶
EventContainsFold applies the ContainsFold predicate on the "event" field.
func EventEqualFold ¶
EventEqualFold applies the EqualFold predicate on the "event" field.
func EventHasPrefix ¶
EventHasPrefix applies the HasPrefix predicate on the "event" field.
func EventHasSuffix ¶
EventHasSuffix applies the HasSuffix predicate on the "event" field.
func EventNotIn ¶
EventNotIn applies the NotIn predicate on the "event" field.
func Payload ¶
Payload applies equality check predicate on the "payload" field. It's identical to PayloadEQ.
func PayloadGTE ¶
PayloadGTE applies the GTE predicate on the "payload" field.
func PayloadLTE ¶
PayloadLTE applies the LTE predicate on the "payload" field.
func PayloadNEQ ¶
PayloadNEQ applies the NEQ predicate on the "payload" field.
func PayloadNotIn ¶
PayloadNotIn applies the NotIn predicate on the "payload" field.
func RetryAt ¶
RetryAt applies equality check predicate on the "retry_at" field. It's identical to RetryAtEQ.
func RetryAtGTE ¶
RetryAtGTE applies the GTE predicate on the "retry_at" field.
func RetryAtLTE ¶
RetryAtLTE applies the LTE predicate on the "retry_at" field.
func RetryAtNEQ ¶
RetryAtNEQ applies the NEQ predicate on the "retry_at" field.
func RetryAtNotIn ¶
RetryAtNotIn applies the NotIn predicate on the "retry_at" field.
func RetryCount ¶
RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.
func RetryCountEQ ¶
RetryCountEQ applies the EQ predicate on the "retry_count" field.
func RetryCountGT ¶
RetryCountGT applies the GT predicate on the "retry_count" field.
func RetryCountGTE ¶
RetryCountGTE applies the GTE predicate on the "retry_count" field.
func RetryCountIn ¶
RetryCountIn applies the In predicate on the "retry_count" field.
func RetryCountIsNil ¶
RetryCountIsNil applies the IsNil predicate on the "retry_count" field.
func RetryCountLT ¶
RetryCountLT applies the LT predicate on the "retry_count" field.
func RetryCountLTE ¶
RetryCountLTE applies the LTE predicate on the "retry_count" field.
func RetryCountNEQ ¶
RetryCountNEQ applies the NEQ predicate on the "retry_count" field.
func RetryCountNotIn ¶
RetryCountNotIn applies the NotIn predicate on the "retry_count" field.
func RetryCountNotNil ¶
RetryCountNotNil applies the NotNil predicate on the "retry_count" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.