ConnectionIOExt

final implicit class ConnectionIOExt[A](self: ConnectionIO[A]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def attemptVoid: ConnectionIO[Option[Throwable]]
def collapseError[B](implicit ev: ConnectionIO[A] =:= ConnectionIO[Either[SQLException, B]]): ConnectionIO[B]
def inSafeTransaction: ConnectionIO[Either[SQLException, A]]

"Safe" in the sense that an error rolls back the inner transaction without aborting the outer one.

"Safe" in the sense that an error rolls back the inner transaction without aborting the outer one.

@inline
def inTransaction(on: Boolean): ConnectionIO[A]
def measureDuration: ConnectionIO[(Duration, A)]
def void: ConnectionIO[Unit]
def withAutoCommit(ac: Boolean): ConnectionIO[A]
def withTransactionLevel(level: Int): ConnectionIO[A]
Value parameters:
level

See java.sql.Connection