Help us shape the future of Go! Take the 2026 Go Developer Survey

outboxoffset

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

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

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 ID

ID filters vertices based on their ID field.

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

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

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 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.

Jump to

Keyboard shortcuts

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