Relyra.Ecto.BulkActions (relyra v1.1.0)

Copy Markdown View Source

Coordinator for bulk operations across multiple connections.

Summary

Functions

Runs an action function for each connection ID provided.

Functions

run(repo, ids, action_fun, opts)

Runs an action function for each connection ID provided.

Generates a correlation_id if one is not provided in the audit context, ensuring all operations in the batch can be linked together in the audit ledger.

Returns a map of %{id => result}.