Class

anorm

SqlStringInterpolation

Related Doc: package anorm

Permalink

implicit final class SqlStringInterpolation extends AnyVal

Creates an SQL query using String Interpolation feature. It is a 1-step alternative for SQL("...").on(...) functions.

SQL"""
  UPDATE computer SET name = \${computer.name},
  introduced = \${computer.introduced},
  discontinued = \${computer.discontinued},
  company_id = \${computer.companyId}
  WHERE id = \$id
""".executeUpdate()
Source
package.scala
Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SqlStringInterpolation
  2. AnyVal
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SqlStringInterpolation(sc: StringContext)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. def SQL(args: ParameterValue*): SimpleSql[Row]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. val sc: StringContext

    Permalink
  9. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped