SQLInterpolationFeature

scalikejdbc.SQLInterpolationFeature

Basic SQLInterpolation feature.

Attributes

Source
SQLInterpolationFeature.scala
Graph
Supertypes
trait Implicits
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Inherited types

type AsteriskProvider = AsteriskProvider
type ResultAllProvider = ResultAllProvider
type SQLSyntax = SQLSyntax

Value members

Inherited fields

val SQLSyntax: SQLSyntax.type
val sqls: SQLSyntax.type

Implicits

Inherited implicits

implicit def scalikejdbcSQLInterpolationImplicitDef(s: StringContext): SQLInterpolationString

Enables sql"", sqls"" interpolation.

Enables sql"", sqls"" interpolation.

 sql"select * from members"
 val whereClause = sqls"where id = ${id}"
 sql"select * from members ${whereClause}"

Attributes

Inherited from:
Implicits
Source
Implicits.scala
implicit def scalikejdbcSQLSyntaxToStringImplicitDef(syntax: SQLSyntax): String

Returns String value when String type is expected for scalikejdbc.WrappedResultSet.

Returns String value when String type is expected for scalikejdbc.WrappedResultSet.

 val c = Company.syntax("c").resultName
 rs.string(c.name)

Attributes

Inherited from:
Implicits
Source
Implicits.scala