Wraps a Repository to coalesce a transaction's updates into a single request.
Returns a repository that delegates every operation to repository unchanged outside a transaction. Within
execute, queries still run directly against the transaction scope, but updates are
buffered rather than issued: on successful completion the buffered updates are flushed as one ;-joined update, and
if the task issues none, no update runs at all. A task that throws or rejects discards the buffer, so no partial
update reaches the backend.
Wraps a Repository to coalesce a transaction's updates into a single request.
Returns a repository that delegates every operation to
repositoryunchanged outside a transaction. Within execute, queries still run directly against the transaction scope, but updates are buffered rather than issued: on successful completion the buffered updates are flushed as one;-joined update, and if the task issues none, no update runs at all. A task that throws or rejects discards the buffer, so no partial update reaches the backend.