Db

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

Attributes

Source
Db.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ConnectionDb[F]
class CatsDataSourceDb[F]
class Fs2DataSourceDb[F]
trait DataSourceDb[F]
trait CatsDb[F, Codec]
trait CatsTransactionDb[F, Codec]
trait CatsTransactionalDb[F, Codec]
trait Fs2Db[F, Codec]
class SkunkSessionDb[F]
trait TransactionDb[F, Codec]
trait TransactionalDb[F, Codec]
Show all
Self type
Db[F, Codec]

Members list

Value members

Abstract methods

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

Attributes

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

Attributes

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

Source
Db.scala
def runIntoSimple[Res](sql: SqlStr[Codec], dbTypes: Codec[Res]): F[Seq[Res]]

Attributes

Source
Db.scala

Concrete methods

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

Attributes

Source
Db.scala