PgFlow.RunHistoryCell (PgFlow v0.3.4)

Copy Markdown View Source

Typed result for one step in a run history projection.

Summary

Functions

Builds a run history cell from a complete query projection.

Types

t()

@type t() :: %PgFlow.RunHistoryCell{
  duration_ms: Decimal.t() | nil,
  run_id: Ecto.UUID.t(),
  started_at: DateTime.t(),
  status: String.t() | nil,
  step_slug: String.t() | nil
}

Functions

new(attributes)

@spec new(map()) :: t()

Builds a run history cell from a complete query projection.