[Solved] How can i execute the sql query with parameter?
[ad_1] You can try turning resultList into a function: import scalikejdbc.SQL def resultList(sqlQuery: String): List[List[String]] = SQL(sqlQuery) .map( rs => List( rs.string(“transaction_id”) ) ) .list() .apply() 16 [ad_2] solved How can i execute the sql query with parameter?