TransactionDb

dataprism.sql.TransactionDb
trait TransactionDb[F[_], Codec[_]] extends Db[F, Codec]

Attributes

Graph
Supertypes
trait Db[F, Codec]
class Object
trait Matchable
class Any

Members list

Type members

Types

type Savepoint

Value members

Abstract methods

def commit: F[Unit]
def rollback: F[Unit]
def rollback(savepoint: Savepoint): F[Unit]

Inherited methods

def mapK[G[_]](f: FunctionK[F, G]): Db[G, Codec]

Attributes

Inherited from:
Db
def run(sql: SqlStr[Codec]): F[Int]

Attributes

Inherited from:
Db
def runBatch(sql: SqlStr[Codec]): F[Seq[Int]]

Attributes

Inherited from:
Db
def runIntoRes[Res[_[_]]](sql: SqlStr[Codec], dbTypes: Res[Codec], minRows: Int, maxRows: Int)(using FT: TraverseKC[Res]): F[Seq[Res[Id]]]

Attributes

Inherited from:
Db
def runIntoSimple[Res](sql: SqlStr[Codec], dbTypes: Codec[Res]): F[Seq[Res]]

Attributes

Inherited from:
Db