Transaction

harness.sql.query.Transaction$
See theTransaction companion trait
object Transaction

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final class Live[E](con: JDBCConnection)(implicit errorMapper: ErrorMapper[QueryError, E]) extends Transaction[E]

Attributes

Supertypes
trait Transaction[E]
class Object
trait Matchable
class Any
final class RollbackLayer[E](con: JDBCConnection)(implicit errorMapper: ErrorMapper[QueryError, E]) extends Transaction[E]

Attributes

Supertypes
trait Transaction[E]
class Object
trait Matchable
class Any
final class Savepoint

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Savepoint

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Savepoint.type
final class Transactionless[E] extends Transaction[E]

Attributes

Supertypes
trait Transaction[E]
class Object
trait Matchable
class Any
final class UseSavepointForTransaction[E](con: JDBCConnection)(implicit errorMapper: ErrorMapper[QueryError, E]) extends Transaction[E]

Attributes

Supertypes
trait Transaction[E]
class Object
trait Matchable
class Any
object raw

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
raw.type

Value members

Concrete methods

def inSavepoint[R <: Logger & Telemetry, E, A](effect: ZIO[R, E, A])(using evidence$2: Tag[E]): ZIO[Transaction[E] & R, E, A]
def inTransaction[R <: Logger & Telemetry, E, A](effect: ZIO[R, E, A])(using evidence$1: Tag[E]): ZIO[Transaction[E] & R, E, A]
def liveLayer[E](using evidence$3: Tag[E], errorMapper: ErrorMapper[QueryError, E]): URLayer[JDBCConnection, Transaction[E]]
def rollbackLayer[E](using evidence$5: Tag[E], errorMapper: ErrorMapper[QueryError, E]): URLayer[JDBCConnection, Transaction[E]]
def savepointLayer[E](using evidence$4: Tag[E], errorMapper: ErrorMapper[QueryError, E]): URLayer[JDBCConnection, Transaction[E]]
def transactionlessLayer[E](using evidence$6: Tag[E]): ULayer[Transaction[E]]