connection

doobie.postgres.hi.connection$
object connection

Module of safe PGConnectionIO operations lifted into ConnectionIO.

Attributes

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

Members list

Concise view

Value members

Concrete methods

def embed[F[_], J, B](j: J, op: Free[F, B])(implicit ev: Embeddable[F, J]): ConnectionIO[B]

Attributes

Source:
connection.scala
def pgGetConnection[A](k: PGConnectionIO[A]): ConnectionIO[A]

Attributes

Source:
connection.scala
def pgGetCopyAPI[A](k: CopyManagerIO[A]): ConnectionIO[A]

Attributes

Source:
connection.scala
def pgGetLargeObjectAPI[A](k: LargeObjectManagerIO[A]): ConnectionIO[A]

Attributes

Source:
connection.scala
def pgListen(channel: String): ConnectionIO[Unit]

Construct a program that starts listening on the given channel. Note that the channel is NOT sanitized; it cannot be passed as a parameter and is simply interpolated into the statement. DO NOT pass user input here.

Construct a program that starts listening on the given channel. Note that the channel is NOT sanitized; it cannot be passed as a parameter and is simply interpolated into the statement. DO NOT pass user input here.

Attributes

Source:
connection.scala
def pgNotify(channel: String): ConnectionIO[Unit]

Construct a program that notifies on the given channel. Note that the channel is NOT sanitized; it cannot be passed as a parameter and is simply interpolated into the statement. DO NOT pass user input here.

Construct a program that notifies on the given channel. Note that the channel is NOT sanitized; it cannot be passed as a parameter and is simply interpolated into the statement. DO NOT pass user input here.

Attributes

Source:
connection.scala
def pgNotify(channel: String, payload: String): ConnectionIO[Unit]

Construct a program that notifies on the given channel, with a payload. Note that neither the channel nor the payload are sanitized; neither can be passed as parameters and are simply interpolated into the statement. DO NOT pass user input here.

Construct a program that notifies on the given channel, with a payload. Note that neither the channel nor the payload are sanitized; neither can be passed as parameters and are simply interpolated into the statement. DO NOT pass user input here.

Attributes

Source:
connection.scala
def pgSetPrepareThreshold(threshold: Int): ConnectionIO[Unit]

Attributes

Source:
connection.scala
def pgUnlisten(channel: String): ConnectionIO[Unit]

Construct a program that stops listening on the given channel. Note that the channel is NOT sanitized; it cannot be passed as a parameter and is simply interpolated into the statement. DO NOT pass user input here.

Construct a program that stops listening on the given channel. Note that the channel is NOT sanitized; it cannot be passed as a parameter and is simply interpolated into the statement. DO NOT pass user input here.

Attributes

Source:
connection.scala

Concrete fields

val defaultInterpreter: FunctionK[PGConnectionOp, [_] =>> Kleisli[ConnectionIO, PGConnection, _$1]]

Attributes

Source:
connection.scala
val pgGetBackendPID: ConnectionIO[Int]

Attributes

Source:
connection.scala
val pgGetNotifications: ConnectionIO[List[PGNotification]]

Attributes

Source:
connection.scala
val pgGetPrepareThreshold: ConnectionIO[Int]

Attributes

Source:
connection.scala