Class

doobie.util.transactor

Transactor

Related Doc: package transactor

Permalink

abstract class Transactor[M[_]] extends AnyRef

Source
transactor.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Transactor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Transactor()(implicit arg0: Monad[M], arg1: Catchable[M], arg2: Capture[M])

    Permalink

Abstract Value Members

  1. abstract def connect: M[Connection]

    Permalink

    Minimal implementation must provide a connection.

    Minimal implementation must provide a connection.

    Attributes
    protected[doobie]

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[doobie]
  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[doobie]
  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[doobie]
  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[doobie]
  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.

  22. object transP extends ~>[[a]Process[[A]Free[ConnectionOp, A], a], [a]Process[M, a]]

    Permalink

    Natural transformation to an equivalent process over target monad M.

  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.

Deprecated Value Members

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

    Permalink
    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
    Annotations
    @deprecated
    Deprecated

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

Inherited from AnyRef

Inherited from Any

Ungrouped