Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OutboxOffset) predicate.OutboxOffset
- func ID(id string) predicate.OutboxOffset
- func IDContainsFold(id string) predicate.OutboxOffset
- func IDEQ(id string) predicate.OutboxOffset
- func IDEqualFold(id string) predicate.OutboxOffset
- func IDGT(id string) predicate.OutboxOffset
- func IDGTE(id string) predicate.OutboxOffset
- func IDIn(ids ...string) predicate.OutboxOffset
- func IDLT(id string) predicate.OutboxOffset
- func IDLTE(id string) predicate.OutboxOffset
- func IDNEQ(id string) predicate.OutboxOffset
- func IDNotIn(ids ...string) predicate.OutboxOffset
- func LastProcessedTransactionID(v string) predicate.OutboxOffset
- func LastProcessedTransactionIDContains(v string) predicate.OutboxOffset
- func LastProcessedTransactionIDContainsFold(v string) predicate.OutboxOffset
- func LastProcessedTransactionIDEQ(v string) predicate.OutboxOffset
- func LastProcessedTransactionIDEqualFold(v string) predicate.OutboxOffset
- func LastProcessedTransactionIDGT(v string) predicate.OutboxOffset
- func LastProcessedTransactionIDGTE(v string) predicate.OutboxOffset
- func LastProcessedTransactionIDHasPrefix(v string) predicate.OutboxOffset
- func LastProcessedTransactionIDHasSuffix(v string) predicate.OutboxOffset
- func LastProcessedTransactionIDIn(vs ...string) predicate.OutboxOffset
- func LastProcessedTransactionIDLT(v string) predicate.OutboxOffset
- func LastProcessedTransactionIDLTE(v string) predicate.OutboxOffset
- func LastProcessedTransactionIDNEQ(v string) predicate.OutboxOffset
- func LastProcessedTransactionIDNotIn(vs ...string) predicate.OutboxOffset
- func Not(p predicate.OutboxOffset) predicate.OutboxOffset
- func OffsetAcked(v int64) predicate.OutboxOffset
- func OffsetAckedEQ(v int64) predicate.OutboxOffset
- func OffsetAckedGT(v int64) predicate.OutboxOffset
- func OffsetAckedGTE(v int64) predicate.OutboxOffset
- func OffsetAckedIn(vs ...int64) predicate.OutboxOffset
- func OffsetAckedIsNil() predicate.OutboxOffset
- func OffsetAckedLT(v int64) predicate.OutboxOffset
- func OffsetAckedLTE(v int64) predicate.OutboxOffset
- func OffsetAckedNEQ(v int64) predicate.OutboxOffset
- func OffsetAckedNotIn(vs ...int64) predicate.OutboxOffset
- func OffsetAckedNotNil() predicate.OutboxOffset
- func Or(predicates ...predicate.OutboxOffset) predicate.OutboxOffset
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the outboxoffset type in the database. Label = "outbox_offset" // FieldID holds the string denoting the id field in the database. FieldID = "consumer_group" // FieldOffsetAcked holds the string denoting the offset_acked field in the database. FieldOffsetAcked = "offset_acked" // FieldLastProcessedTransactionID holds the string denoting the last_processed_transaction_id field in the database. FieldLastProcessedTransactionID = "last_processed_transaction_id" // Table holds the table name of the outboxoffset in the database. Table = "watermill_offsets_domain_events" )
Variables ¶
var Columns = []string{ FieldID, FieldOffsetAcked, FieldLastProcessedTransactionID, }
Columns holds all SQL columns for outboxoffset fields.
Functions ¶
func And ¶
func And(predicates ...predicate.OutboxOffset) predicate.OutboxOffset
And groups predicates with the AND operator between them.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.OutboxOffset
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.OutboxOffset
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.OutboxOffset
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.OutboxOffset
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.OutboxOffset
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.OutboxOffset
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.OutboxOffset
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.OutboxOffset
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.OutboxOffset
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.OutboxOffset
IDNotIn applies the NotIn predicate on the ID field.
func LastProcessedTransactionID ¶
func LastProcessedTransactionID(v string) predicate.OutboxOffset
LastProcessedTransactionID applies equality check predicate on the "last_processed_transaction_id" field. It's identical to LastProcessedTransactionIDEQ.
func LastProcessedTransactionIDContains ¶
func LastProcessedTransactionIDContains(v string) predicate.OutboxOffset
LastProcessedTransactionIDContains applies the Contains predicate on the "last_processed_transaction_id" field.
func LastProcessedTransactionIDContainsFold ¶
func LastProcessedTransactionIDContainsFold(v string) predicate.OutboxOffset
LastProcessedTransactionIDContainsFold applies the ContainsFold predicate on the "last_processed_transaction_id" field.
func LastProcessedTransactionIDEQ ¶
func LastProcessedTransactionIDEQ(v string) predicate.OutboxOffset
LastProcessedTransactionIDEQ applies the EQ predicate on the "last_processed_transaction_id" field.
func LastProcessedTransactionIDEqualFold ¶
func LastProcessedTransactionIDEqualFold(v string) predicate.OutboxOffset
LastProcessedTransactionIDEqualFold applies the EqualFold predicate on the "last_processed_transaction_id" field.
func LastProcessedTransactionIDGT ¶
func LastProcessedTransactionIDGT(v string) predicate.OutboxOffset
LastProcessedTransactionIDGT applies the GT predicate on the "last_processed_transaction_id" field.
func LastProcessedTransactionIDGTE ¶
func LastProcessedTransactionIDGTE(v string) predicate.OutboxOffset
LastProcessedTransactionIDGTE applies the GTE predicate on the "last_processed_transaction_id" field.
func LastProcessedTransactionIDHasPrefix ¶
func LastProcessedTransactionIDHasPrefix(v string) predicate.OutboxOffset
LastProcessedTransactionIDHasPrefix applies the HasPrefix predicate on the "last_processed_transaction_id" field.
func LastProcessedTransactionIDHasSuffix ¶
func LastProcessedTransactionIDHasSuffix(v string) predicate.OutboxOffset
LastProcessedTransactionIDHasSuffix applies the HasSuffix predicate on the "last_processed_transaction_id" field.
func LastProcessedTransactionIDIn ¶
func LastProcessedTransactionIDIn(vs ...string) predicate.OutboxOffset
LastProcessedTransactionIDIn applies the In predicate on the "last_processed_transaction_id" field.
func LastProcessedTransactionIDLT ¶
func LastProcessedTransactionIDLT(v string) predicate.OutboxOffset
LastProcessedTransactionIDLT applies the LT predicate on the "last_processed_transaction_id" field.
func LastProcessedTransactionIDLTE ¶
func LastProcessedTransactionIDLTE(v string) predicate.OutboxOffset
LastProcessedTransactionIDLTE applies the LTE predicate on the "last_processed_transaction_id" field.
func LastProcessedTransactionIDNEQ ¶
func LastProcessedTransactionIDNEQ(v string) predicate.OutboxOffset
LastProcessedTransactionIDNEQ applies the NEQ predicate on the "last_processed_transaction_id" field.
func LastProcessedTransactionIDNotIn ¶
func LastProcessedTransactionIDNotIn(vs ...string) predicate.OutboxOffset
LastProcessedTransactionIDNotIn applies the NotIn predicate on the "last_processed_transaction_id" field.
func Not ¶
func Not(p predicate.OutboxOffset) predicate.OutboxOffset
Not applies the not operator on the given predicate.
func OffsetAcked ¶
func OffsetAcked(v int64) predicate.OutboxOffset
OffsetAcked applies equality check predicate on the "offset_acked" field. It's identical to OffsetAckedEQ.
func OffsetAckedEQ ¶
func OffsetAckedEQ(v int64) predicate.OutboxOffset
OffsetAckedEQ applies the EQ predicate on the "offset_acked" field.
func OffsetAckedGT ¶
func OffsetAckedGT(v int64) predicate.OutboxOffset
OffsetAckedGT applies the GT predicate on the "offset_acked" field.
func OffsetAckedGTE ¶
func OffsetAckedGTE(v int64) predicate.OutboxOffset
OffsetAckedGTE applies the GTE predicate on the "offset_acked" field.
func OffsetAckedIn ¶
func OffsetAckedIn(vs ...int64) predicate.OutboxOffset
OffsetAckedIn applies the In predicate on the "offset_acked" field.
func OffsetAckedIsNil ¶
func OffsetAckedIsNil() predicate.OutboxOffset
OffsetAckedIsNil applies the IsNil predicate on the "offset_acked" field.
func OffsetAckedLT ¶
func OffsetAckedLT(v int64) predicate.OutboxOffset
OffsetAckedLT applies the LT predicate on the "offset_acked" field.
func OffsetAckedLTE ¶
func OffsetAckedLTE(v int64) predicate.OutboxOffset
OffsetAckedLTE applies the LTE predicate on the "offset_acked" field.
func OffsetAckedNEQ ¶
func OffsetAckedNEQ(v int64) predicate.OutboxOffset
OffsetAckedNEQ applies the NEQ predicate on the "offset_acked" field.
func OffsetAckedNotIn ¶
func OffsetAckedNotIn(vs ...int64) predicate.OutboxOffset
OffsetAckedNotIn applies the NotIn predicate on the "offset_acked" field.
func OffsetAckedNotNil ¶
func OffsetAckedNotNil() predicate.OutboxOffset
OffsetAckedNotNil applies the NotNil predicate on the "offset_acked" field.
func Or ¶
func Or(predicates ...predicate.OutboxOffset) predicate.OutboxOffset
Or groups predicates with the OR operator between them.
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 OutboxOffset queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLastProcessedTransactionID ¶
func ByLastProcessedTransactionID(opts ...sql.OrderTermOption) OrderOption
ByLastProcessedTransactionID orders the results by the last_processed_transaction_id field.
func ByOffsetAcked ¶
func ByOffsetAcked(opts ...sql.OrderTermOption) OrderOption
ByOffsetAcked orders the results by the offset_acked field.