transactor
Attributes
- Source:
- transactor.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- transactor.type
Members list
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.
Attributes
- 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)
- Companion:
- object
- Source:
- transactor.scala
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
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
.
Attributes
- M
a target effect type; typically
IO
- Companion:
- object
- Source:
- transactor.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Transactor[M]
Type members
Classlikes
Attributes
- Companion:
- class
- Source:
- transactor.scala
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- Strategy.type
Attributes
- Companion:
- class
- Source:
- transactor.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Transactor.type