Query

doobie.util.query.Query
See theQuery companion trait
object Query

Attributes

Companion
trait
Source
query.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Query.type

Members list

Grouped members

Typeclass Instances

implicit def queryContravariant[B]: Contravariant[Query]

Attributes

Source
query.scala
implicit def queryCovariant[A]: Functor[[_] =>> Query[A, _$5]]

Attributes

Source
query.scala
implicit val queryProfunctor: Profunctor[Query]

Attributes

Source
query.scala

Constructors

def apply[A, B](sql0: String, pos0: Option[Pos])(implicit A: Write[A], B: Read[B]): Query[A, B]

Construct a Query with the given SQL string, an optional Pos for diagnostic purposes, and type arguments for writable input and readable output types. Note that the most common way to construct a Query is via the sql interpolator.

Construct a Query with the given SQL string, an optional Pos for diagnostic purposes, and type arguments for writable input and readable output types. Note that the most common way to construct a Query is via the sql interpolator.

Attributes

Source
query.scala