CatsTransactionalDb

dataprism.sql.CatsTransactionalDb
trait CatsTransactionalDb[F[_], Codec[_]] extends CatsDb[F, Codec], TransactionalDb[F, Codec]

Attributes

Source
CatsTransactionalDb.scala
Graph
Supertypes
trait TransactionalDb[F, Codec]
trait CatsDb[F, Codec]
trait Db[F, Codec]
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Abstract methods

def transactionResource(using NotGiven[TransactionDb[F, Codec]]): Resource[F, CatsTransactionDb[F, Codec]]

Attributes

Source
CatsTransactionalDb.scala

Concrete methods

override def transaction[A](f: (TransactionDb[F, Codec]) ?=> F[A])(using NotGiven[TransactionDb[F, Codec]]): F[A]

Attributes

Definition Classes
Source
CatsTransactionalDb.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