object connection
Module of safe PGConnectionIO
operations lifted into ConnectionIO
.
- Source
- connection.scala
- Alphabetic
- By Inheritance
- connection
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val defaultInterpreter: ~>[PGConnectionOp, [γ$0$]Kleisli[[A]Free[ConnectionOp, A], PGConnection, γ$0$]]
- def embed[F[_], J, B](j: J, op: Free[F, B])(implicit ev: Embeddable[F, J]): ConnectionIO[B]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val pgGetBackendPID: ConnectionIO[Int]
- def pgGetConnection[A](k: PGConnectionIO[A]): ConnectionIO[A]
- def pgGetCopyAPI[A](k: CopyManagerIO[A]): ConnectionIO[A]
- def pgGetLargeObjectAPI[A](k: LargeObjectManagerIO[A]): ConnectionIO[A]
- val pgGetNotifications: ConnectionIO[List[PGNotification]]
- val pgGetPrepareThreshold: ConnectionIO[Int]
- def pgListen(channel: String): ConnectionIO[Unit]
Construct a program that starts listening on the given channel.
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.
- def pgNotify(channel: String, payload: String): ConnectionIO[Unit]
Construct a program that notifies on the given channel, with a payload.
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.
- def pgNotify(channel: String): ConnectionIO[Unit]
Construct a program that notifies on the given channel.
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.
- def pgSetPrepareThreshold(threshold: Int): ConnectionIO[Unit]
- def pgUnlisten(channel: String): ConnectionIO[Unit]
Construct a program that stops listening on the given channel.
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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)