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
- Alphabetic
- By Inheritance
- Fragment
- 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
- def ++(fb: Fragment): Fragment
Concatenate this fragment with another, yielding a larger fragment.
- 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]) @native()
- val elems: Chain[Elem]
- Attributes
- protected
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pos: Option[Pos]
- Attributes
- protected
- def query[B](implicit arg0: doobie.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()
- def queryWithLogHandler[B](h: doobie.LogHandler)(implicit cb: doobie.Read[B]): doobie.Query0[B]
Construct a Query0 from this fragment, with asserted row type
B
and the givenLogHandler
. - val sql: String
- Attributes
- protected
- def stripMargin: Fragment
- Annotations
- @SuppressWarnings()
- def stripMargin(marginChar: Char): Fragment
- Annotations
- @SuppressWarnings()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Fragment → AnyRef → Any
- def update(implicit h: doobie.LogHandler = LogHandler.nop): doobie.Update0
Construct an Update0 from this fragment.
Construct an Update0 from this fragment.
- Annotations
- @SuppressWarnings()
- def updateWithLogHandler(h: doobie.LogHandler): doobie.Update0
Construct an Update0 from this fragment with the given
LogHandler
. - final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()