TransactionDb

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

Attributes

Source
TransactionDb.scala
Graph
Supertypes
trait Db[F, Codec]
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Types

type Savepoint

Attributes

Source
TransactionDb.scala

Value members

Abstract methods

def commit: F[Unit]

Attributes

Source
TransactionDb.scala
def rollback: F[Unit]

Attributes

Source
TransactionDb.scala
def rollback(savepoint: Savepoint): F[Unit]

Attributes

Source
TransactionDb.scala

Attributes

Source
TransactionDb.scala

Inherited methods

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Db
Source
Db.scala
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
Source
Db.scala
def runIntoSimple[Res](sql: SqlStr[Codec], dbTypes: Codec[Res]): F[Seq[Res]]

Attributes

Inherited from:
Db
Source
Db.scala