Carbonite.Outbox (Carbonite v0.6.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.

Link to this section Summary

Functions

Builds an update changeset.

Link to this section Types

Specs

memo() :: map()

Specs

name() :: String.t()

Specs

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

Link to this section Functions

Link to this function

changeset(outbox, params)

View Source (since 0.4.0)

Specs

changeset(t(), params :: map()) :: Ecto.Changeset.t()

Builds an update changeset.