View Source Carbonite.Outbox (Carbonite v0.12.1)

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

@type memo() :: map()
@type name() :: String.t()
@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

Link to this function

changeset(outbox, params)

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

Builds an update changeset.