Module defining Transactor, which abstracts over connection providers and gives natural
trasformations ConnectionIO ~> M and Process[ConnectionIO, ?] ~> Process[M, ?] for target
monad M. By default the resulting computation will be executed on a new connection with
autoCommit off; will be committed on normal completionand rolled back if an exception escapes;
and in all cases the connection will be released properly.
This module also provides default implementations backed by DriverManager and DataSouce.
Module defining
Transactor
, which abstracts over connection providers and gives natural trasformationsConnectionIO ~> M
andProcess[ConnectionIO, ?] ~> Process[M, ?]
for target monadM
. By default the resulting computation will be executed on a new connection withautoCommit
off; will be committed on normal completionand rolled back if an exception escapes; and in all cases the connection will be released properly.This module also provides default implementations backed by
DriverManager
andDataSouce
.