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
- All
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
val
elems: Chain[Elem]
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): 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.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
internals: Internals
Internals of this fragment.
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
pos: Option[Pos]
- Attributes
- protected
-
def
query[B](implicit arg0: Read[B]): 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
queryWithLabel[B](label: String)(implicit cb: Read[B]): doobie.Query0[B]
Construct a Query0 from this fragment, with asserted row type
B
and the given label. -
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: doobie.Update0
Construct an Update0 from this fragment.
Construct an Update0 from this fragment.
- Annotations
- @SuppressWarnings()
-
def
updateWithLabel(label: String): doobie.Update0
Construct an Update0 from this fragment with the given
LogHandler
. -
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )