Class/Object

doobie.util.transactor

DataSourceTransactor

Related Docs: object DataSourceTransactor | package transactor

Permalink

abstract class DataSourceTransactor[M[_], D <: DataSource] extends Transactor[M]

Transactor wrapping an existing DataSource.

Source
transactor.scala
Linear Supertypes
Transactor[M], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DataSourceTransactor
  2. Transactor
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def configure[A](f: (D) ⇒ M[A]): M[A]

    Permalink
  2. abstract def connect: M[Connection]

    Permalink

    Minimal implementation must provide a connection.

    Minimal implementation must provide a connection.

    Attributes
    protected
    Definition Classes
    Transactor

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def after: ConnectionIO[Unit]

    Permalink

    Action in case of success; default is commit.

    Action in case of success; default is commit.

    Attributes
    protected
    Definition Classes
    Transactor
  5. def always: ConnectionIO[Unit]

    Permalink

    Cleanup action run in all cases; default is close.

    Cleanup action run in all cases; default is close.

    Attributes
    protected
    Definition Classes
    Transactor
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def before: ConnectionIO[Unit]

    Permalink

    Action preparing the connection; default is setAutoCommit(false).

    Action preparing the connection; default is setAutoCommit(false).

    Attributes
    protected
    Definition Classes
    Transactor
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def oops: ConnectionIO[Unit]

    Permalink

    Action in case of failure; default is rollback.

    Action in case of failure; default is rollback.

    Attributes
    protected
    Definition Classes
    Transactor
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. object trans extends ~>[ConnectionIO, M]

    Permalink

    Natural transformation to target monad M.

    Natural transformation to target monad M.

    Definition Classes
    Transactor
  22. object transP extends ~>[[a]Process[[A]Free[[x]Coyoneda[ConnectionOp, x], A], a], [a]Process[M, a]]

    Permalink

    Natural transformation to an equivalent process over target monad M.

    Natural transformation to an equivalent process over target monad M.

    Definition Classes
    Transactor
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. lazy val yolo: Yolo[M]

    Permalink

    Unethical syntax for use in the REPL.

    Unethical syntax for use in the REPL.

    Definition Classes
    Transactor

Deprecated Value Members

  1. def transact[A](pa: Process[ConnectionIO, A]): Process[M, A]

    Permalink
    Definition Classes
    Transactor
    Annotations
    @deprecated
    Deprecated

    (Since version 0.2.1) will go away in 0.2.2; use transP

  2. def transact[A](ma: ConnectionIO[A]): M[A]

    Permalink
    Definition Classes
    Transactor
    Annotations
    @deprecated
    Deprecated

    (Since version 0.2.1) will go away in 0.2.2; use trans

Inherited from Transactor[M]

Inherited from AnyRef

Inherited from Any

Ungrouped