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

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: nil | 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(),
  context: nil | Ash.Reactor.Dsl.Context.t(),
  description: String.t() | nil,
  domain: Ash.Domain.t(),
  initial: Reactor.Template.t(),
  load: nil | Ash.Reactor.Dsl.ActionLoad.t(),
  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() | String.t()],
  sorted?: boolean(),
  stop_on_error?: boolean(),
  success_state: :success | :partial_success,
  tenant: nil | 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()
}