fragments

doobie.util.fragments
object fragments

Module of Fragment constructors.

Attributes

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

Members list

Value members

Concrete methods

def and(fs: Fragment*): Fragment

Returns (f1) AND (f2) AND ... (fn).

Returns (f1) AND (f2) AND ... (fn).

Attributes

Source
fragments.scala
def andOpt(fs: Option[Fragment]*): Fragment

Returns (f1) AND (f2) AND ... (fn) for all defined fragments.

Returns (f1) AND (f2) AND ... (fn) for all defined fragments.

Attributes

Source
fragments.scala
def any[F[_], A](fa: F[A])(using evidence$1: Reducible[F], evidence$2: ClassTag[A], P: Put[Array[A]]): Fragment

Returns ANY(fa0, fa1, ...)

Returns ANY(fa0, fa1, ...)

Attributes

Source
fragments.scala
def commas[F[_], A](fa: F[A])(using evidence$1: Reducible[F], W: Write[A]): Fragment

Returns ?, ?, ?, ... if a corresponds to one element or (?,?,...), (?,?,...), ...) if a corresponds to more than one element

Returns ?, ?, ?, ... if a corresponds to one element or (?,?,...), (?,?,...), ...) if a corresponds to more than one element

Attributes

Source
fragments.scala
def commasId[A](fa: Id[A])(using evidence$1: Write[A]): Fragment

Same as commas but avoid callers having to provide explicit types for F and A when using Id.

Same as commas but avoid callers having to provide explicit types for F and A when using Id.

Attributes

Source
fragments.scala
def or(fs: Fragment*): Fragment

Returns (f1) OR (f2) OR ... (fn).

Returns (f1) OR (f2) OR ... (fn).

Attributes

Source
fragments.scala
def orOpt(fs: Option[Fragment]*): Fragment

Returns (f1) OR (f2) OR ... (fn) for all defined fragments.

Returns (f1) OR (f2) OR ... (fn) for all defined fragments.

Attributes

Source
fragments.scala

Returns (f).

Returns (f).

Attributes

Source
fragments.scala
def values[A](a: A)(implicit W: Write[A]): Fragment

Returns ?,?,...,? for the values in a.

Returns ?,?,...,? for the values in a.

Attributes

Source
fragments.scala

Returns WHERE (f1) AND (f2) AND ... (fn) or the empty fragment if fs is empty.

Returns WHERE (f1) AND (f2) AND ... (fn) or the empty fragment if fs is empty.

Attributes

Source
fragments.scala
def whereAndOpt(fs: Option[Fragment]*): Fragment

Returns WHERE (f1) AND (f2) AND ... (fn) for defined f, if any, otherwise the empty fragment.

Returns WHERE (f1) AND (f2) AND ... (fn) for defined f, if any, otherwise the empty fragment.

Attributes

Source
fragments.scala

Returns WHERE (f1) OR (f2) OR ... (fn) or the empty fragment if fs is empty.

Returns WHERE (f1) OR (f2) OR ... (fn) or the empty fragment if fs is empty.

Attributes

Source
fragments.scala
def whereOrOpt(fs: Option[Fragment]*): Fragment

Returns WHERE (f1) OR (f2) OR ... (fn) for defined f, if any, otherwise the empty fragment.

Returns WHERE (f1) OR (f2) OR ... (fn) for defined f, if any, otherwise the empty fragment.

Attributes

Source
fragments.scala