LiveRollback

harness.sql.Atomically$.LiveRollback
See theLiveRollback companion object
final case class LiveRollback[E](con: Database, mapError: ErrorMapper[QueryError, E]) extends WithConnection[E]

Uses a live connection. Whether or not the effect passes, rollback will occur.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait WithConnection[E]
trait Atomically[E]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def commit(connectionType: ConnectionType): Query

Attributes

Definition Classes

Inherited methods

final def apply[R, A](effect: ZIO[R, E, A]): ZIO[R, E, A]

Attributes

Inherited from:
Atomically
override def atomicScope: ZIO[Scope, E, Unit]

Attributes

Definition Classes
Inherited from:
WithConnection
final override def atomically[R, A](effect: ZIO[R, E, A]): ZIO[R, E, A]

Attributes

Definition Classes
Inherited from:
WithConnection
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product