How to bind parameter in ScalikeJDBC Scala?



One way to bind parameters dynamically in SQL query is.....


SQL(param get "query" get).bind(employeeid) 

where,

param is

 var param = Map[String,String]( "query"->"select * from EMPLOYEE where id=?" )

Comments

Popular Posts