skunk.Fragment
See theFragment companion object
final case class Fragment[A](parts: List[Either[String, State[Int, String]]], encoder: Encoder[A], origin: Origin) extends A => AppliedFragment
A composable, embeddable hunk of SQL and typed parameters (common precursor to Command
and Query
). Although it is possible to construct a Fragment
directly it is more typical to use the sql
interpolator.
Attributes
- Companion
- object
- Source
- Fragment.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Source
- Fragment.scala
Attributes
- Source
- Fragment.scala
Attributes
- Source
- Fragment.scala
Attributes
- Source
- Fragment.scala
Attributes
- Source
- Fragment.scala
Attributes
- Source
- Fragment.scala
Attributes
- Source
- Fragment.scala
Attributes
- Source
- Fragment.scala
Attributes
- Source
- Fragment.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Function1 -> Any
- Source
- Fragment.scala
Attributes
- Source
- Fragment.scala
Attributes
- Source
- Fragment.scala
Inherited methods
Attributes
- Inherited from:
- Function1
Attributes
- Inherited from:
- Function1
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Concrete fields
Attributes
- Source
- Fragment.scala
In this article