Packages

  • package root
    Definition Classes
    root
  • package doobie

    Top-level import, providing aliases for the most commonly used types and modules from doobie-free and doobie-core.

    Top-level import, providing aliases for the most commonly used types and modules from doobie-free and doobie-core. A typical starting set of imports would be something like this.

    import cats.implicits._
    import doobie._, doobie.implicits._
    Definition Classes
    root
    See also

    The doobie microsite for much more information.

  • package util

    Collection of modules for typeclasses and other helpful bits.

    Collection of modules for typeclasses and other helpful bits.

    Definition Classes
    doobie
  • object fragment

    Module defining the Fragment data type.

    Module defining the Fragment data type.

    Definition Classes
    util
  • Fragment

final class Fragment extends AnyRef

A statement fragment, which may include interpolated values. Fragments can be composed by concatenation, which maintains the correct offset and mappings for interpolated values. Once constructed a Fragment is opaque; it has no externally observable properties. Fragments are eventually used to construct a Query0 or Update0.

Source
fragment.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Fragment
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Fragment(sql: String, elems: Chain[Elem], pos: Option[Pos])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++(fb: Fragment): Fragment

    Concatenate this fragment with another, yielding a larger fragment.

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. val elems: Chain[Elem]
    Attributes
    protected
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def execWith[B](fa: doobie.PreparedStatementIO[B]): doobie.ConnectionIO[B]

    Construct a program in ConnectionIO that constructs and prepares a PreparedStatement, with further handling delegated to the provided program.

  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. val pos: Option[Pos]
    Attributes
    protected
  19. def query[B](implicit arg0: Read[B], h: doobie.LogHandler = LogHandler.nop): doobie.Query0[B]

    Construct a Query0 from this fragment, with asserted row type B.

    Construct a Query0 from this fragment, with asserted row type B.

    Annotations
    @SuppressWarnings()
  20. def queryWithLogHandler[B](h: doobie.LogHandler)(implicit cb: Read[B]): doobie.Query0[B]

    Construct a Query0 from this fragment, with asserted row type B and the given LogHandler.

  21. val sql: String
    Attributes
    protected
  22. def stripMargin: Fragment
    Annotations
    @SuppressWarnings()
  23. def stripMargin(marginChar: Char): Fragment
    Annotations
    @SuppressWarnings()
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    Fragment → AnyRef → Any
  26. def update(implicit h: doobie.LogHandler = LogHandler.nop): doobie.Update0

    Construct an Update0 from this fragment.

    Construct an Update0 from this fragment.

    Annotations
    @SuppressWarnings()
  27. def updateWithLogHandler(h: doobie.LogHandler): doobie.Update0

    Construct an Update0 from this fragment with the given LogHandler.

  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped