Detects configured non-atomic operations while the current process is inside an Ecto transaction.
Summary
Functions
Checks whether an adapter action is allowed in the current process.
Returns true when any configured repo reports an active transaction.
Functions
Checks whether an adapter action is allowed in the current process.
When any configured repo is in a transaction, the offense is handled according to the active mode:
:raise- raiseEctoIsolator.Error:log- write a warning and continue:collect- record the offense for later assertion
Returns true when any configured repo reports an active transaction.