Live

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

Uses a live connection. If the given effect passes, it will be committed. If the given effect fails, it will be rolled back.

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