fragment

doobie.util.fragment
object fragment

Module defining the Fragment data type.

Attributes

Source
fragment.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
fragment.type

Members list

Type members

Classlikes

object Elem

Attributes

Companion
trait
Source
fragment.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Elem.type
sealed trait Elem

Attributes

Companion
object
Source
fragment.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Arg[A]
class Opt[A]
final class Fragment(val sql: String, val elems: Chain[Elem], val pos: Option[Pos])

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.

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.

Attributes

Companion
object
Source
fragment.scala
Supertypes
class Object
trait Matchable
class Any
object Fragment

Attributes

Companion
class
Source
fragment.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Fragment.type