Packages

o

doobie.util

fragments

object fragments

Module of Fragment constructors.

Annotations
@nowarn()
Source
fragments.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. fragments
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def and(fs: Fragment*): Fragment

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

  5. def andOpt(fs: Option[Fragment]*): Fragment

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

  6. def any[F[_], A](fa: F[A])(implicit arg0: Reducible[F], arg1: ClassTag[A], P: Put[Array[A]]): Fragment

    Returns ANY(fa0, fa1, ...)

  7. def anyIterable[A](fa: Iterable[A])(implicit arg0: ClassTag[A], P: Put[Array[A]]): Fragment

    Returns ANY(fa0, fa1, ...)

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. def commas[F[_], A](fa: F[A])(implicit arg0: Reducible[F], W: Write[A]): Fragment

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

  11. def commasId[A](fa: Id[A])(implicit arg0: Write[A]): Fragment

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

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def or(fs: Fragment*): Fragment

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

  21. def orOpt(fs: Option[Fragment]*): Fragment

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

  22. def parentheses(f: Fragment): Fragment

    Returns (f).

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def values[A](a: A)(implicit W: Write[A]): Fragment

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

  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. def whereAnd(fs: Fragment*): Fragment

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

  30. def whereAndOpt(fs: Option[Fragment]*): Fragment

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

  31. def whereOr(fs: Fragment*): Fragment

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

  32. def whereOrOpt(fs: Option[Fragment]*): Fragment

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def in[F[_], A, B](f: Fragment, fs: F[(A, B)])(implicit arg0: Reducible[F], arg1: Put[A], arg2: 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), ...).

    Annotations
    @deprecated
    Deprecated

    (Since version 0.14.0) Replace with fr"IN (${commas(fs)})"

  3. def in[F[_], A](f: Fragment, fs: F[A])(implicit arg0: Reducible[F], arg1: Put[A]): Fragment

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.14.0) Replace with fr"IN (${commas(fs)})"

  4. def notIn[F[_], A](f: Fragment, fs: F[A])(implicit arg0: Reducible[F], arg1: Put[A]): Fragment

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.14.0) Replace with fr"NOT IN (${commas(fs)})"

  5. 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.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.14.0) Replace with fr"SET ${fs.toList.intercalate(fr",")}"

  6. 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.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.14.0) Replace with fr"SET ${fs.toList.intercalate(fr",")}"

  7. def values[F[_], A](fs: F[A])(implicit arg0: Reducible[F], w: Write[A]): Fragment

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.14.0) Replace with fr"VALUES ${commas(fs)}"

Inherited from AnyRef

Inherited from Any

Ungrouped