StatifierRouter.Schema.Dedupe (StatifierRouter v0.9.2)

Copy Markdown View Source

A row of the dedupe table: one (binding_id, message_id) pair and the time it stops counting, expires_at (ADR-0003, section 6). A row whose expires_at has passed counts as absent even before it is removed.

The unique index on (binding_id, message_id) is named in StatifierRouter.Migrations.V01; see StatifierRouter.Schema for how a row reaches a configured table.

Summary

Types

t()

@type t() :: %StatifierRouter.Schema.Dedupe{
  __meta__: term(),
  binding_id: String.t() | nil,
  expires_at: DateTime.t() | nil,
  id: StatifierRouter.Schema.Id.t() | nil,
  message_id: String.t() | nil
}