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
Ordering
- Alphabetic
- By Inheritance
Inherited
- SqlStringInterpolation
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SqlStringInterpolation(sc: StringContext)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
- def SQL(args: ParameterValue*): SimpleSql[Row]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val sc: StringContext
-
def
toString(): String
- Definition Classes
- Any