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$4: 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$5: 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

Deprecated methods

def anyIterable[A](fa: Iterable[A])(using evidence$3: ClassTag[A], P: Put[Array[A]]): Fragment

Returns ANY(fa0, fa1, ...)

Returns ANY(fa0, fa1, ...)

Attributes

Deprecated
true
Source
fragments.scala
def in[F[_], A](f: Fragment, fs: F[A])(using evidence$7: Reducible[F], evidence$8: Put[A]): Fragment

Returns f IN (fs0, fs1, ...).

Returns f IN (fs0, fs1, ...).

Attributes

Deprecated
true
Source
fragments.scala
def in[F[_], A, B](f: Fragment, fs: F[(A, B)])(using evidence$9: Reducible[F], evidence$10: Put[A], evidence$11: Put[B]): Fragment

Returns f IN ((fs0-A, fs0-B), (fs1-A, fs1-B), ...).

Returns f IN ((fs0-A, fs0-B), (fs1-A, fs1-B), ...).

Attributes

Deprecated
true
Source
fragments.scala
def notIn[F[_], A](f: Fragment, fs: F[A])(using evidence$12: Reducible[F], evidence$13: Put[A]): Fragment

Returns f NOT IN (fs0, fs1, ...).

Returns f NOT IN (fs0, fs1, ...).

Attributes

Deprecated
true
Source
fragments.scala
def set(fs: Fragment*): Fragment

Returns SET f1, f2, ... fn or the empty fragment if fs is empty.

Returns SET f1, f2, ... fn or the empty fragment if fs is empty.

Attributes

Deprecated
true
Source
fragments.scala
def setOpt(fs: Option[Fragment]*): Fragment

Returns SET f1, f2, ... fn for defined f, if any, otherwise the empty fragment.

Returns SET f1, f2, ... fn for defined f, if any, otherwise the empty fragment.

Attributes

Deprecated
true
Source
fragments.scala
def values[F[_], A](fs: F[A])(using evidence$6: Reducible[F], w: Write[A]): Fragment

Returns VALUES (fs0), (fs1), ....

Returns VALUES (fs0), (fs1), ....

Attributes

Deprecated
true
Source
fragments.scala