Carbonite.Outbox (Carbonite v0.16.0)

View Source

A Carbonite.Outbox stores metadata for outboxes like the last processed transaction.

The last_transaction_id field defaults to zero, indicating that nothing has been processed yet.

Summary

Functions

Builds an update changeset.

Types

memo()

(since 0.4.0)
@type memo() :: map()

name()

(since 0.4.0)
@type name() :: String.t()

t()

(since 0.4.0)
@type t() :: %Carbonite.Outbox{
  __meta__: term(),
  inserted_at: DateTime.t(),
  last_transaction_id: non_neg_integer(),
  memo: memo(),
  name: name(),
  updated_at: DateTime.t()
}

Functions

changeset(outbox, params)

(since 0.4.0)
@spec changeset(t(), params :: map()) :: Ecto.Changeset.t()

Builds an update changeset.