Text

doobie.postgres.Text$
See theText companion trait
object Text extends TextInstances0 with TextPlatform

Attributes

Companion:
trait
Source:
Text.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Text.type

Members list

Concise view

Value members

Concrete methods

def apply[A](implicit ev: Text[A]): Text[A]

Attributes

Source:
Text.scala
def instance[A](f: (A, StringBuilder) => Unit): Text[A]

Construct an instance, given a function matching the unsafeEncode signature.

Construct an instance, given a function matching the unsafeEncode signature.

Attributes

f

a function from (A, DELIMETER, NULL) => StringBuilder => StringBuilder

Source:
Text.scala

Concrete fields

val DELIMETER: Char

Attributes

Source:
Text.scala
val NULL: String

Attributes

Source:
Text.scala

Givens

Inherited givens

given derived[P <: Product, A](using m: ProductOf[P], i: <none> =:= A, t: Text[A]): Text[P]

Attributes

Inherited from:
TextPlatform
Source:
TextPlatform.scala
given given_Text_*:[H, T <: Tuple](using h: Text[H], t: Text[T]): Text[H *: T]

Attributes

Inherited from:
TextPlatform
Source:
TextPlatform.scala
given given_Text_*:[A](using csv: Text[A]): Text[A *: EmptyTuple]

Attributes

Inherited from:
TextPlatform
Source:
TextPlatform.scala

Implicits

Implicits

implicit val CsvContravariantSemigroupal: ContravariantSemigroupal[Text]

Text is both contravariant and semigroupal.

Text is both contravariant and semigroupal.

Attributes

Source:
Text.scala
implicit val bigDecimalInstance: Text[BigDecimal]

Attributes

Source:
Text.scala
implicit val booleanInstance: Text[Boolean]

Attributes

Source:
Text.scala
implicit val byteArrayInstance: Text[Array[Byte]]

Attributes

Source:
Text.scala
implicit val byteListInstance: Text[List[Byte]]

Attributes

Source:
Text.scala
implicit val charInstance: Text[Char]

Attributes

Source:
Text.scala
implicit val doubleInstance: Text[Double]

Attributes

Source:
Text.scala
implicit val floatInstance: Text[Float]

Attributes

Source:
Text.scala
implicit val intInstance: Text[Int]

Attributes

Source:
Text.scala
implicit val longInstance: Text[Long]

Attributes

Source:
Text.scala
implicit def option[A](implicit csv: Text[A]): Text[Option[A]]

Attributes

Source:
Text.scala
implicit val shortInstance: Text[Short]

Attributes

Source:
Text.scala
implicit val stringInstance: Text[String]

Attributes

Source:
Text.scala

Inherited implicits

implicit def foldableInstance[F[_], A](using evidence$1: Foldable[F], ev: Text[A]): Text[F[A]]

Attributes

Inherited from:
TextInstances1
Source:
Text.scala
implicit def iterableInstance[F[_], A](implicit ev: Text[A], f: F[A] => Iterable[A]): Text[F[A]]

Attributes

Inherited from:
TextInstances0
Source:
Text.scala