Fs2Db

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

Attributes

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

Members list

Value members

Abstract methods

def runIntoResStream[Res[_[_]]](sql: SqlStr[Codec], dbTypes: Res[Codec], chunkSize: Int)(using FT: TraverseKC[Res]): Stream[F, Res[Id]]

Attributes

Source
Fs2Db.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