View Source Ash.Reactor.Dsl.BulkCreate (ash v3.0.16)

The bulk_create entity for the Ash.Reactor reactor extension.

Summary

Types

@type t() :: %Ash.Reactor.Dsl.BulkCreate{
  __identifier__: any(),
  action: atom(),
  action_step?: true,
  actor: [Ash.Reactor.Dsl.Actor.t()],
  assume_casted?: boolean(),
  async?: boolean(),
  authorize?: boolean() | nil,
  authorize_changeset_with: :filter | :error,
  authorize_query_with: :filter | :error,
  batch_size: nil | pos_integer(),
  description: String.t() | nil,
  domain: Ash.Domain.t(),
  initial: Reactor.Template.t(),
  load: [atom()],
  max_concurrency: non_neg_integer(),
  name: atom(),
  notification_metadata: map(),
  notify?: boolean(),
  read_action: atom(),
  resource: module(),
  return_errors?: boolean(),
  return_records?: boolean(),
  return_stream?: boolean(),
  rollback_on_error?: boolean(),
  select: [atom()],
  skip_unknown_inputs: [atom()],
  sorted?: boolean(),
  stop_on_error?: boolean(),
  success_state: :success | :partial_success,
  tenant: [Ash.Reactor.Dsl.Tenant.t()],
  timeout: nil | timeout(),
  transaction: :all | :batch | false,
  transform: term(),
  type: :bulk_create,
  undo: :never,
  undo_action: nil,
  upsert?: term(),
  upsert_fields: [],
  upsert_identity: nil,
  wait_for: term()
}