connection

doobie.hi.connection$
object connection

Module of high-level constructors for ConnectionIO actions.

Attributes

Source
connection.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
connection.type

Members list

Grouped members

Statements

Attributes

Source
connection.scala

Prepared Statements

Attributes

Source
connection.scala
def prepareStatement[A](sql: String)(k: PreparedStatementIO[A]): ConnectionIO[A]

Attributes

Source
connection.scala

Attributes

Source
connection.scala

Attributes

Source
connection.scala
def prepareStatementI[A](sql: String, columnIndexes: List[Int])(k: PreparedStatementIO[A]): ConnectionIO[A]

Attributes

Source
connection.scala
def prepareStatementS[A](sql: String, columnNames: List[String])(k: PreparedStatementIO[A]): ConnectionIO[A]

Attributes

Source
connection.scala
def stream[A : Read](sql: String, prep: PreparedStatementIO[Unit], chunkSize: Int): Stream[ConnectionIO, A]

Construct a prepared statement from the given sql, configure it with the given PreparedStatementIO action, and return results via a Stream.

Construct a prepared statement from the given sql, configure it with the given PreparedStatementIO action, and return results via a Stream.

Attributes

Source
connection.scala
def updateManyWithGeneratedKeys[F[_] : Foldable, A : Write, B : Read](cols: List[String])(sql: String, prep: PreparedStatementIO[Unit], fa: F[A], chunkSize: Int): Stream[ConnectionIO, B]

Attributes

Source
connection.scala
def updateWithGeneratedKeys[A : Read](cols: List[String])(sql: String, prep: PreparedStatementIO[Unit], chunkSize: Int): Stream[ConnectionIO, A]

Construct a prepared update statement with the given return columns (and readable destination type A) and sql source, configure it with the given PreparedStatementIO action, and return the generated key results via a Stream.

Construct a prepared update statement with the given return columns (and readable destination type A) and sql source, configure it with the given PreparedStatementIO action, and return the generated key results via a Stream.

Attributes

Source
connection.scala

Connection Properties

val getCatalog: ConnectionIO[String]

Attributes

Source
connection.scala
def getClientInfo(key: String): ConnectionIO[Option[String]]

Attributes

Source
connection.scala
val getClientInfo: ConnectionIO[Map[String, String]]

Attributes

Source
connection.scala

Attributes

Source
connection.scala
def setCatalog(catalog: String): ConnectionIO[Unit]

Attributes

Source
connection.scala
def setClientInfo(key: String, value: String): ConnectionIO[Unit]

Attributes

Source
connection.scala
def setClientInfo(info: Map[String, String]): ConnectionIO[Unit]

Attributes

Source
connection.scala

Attributes

Source
connection.scala

Callable Statements

Attributes

Source
connection.scala
def prepareCall[A](sql: String)(k: CallableStatementIO[A]): ConnectionIO[A]

Attributes

Source
connection.scala

Attributes

Source
connection.scala

Transaction Control

Attributes

Source
connection.scala
def releaseSavepoint(sp: Savepoint): ConnectionIO[Unit]

Attributes

Source
connection.scala
def rollback(sp: Savepoint): ConnectionIO[Unit]

Attributes

Source
connection.scala

Attributes

Source
connection.scala
def setSavepoint(name: String): ConnectionIO[Savepoint]

Attributes

Source
connection.scala
val setSavepoint: ConnectionIO[Savepoint]

Attributes

Source
connection.scala

Lifting

def delay[A](a: => A): ConnectionIO[A]

Attributes

Source
connection.scala

Value members

Concrete methods

def prepareQueryAnalysis[A : Write, B : Read](sql: String): ConnectionIO[Analysis]

Construct an analysis for the provided sql query, given writable parameter type A and readable resultset row type B.

Construct an analysis for the provided sql query, given writable parameter type A and readable resultset row type B.

Attributes

Source
connection.scala

Attributes

Source
connection.scala

Attributes

Source
connection.scala

Attributes

Source
connection.scala