io.github.gaelrenoux.tranzactio.doobie
TranzactIO module for Doobie.
Attributes
Members list
Type members
Classlikes
Database for the Doobie wrapper
Database for the Doobie wrapper
Attributes
- Supertypes
-
class Objecttrait Matchableclass AnyShow all
- Self type
-
Database.type
Attributes
- Supertypes
- Self type
-
DatabaseT.type
Contextual information for the DB, its content depending on the underlying library.
Contextual information for the DB, its content depending on the underlying library.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Types
The Connection that needs to be provided by the Database to run any Query.
The Connection that needs to be provided by the Database to run any Query.
Attributes
The Database provides a connection (transactionally or otherwise).
The Database provides a connection (transactionally or otherwise).
Attributes
Parameterized type for databases, allowing for multiple databases to be handled
Parameterized type for databases, allowing for multiple databases to be handled
Attributes
The specific type used in the wrapped library to represent an SQL query.
The specific type used in the wrapped library to represent an SQL query.
Attributes
The type wrapping a Query[A] in TranzactIO.
The type wrapping a Query[A] in TranzactIO.
Could be defined here (instead of separately on each module), but this confuses some IDEs (like IntelliJ). The error appears when one file imports e.g. doobie.TranzactIO, and the other doobie._: the two TranzactIOs are not considered to be the same type. By defining TranzactIO on each module, the error disappears.
Attributes
Value members
Concrete methods
Wraps a library-specific query into a TranzactIO.
Wraps a library-specific query into a TranzactIO.
Attributes
- Definition Classes
-
Wrapper
Converts a Doobie stream to a ZStream. Note that you can provide a queue size, default value is the same as in ZIO.
Converts a Doobie stream to a ZStream. Note that you can provide a queue size, default value is the same as in ZIO.