The result of processing a single CSV row.
Status values:
:ok(dry-run) — changeset valid, not persisted:ok(commit) — persisted;:upsert_kindis:createdor:updated:invalid(dry-run) — changeset has validation errors; see:errors:errored(commit) —Ash.create/1returned{:error, _}; see:errors:crashed(both) — exception caught during row processing; see:errors
Summary
Types
@type status() :: :ok | :invalid | :errored | :crashed
@type t() :: %AshCsvInterchange.Import.RowOutcome{ errors: list() | nil, input: map() | nil, line_no: pos_integer(), record: struct() | nil, status: status(), upsert_kind: upsert_kind() }
@type upsert_kind() :: :created | :updated | nil