Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OutboxMessage) predicate.OutboxMessage
- func CreatedAt(v time.Time) predicate.OutboxMessage
- func CreatedAtEQ(v time.Time) predicate.OutboxMessage
- func CreatedAtGT(v time.Time) predicate.OutboxMessage
- func CreatedAtGTE(v time.Time) predicate.OutboxMessage
- func CreatedAtIn(vs ...time.Time) predicate.OutboxMessage
- func CreatedAtLT(v time.Time) predicate.OutboxMessage
- func CreatedAtLTE(v time.Time) predicate.OutboxMessage
- func CreatedAtNEQ(v time.Time) predicate.OutboxMessage
- func CreatedAtNotIn(vs ...time.Time) predicate.OutboxMessage
- func ID(id int64) predicate.OutboxMessage
- func IDEQ(id int64) predicate.OutboxMessage
- func IDGT(id int64) predicate.OutboxMessage
- func IDGTE(id int64) predicate.OutboxMessage
- func IDIn(ids ...int64) predicate.OutboxMessage
- func IDLT(id int64) predicate.OutboxMessage
- func IDLTE(id int64) predicate.OutboxMessage
- func IDNEQ(id int64) predicate.OutboxMessage
- func IDNotIn(ids ...int64) predicate.OutboxMessage
- func Metadata(v []byte) predicate.OutboxMessage
- func MetadataEQ(v []byte) predicate.OutboxMessage
- func MetadataGT(v []byte) predicate.OutboxMessage
- func MetadataGTE(v []byte) predicate.OutboxMessage
- func MetadataIn(vs ...[]byte) predicate.OutboxMessage
- func MetadataIsNil() predicate.OutboxMessage
- func MetadataLT(v []byte) predicate.OutboxMessage
- func MetadataLTE(v []byte) predicate.OutboxMessage
- func MetadataNEQ(v []byte) predicate.OutboxMessage
- func MetadataNotIn(vs ...[]byte) predicate.OutboxMessage
- func MetadataNotNil() predicate.OutboxMessage
- func Not(p predicate.OutboxMessage) predicate.OutboxMessage
- func Or(predicates ...predicate.OutboxMessage) predicate.OutboxMessage
- func Payload(v []byte) predicate.OutboxMessage
- func PayloadEQ(v []byte) predicate.OutboxMessage
- func PayloadGT(v []byte) predicate.OutboxMessage
- func PayloadGTE(v []byte) predicate.OutboxMessage
- func PayloadIn(vs ...[]byte) predicate.OutboxMessage
- func PayloadIsNil() predicate.OutboxMessage
- func PayloadLT(v []byte) predicate.OutboxMessage
- func PayloadLTE(v []byte) predicate.OutboxMessage
- func PayloadNEQ(v []byte) predicate.OutboxMessage
- func PayloadNotIn(vs ...[]byte) predicate.OutboxMessage
- func PayloadNotNil() predicate.OutboxMessage
- func TransactionID(v string) predicate.OutboxMessage
- func TransactionIDContains(v string) predicate.OutboxMessage
- func TransactionIDContainsFold(v string) predicate.OutboxMessage
- func TransactionIDEQ(v string) predicate.OutboxMessage
- func TransactionIDEqualFold(v string) predicate.OutboxMessage
- func TransactionIDGT(v string) predicate.OutboxMessage
- func TransactionIDGTE(v string) predicate.OutboxMessage
- func TransactionIDHasPrefix(v string) predicate.OutboxMessage
- func TransactionIDHasSuffix(v string) predicate.OutboxMessage
- func TransactionIDIn(vs ...string) predicate.OutboxMessage
- func TransactionIDLT(v string) predicate.OutboxMessage
- func TransactionIDLTE(v string) predicate.OutboxMessage
- func TransactionIDNEQ(v string) predicate.OutboxMessage
- func TransactionIDNotIn(vs ...string) predicate.OutboxMessage
- func UUID(v string) predicate.OutboxMessage
- func UUIDContains(v string) predicate.OutboxMessage
- func UUIDContainsFold(v string) predicate.OutboxMessage
- func UUIDEQ(v string) predicate.OutboxMessage
- func UUIDEqualFold(v string) predicate.OutboxMessage
- func UUIDGT(v string) predicate.OutboxMessage
- func UUIDGTE(v string) predicate.OutboxMessage
- func UUIDHasPrefix(v string) predicate.OutboxMessage
- func UUIDHasSuffix(v string) predicate.OutboxMessage
- func UUIDIn(vs ...string) predicate.OutboxMessage
- func UUIDLT(v string) predicate.OutboxMessage
- func UUIDLTE(v string) predicate.OutboxMessage
- func UUIDNEQ(v string) predicate.OutboxMessage
- func UUIDNotIn(vs ...string) predicate.OutboxMessage
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the outboxmessage type in the database. Label = "outbox_message" // FieldID holds the string denoting the id field in the database. FieldID = "offset" // FieldUUID holds the string denoting the uuid field in the database. FieldUUID = "uuid" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldPayload holds the string denoting the payload field in the database. FieldPayload = "payload" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldTransactionID holds the string denoting the transaction_id field in the database. FieldTransactionID = "transaction_id" // Table holds the table name of the outboxmessage in the database. Table = "watermill_domain_events" )
Variables ¶
var Columns = []string{ FieldID, FieldUUID, FieldCreatedAt, FieldPayload, FieldMetadata, FieldTransactionID, }
Columns holds all SQL columns for outboxmessage fields.
Functions ¶
func And ¶
func And(predicates ...predicate.OutboxMessage) predicate.OutboxMessage
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.OutboxMessage
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.OutboxMessage
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.OutboxMessage
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.OutboxMessage
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.OutboxMessage
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.OutboxMessage
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.OutboxMessage
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.OutboxMessage
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.OutboxMessage
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func IDEQ ¶
func IDEQ(id int64) predicate.OutboxMessage
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.OutboxMessage
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.OutboxMessage
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.OutboxMessage
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.OutboxMessage
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.OutboxMessage
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.OutboxMessage
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.OutboxMessage
IDNotIn applies the NotIn predicate on the ID field.
func Metadata ¶
func Metadata(v []byte) predicate.OutboxMessage
Metadata applies equality check predicate on the "metadata" field. It's identical to MetadataEQ.
func MetadataEQ ¶
func MetadataEQ(v []byte) predicate.OutboxMessage
MetadataEQ applies the EQ predicate on the "metadata" field.
func MetadataGT ¶
func MetadataGT(v []byte) predicate.OutboxMessage
MetadataGT applies the GT predicate on the "metadata" field.
func MetadataGTE ¶
func MetadataGTE(v []byte) predicate.OutboxMessage
MetadataGTE applies the GTE predicate on the "metadata" field.
func MetadataIn ¶
func MetadataIn(vs ...[]byte) predicate.OutboxMessage
MetadataIn applies the In predicate on the "metadata" field.
func MetadataIsNil ¶
func MetadataIsNil() predicate.OutboxMessage
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataLT ¶
func MetadataLT(v []byte) predicate.OutboxMessage
MetadataLT applies the LT predicate on the "metadata" field.
func MetadataLTE ¶
func MetadataLTE(v []byte) predicate.OutboxMessage
MetadataLTE applies the LTE predicate on the "metadata" field.
func MetadataNEQ ¶
func MetadataNEQ(v []byte) predicate.OutboxMessage
MetadataNEQ applies the NEQ predicate on the "metadata" field.
func MetadataNotIn ¶
func MetadataNotIn(vs ...[]byte) predicate.OutboxMessage
MetadataNotIn applies the NotIn predicate on the "metadata" field.
func MetadataNotNil ¶
func MetadataNotNil() predicate.OutboxMessage
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Not ¶
func Not(p predicate.OutboxMessage) predicate.OutboxMessage
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.OutboxMessage) predicate.OutboxMessage
Or groups predicates with the OR operator between them.
func Payload ¶
func Payload(v []byte) predicate.OutboxMessage
Payload applies equality check predicate on the "payload" field. It's identical to PayloadEQ.
func PayloadEQ ¶
func PayloadEQ(v []byte) predicate.OutboxMessage
PayloadEQ applies the EQ predicate on the "payload" field.
func PayloadGT ¶
func PayloadGT(v []byte) predicate.OutboxMessage
PayloadGT applies the GT predicate on the "payload" field.
func PayloadGTE ¶
func PayloadGTE(v []byte) predicate.OutboxMessage
PayloadGTE applies the GTE predicate on the "payload" field.
func PayloadIn ¶
func PayloadIn(vs ...[]byte) predicate.OutboxMessage
PayloadIn applies the In predicate on the "payload" field.
func PayloadIsNil ¶
func PayloadIsNil() predicate.OutboxMessage
PayloadIsNil applies the IsNil predicate on the "payload" field.
func PayloadLT ¶
func PayloadLT(v []byte) predicate.OutboxMessage
PayloadLT applies the LT predicate on the "payload" field.
func PayloadLTE ¶
func PayloadLTE(v []byte) predicate.OutboxMessage
PayloadLTE applies the LTE predicate on the "payload" field.
func PayloadNEQ ¶
func PayloadNEQ(v []byte) predicate.OutboxMessage
PayloadNEQ applies the NEQ predicate on the "payload" field.
func PayloadNotIn ¶
func PayloadNotIn(vs ...[]byte) predicate.OutboxMessage
PayloadNotIn applies the NotIn predicate on the "payload" field.
func PayloadNotNil ¶
func PayloadNotNil() predicate.OutboxMessage
PayloadNotNil applies the NotNil predicate on the "payload" field.
func TransactionID ¶
func TransactionID(v string) predicate.OutboxMessage
TransactionID applies equality check predicate on the "transaction_id" field. It's identical to TransactionIDEQ.
func TransactionIDContains ¶
func TransactionIDContains(v string) predicate.OutboxMessage
TransactionIDContains applies the Contains predicate on the "transaction_id" field.
func TransactionIDContainsFold ¶
func TransactionIDContainsFold(v string) predicate.OutboxMessage
TransactionIDContainsFold applies the ContainsFold predicate on the "transaction_id" field.
func TransactionIDEQ ¶
func TransactionIDEQ(v string) predicate.OutboxMessage
TransactionIDEQ applies the EQ predicate on the "transaction_id" field.
func TransactionIDEqualFold ¶
func TransactionIDEqualFold(v string) predicate.OutboxMessage
TransactionIDEqualFold applies the EqualFold predicate on the "transaction_id" field.
func TransactionIDGT ¶
func TransactionIDGT(v string) predicate.OutboxMessage
TransactionIDGT applies the GT predicate on the "transaction_id" field.
func TransactionIDGTE ¶
func TransactionIDGTE(v string) predicate.OutboxMessage
TransactionIDGTE applies the GTE predicate on the "transaction_id" field.
func TransactionIDHasPrefix ¶
func TransactionIDHasPrefix(v string) predicate.OutboxMessage
TransactionIDHasPrefix applies the HasPrefix predicate on the "transaction_id" field.
func TransactionIDHasSuffix ¶
func TransactionIDHasSuffix(v string) predicate.OutboxMessage
TransactionIDHasSuffix applies the HasSuffix predicate on the "transaction_id" field.
func TransactionIDIn ¶
func TransactionIDIn(vs ...string) predicate.OutboxMessage
TransactionIDIn applies the In predicate on the "transaction_id" field.
func TransactionIDLT ¶
func TransactionIDLT(v string) predicate.OutboxMessage
TransactionIDLT applies the LT predicate on the "transaction_id" field.
func TransactionIDLTE ¶
func TransactionIDLTE(v string) predicate.OutboxMessage
TransactionIDLTE applies the LTE predicate on the "transaction_id" field.
func TransactionIDNEQ ¶
func TransactionIDNEQ(v string) predicate.OutboxMessage
TransactionIDNEQ applies the NEQ predicate on the "transaction_id" field.
func TransactionIDNotIn ¶
func TransactionIDNotIn(vs ...string) predicate.OutboxMessage
TransactionIDNotIn applies the NotIn predicate on the "transaction_id" field.
func UUID ¶
func UUID(v string) predicate.OutboxMessage
UUID applies equality check predicate on the "uuid" field. It's identical to UUIDEQ.
func UUIDContains ¶
func UUIDContains(v string) predicate.OutboxMessage
UUIDContains applies the Contains predicate on the "uuid" field.
func UUIDContainsFold ¶
func UUIDContainsFold(v string) predicate.OutboxMessage
UUIDContainsFold applies the ContainsFold predicate on the "uuid" field.
func UUIDEQ ¶
func UUIDEQ(v string) predicate.OutboxMessage
UUIDEQ applies the EQ predicate on the "uuid" field.
func UUIDEqualFold ¶
func UUIDEqualFold(v string) predicate.OutboxMessage
UUIDEqualFold applies the EqualFold predicate on the "uuid" field.
func UUIDGT ¶
func UUIDGT(v string) predicate.OutboxMessage
UUIDGT applies the GT predicate on the "uuid" field.
func UUIDGTE ¶
func UUIDGTE(v string) predicate.OutboxMessage
UUIDGTE applies the GTE predicate on the "uuid" field.
func UUIDHasPrefix ¶
func UUIDHasPrefix(v string) predicate.OutboxMessage
UUIDHasPrefix applies the HasPrefix predicate on the "uuid" field.
func UUIDHasSuffix ¶
func UUIDHasSuffix(v string) predicate.OutboxMessage
UUIDHasSuffix applies the HasSuffix predicate on the "uuid" field.
func UUIDIn ¶
func UUIDIn(vs ...string) predicate.OutboxMessage
UUIDIn applies the In predicate on the "uuid" field.
func UUIDLT ¶
func UUIDLT(v string) predicate.OutboxMessage
UUIDLT applies the LT predicate on the "uuid" field.
func UUIDLTE ¶
func UUIDLTE(v string) predicate.OutboxMessage
UUIDLTE applies the LTE predicate on the "uuid" field.
func UUIDNEQ ¶
func UUIDNEQ(v string) predicate.OutboxMessage
UUIDNEQ applies the NEQ predicate on the "uuid" field.
func UUIDNotIn ¶
func UUIDNotIn(vs ...string) predicate.OutboxMessage
UUIDNotIn applies the NotIn predicate on the "uuid" 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 OutboxMessage queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByTransactionID ¶
func ByTransactionID(opts ...sql.OrderTermOption) OrderOption
ByTransactionID orders the results by the transaction_id field.
func ByUUID ¶
func ByUUID(opts ...sql.OrderTermOption) OrderOption
ByUUID orders the results by the uuid field.