trait SqlFragment[T] extends Monoid[T]
Typeclass for SQL fragments.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SqlFragment
- Monoid
- Semigroup
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def andOpt(fs: Option[T]*): T
Returns
(f1) AND (f2) AND ... (fn)
for all defined fragments. - abstract def bind[A](encoder: Encoder, value: A): T
- abstract def combine(x: T, y: T): T
- Definition Classes
- Semigroup
- abstract def const(s: String): T
- abstract def empty: T
- Definition Classes
- Monoid
- abstract def in[G[_], A](f: T, fs: G[A], enc: Encoder)(implicit arg0: Reducible[G]): T
- abstract def needsCollation(codec: Codec): Boolean
- abstract def orOpt(fs: Option[T]*): T
Returns
(f1) OR (f2) OR ... (fn)
for all defined fragments. - abstract def parentheses(f: T): T
- abstract def sqlTypeName(codec: Codec): Option[String]
- abstract def whereAnd(fs: T*): T
Returns
WHERE (f1) AND (f2) AND ... (fn)
or the empty fragment iffs
is empty. - abstract def whereAndOpt(fs: Option[T]*): T
Returns
WHERE (f1) AND (f2) AND ... (fn)
for definedf
, if any, otherwise the empty fragment.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def combineAll(as: IterableOnce[T]): T
- Definition Classes
- Monoid
- def combineAllOption(as: IterableOnce[T]): Option[T]
- Definition Classes
- Monoid → Semigroup
- def combineN(a: T, n: Int): T
- Definition Classes
- Monoid → Semigroup
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def intercalate(middle: T): Semigroup[T]
- Definition Classes
- Semigroup
- def isEmpty(a: T)(implicit ev: Eq[T]): Boolean
- Definition Classes
- Monoid
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def repeatedCombineN(a: T, n: Int): T
- Attributes
- protected[this]
- Definition Classes
- Semigroup
- def reverse: Monoid[T]
- Definition Classes
- Monoid → Semigroup
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated