[Solved] How can i execute the sql query with parameter?
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 solved How can i execute the sql query with parameter?