io.rdbc.sapi
Represent a sql statement along with parameters. Instances of this class are supposed to be constructed using sql string interpolator like this:
sql
import io.rdbc.sapi._ val id = 0 val s: SqlWithParams = sql"select * from test where id = $id"
Instances created by the interpolator can be composed:
import io.rdbc.sapi._ val x = 0 val y = 0 val s: SqlWithParams = sql"select * from test where x = $x" + sql"and y = $y"
(sqlWithParams: any2stringadd[SqlWithParams]).+(other)
Represent a sql statement along with parameters. Instances of this class are supposed to be constructed using
sql
string interpolator like this:Instances created by the interpolator can be composed: