ConnectionTransactionDb

dataprism.jdbc.sql.ConnectionTransactionDb
opaque class ConnectionTransactionDb[F[_]](con: Connection, wrapTryV: [A] => (x$1: () => Try[A]) => F[A])(implicit evidence$1: Functor[F]) extends ConnectionDb[F], TransactionDb[F, JdbcCodec]

Attributes

Source
ConnectionTransactionDb.scala
Graph
Supertypes
trait ConnectionDb[F]
trait Db[F, JdbcCodec]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

opaque type Savepoint

Attributes

Source
ConnectionTransactionDb.scala

Value members

Concrete methods

override def commit: F[Unit]

Attributes

Definition Classes
Source
ConnectionTransactionDb.scala
override protected def getConnection(using ResourceManager): Connection

Attributes

Definition Classes
Source
ConnectionTransactionDb.scala
override def rollback: F[Unit]

Attributes

Definition Classes
Source
ConnectionTransactionDb.scala
override def rollback(savepoint: Savepoint): F[Unit]

Attributes

Definition Classes
Source
ConnectionTransactionDb.scala
override def savepoint: F[Savepoint]

Attributes

Definition Classes
Source
ConnectionTransactionDb.scala
override protected def wrapTry[A](tryV: => Try[A]): F[A]

Attributes

Definition Classes
Source
ConnectionTransactionDb.scala

Inherited methods

protected def makeAndUsePrepared[A : Monoid](sql: SqlStr[JdbcCodec], trueBatch: Boolean)(f: ResourceManager ?=> (PreparedStatement, Connection) => A): F[A]

Attributes

Inherited from:
ConnectionDb
Source
ConnectionDb.scala
protected def makePrepared(sql: SqlStr[JdbcCodec], con: Connection)(using ResourceManager): PreparedStatement

Attributes

Inherited from:
ConnectionDb
Source
ConnectionDb.scala
protected def makePreparedWithBatch[A : Monoid](sql: SqlStr[JdbcCodec], con: Connection, trueBatch: Boolean)(use: PreparedStatement => A)(implicit evidence$1: Monoid[A], ResourceManager): A

Attributes

Inherited from:
ConnectionDb
Source
ConnectionDb.scala
def mapK[G[_]](f: FunctionK[F, G]): Db[G, JdbcCodec]

Attributes

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

Attributes

Definition Classes
Inherited from:
ConnectionDb
Source
ConnectionDb.scala
override def runBatch(sql: SqlStr[JdbcCodec]): F[Seq[Int]]

Attributes

Definition Classes
Inherited from:
ConnectionDb
Source
ConnectionDb.scala
override def runIntoRes[Res[_[_]]](sql: SqlStr[JdbcCodec], dbTypes: Res[JdbcCodec], minRows: Int, maxRows: Int)(using FT: TraverseKC[Res]): F[Seq[Res[Id]]]

Attributes

Definition Classes
Inherited from:
ConnectionDb
Source
ConnectionDb.scala
override def runIntoSimple[Res](sql: SqlStr[JdbcCodec], dbTypes: JdbcCodec[Res]): F[Seq[Res]]

Attributes

Definition Classes
Inherited from:
ConnectionDb
Source
ConnectionDb.scala
protected def setArgs(con: Connection, ps: PreparedStatement, args: Seq[SqlArg[JdbcCodec]], batch: Int)(using ResourceManager): Unit

Attributes

Inherited from:
ConnectionDb
Source
ConnectionDb.scala