Packages

o

doobie.util

fragments

object fragments

Module of Fragment constructors.

Source
fragments.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. fragments
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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[F[_]](fs: F[doobie.Fragment], withParen: Boolean = true)(implicit arg0: Reducible[F]): doobie.Fragment

    Returns (f1 AND f2 AND ... fn) for a non-empty collection.

    Returns (f1 AND f2 AND ... fn) for a non-empty collection.

    withParen

    If this is false, does not wrap the resulting expression with parenthesis

  5. def and(f1: doobie.Fragment, f2: doobie.Fragment, fs: doobie.Fragment*): doobie.Fragment

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

  6. def andFallbackTrue[F[_]](fs: F[doobie.Fragment])(implicit arg0: Foldable[F]): doobie.Fragment

    Similar to andOpt, but defaults to FALSE if passed an empty collection

  7. def andOpt[F[_]](fs: F[doobie.Fragment], withParen: Boolean = true)(implicit arg0: Foldable[F]): Option[doobie.Fragment]

    Returns (f1 AND f2 AND ... fn), or None if the collection is empty.

  8. def andOpt(opt1: Option[doobie.Fragment], opt2: Option[doobie.Fragment], opts: Option[doobie.Fragment]*): Option[doobie.Fragment]

    Returns (f1 AND f2 AND ... fn) for all defined fragments, returning None if there are no defined fragments

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  11. def comma[F[_]](fs: F[doobie.Fragment])(implicit arg0: Reducible[F]): doobie.Fragment

    Returns f1, f2, ... fn.

  12. def comma(f1: doobie.Fragment, f2: doobie.Fragment, fs: doobie.Fragment*): doobie.Fragment

    Returns f1, f2, ... fn.

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def in[F[_], A, B](f: doobie.Fragment, fs: F[(A, B)])(implicit arg0: Reducible[F], arg1: Functor[F], arg2: Put[A], arg3: Put[B]): doobie.Fragment

    Returns (f IN ((fs0-A, fs0-B), (fs1-A, fs1-B), ...)), or false for empty fs.

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

    Returns (f IN (fs0, fs1, ...)), or false for empty fs.

  19. def in[A](f: doobie.Fragment, fs0: A, fs1: A, fs: A*)(implicit arg0: Put[A]): doobie.Fragment

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

  20. def inOpt[F[_], A](f: doobie.Fragment, fs: F[A])(implicit arg0: Foldable[F], arg1: Put[A]): Option[doobie.Fragment]
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def notIn[F[_], A](f: doobie.Fragment, fs: F[A])(implicit arg0: Reducible[F], arg1: Functor[F], arg2: Put[A]): doobie.Fragment

    Returns (f NOT IN (fs0, fs1, ...)), or true for empty fs.

  24. def notIn[A](f: doobie.Fragment, fs0: A, fs1: A, fs: A*)(implicit arg0: Put[A]): doobie.Fragment

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

  25. def notInOpt[F[_], A](f: doobie.Fragment, fs: F[A])(implicit arg0: Foldable[F], arg1: Put[A]): Option[doobie.Fragment]
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def or[F[_]](fs: F[doobie.Fragment], withParen: Boolean = true)(implicit arg0: Reducible[F]): doobie.Fragment

    Returns (f1 OR f2 OR ... fn) for a non-empty collection.

    Returns (f1 OR f2 OR ... fn) for a non-empty collection.

    withParen

    If this is false, does not wrap the resulting expression with parenthesis

  29. def or(f1: doobie.Fragment, f2: doobie.Fragment, fs: doobie.Fragment*): doobie.Fragment

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

  30. def orFallbackFalse[F[_]](fs: F[doobie.Fragment])(implicit arg0: Foldable[F]): doobie.Fragment

    Similar to orOpt, but defaults to FALSE if passed an empty collection

  31. def orOpt[F[_]](fs: F[doobie.Fragment], withParen: Boolean = true)(implicit arg0: Foldable[F]): Option[doobie.Fragment]

    Returns (f1 OR f2 OR ... fn), or None if the collection is empty.

  32. def orOpt(opt1: Option[doobie.Fragment], opt2: Option[doobie.Fragment], opts: Option[doobie.Fragment]*): Option[doobie.Fragment]

    Returns (f1 OR f2 OR ... fn) for all defined fragments, returning None if there are no defined fragments

  33. def orderBy[F[_]](fs: F[doobie.Fragment])(implicit arg0: Reducible[F]): doobie.Fragment
  34. def orderBy(f1: doobie.Fragment, fs: doobie.Fragment*): doobie.Fragment

    Returns ORDER BY f1, f2, ... fn.

  35. def orderByOpt(f1: Option[doobie.Fragment], f2: Option[doobie.Fragment], fs: Option[doobie.Fragment]*): doobie.Fragment

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

  36. def orderByOpt[F[_]](fs: F[doobie.Fragment])(implicit arg0: Foldable[F]): doobie.Fragment

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

  37. def parentheses(f: doobie.Fragment): doobie.Fragment

    Returns (f).

  38. def set[F[_]](fs: F[doobie.Fragment])(implicit arg0: Reducible[F]): doobie.Fragment

    Returns SET f1, f2, ... fn.

  39. def set(f1: doobie.Fragment, fs: doobie.Fragment*): doobie.Fragment

    Returns SET f1, f2, ... fn.

  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def values[A](a: A)(implicit w: Write[A]): doobie.Fragment

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

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

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

  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def whereAnd[F[_]](fs: F[doobie.Fragment])(implicit arg0: Reducible[F]): doobie.Fragment

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

  48. def whereAnd(f1: doobie.Fragment, fs: doobie.Fragment*): doobie.Fragment

    Returns WHERE f1 AND f2 AND ... fn.

  49. def whereAndOpt[F[_]](fs: F[doobie.Fragment])(implicit arg0: Foldable[F]): doobie.Fragment

    Returns WHERE f1 AND f2 AND ... fn if collection is not empty.

    Returns WHERE f1 AND f2 AND ... fn if collection is not empty. If collection is empty returns an empty fragment.

  50. def whereAndOpt(f1: Option[doobie.Fragment], f2: Option[doobie.Fragment], fs: Option[doobie.Fragment]*): doobie.Fragment

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

  51. def whereOr[F[_]](fs: F[doobie.Fragment])(implicit arg0: Reducible[F]): doobie.Fragment

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

  52. def whereOr(f1: doobie.Fragment, fs: doobie.Fragment*): doobie.Fragment

    Returns WHERE f1 OR f2 OR ... fn.

  53. def whereOrOpt[F[_]](fs: F[doobie.Fragment])(implicit arg0: Foldable[F]): doobie.Fragment

    Returns WHERE f1 OR f2 OR ... fn if collection is not empty.

    Returns WHERE f1 OR f2 OR ... fn if collection is not empty. If collection is empty returns an empty fragment.

  54. def whereOrOpt(f1: Option[doobie.Fragment], f2: Option[doobie.Fragment], fs: Option[doobie.Fragment]*): doobie.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

Inherited from AnyRef

Inherited from Any

Ungrouped