Packages

final class SqlInterpolator extends AnyVal

String interpolator for SQL literals. An expression of the form sql".. $a ... $b ..." with interpolated values of type A and B (which must have instances of Put) yields a value of type Fragment.

Source
string.scala
Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SqlInterpolator
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SqlInterpolator(sc: StringContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def fr(a: SingleFragment[_]*)(implicit pos: Pos): util.fragment.Fragment

    Interpolator for a statement fragment that can contain interpolated values.

    Interpolator for a statement fragment that can contain interpolated values. When inserted into the final SQL statement this fragment will be followed by a space. This is normally what you want, and it makes it easier to concatenate fragments because you don't need to think about intervening whitespace. If you do not want this behavior, use fr0.

  6. def fr0(a: SingleFragment[_]*)(implicit pos: Pos): util.fragment.Fragment

    Interpolator for a statement fragment that can contain interpolated values.

    Interpolator for a statement fragment that can contain interpolated values. Unlike fr no attempt is made to be helpful with respect to whitespace.

  7. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def sql(a: SingleFragment[_]*)(implicit pos: Pos): util.fragment.Fragment

    Alternative name for the fr0 interpolator.

  10. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped