Text

doobie.postgres.Text
See theText companion trait
object Text extends TextInstances, TextPlatform

Attributes

Companion
trait
Source
Text.scala
Graph
Supertypes
trait TextPlatform
class Object
trait Matchable
class Any
Show all
Self type
Text.type

Members list

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.

Value parameters

f

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

Attributes

Source
Text.scala

Concrete fields

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

Inherited implicits

Text is both contravariant and semigroupal.

Text is both contravariant and semigroupal.

Attributes

Inherited from:
TextInstances
Source
Text.scala

Attributes

Inherited from:
TextInstances
Source
Text.scala
implicit val booleanInstance: Text[Boolean]

Attributes

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

Attributes

Inherited from:
TextInstances
Source
Text.scala
implicit val charInstance: Text[Char]

Attributes

Inherited from:
TextInstances
Source
Text.scala
implicit val doubleInstance: Text[Double]

Attributes

Inherited from:
TextInstances
Source
Text.scala
implicit val floatInstance: Text[Float]

Attributes

Inherited from:
TextInstances
Source
Text.scala
implicit def foldableInstance[F[_] : Foldable, A](implicit evidence$1: Foldable[F], ev: Text[A]): Text[F[A]]

Attributes

Inherited from:
TextInstances1
Source
Text.scala
implicit val intInstance: Text[Int]

Attributes

Inherited from:
TextInstances
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
implicit val longInstance: Text[Long]

Attributes

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

Attributes

Inherited from:
TextInstances
Source
Text.scala
implicit val shortInstance: Text[Short]

Attributes

Inherited from:
TextInstances
Source
Text.scala
implicit val stringInstance: Text[String]

Attributes

Inherited from:
TextInstances
Source
Text.scala