transactor
Attributes
- Source
- transactor.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
transactor.type
Members list
Grouped members
Type Aliases
Attributes
- Source
- transactor.scala
Data Types
Data type representing the common setup, error-handling, and cleanup strategy associated with an SQL transaction. A Transactor
uses a Strategy
to wrap programs prior to execution.
Data type representing the common setup, error-handling, and cleanup strategy associated with an SQL transaction. A Transactor
uses a Strategy
to wrap programs prior to execution.
Value parameters
- after
-
a program to run on success
- always
-
a program to run in all cases (finally)
- before
-
a program to prepare the connection for use
- oops
-
a program to run on failure (catch)
Attributes
- Companion
- object
- Source
- transactor.scala
- Supertypes
A thin wrapper around a source of database connections, an interpreter, and a strategy for running programs, parameterized over a target monad M
and an arbitrary wrapped value A
. Given a stream or program in ConnectionIO
or a program in Kleisli
, a Transactor
can discharge the doobie machinery and yield an effectful stream or program in M
.
A thin wrapper around a source of database connections, an interpreter, and a strategy for running programs, parameterized over a target monad M
and an arbitrary wrapped value A
. Given a stream or program in ConnectionIO
or a program in Kleisli
, a Transactor
can discharge the doobie machinery and yield an effectful stream or program in M
.
Type parameters
- M
-
a target effect type; typically
IO
Attributes
- Companion
- object
- Source
- transactor.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Transactor[M]
Type members
Classlikes
Attributes
- Companion
- class
- Source
- transactor.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Strategy.type
Attributes
- Companion
- class
- Source
- transactor.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Transactor.type