Can I use in-clauses with ScalikeJDBC's SQL Interpolation? e.g.
val ids = Set(1,2,3,5)
sql"""update foo set bar=${bar} where id in ${ids}""".update().apply()
This fails because ids
is not interpolated.
sql"""update foo set bar=${bar} where id in (${ids.mkString(",")})""".update().apply()
This also fails because the expression is intepreted as a String, not a list of numbers. e.g. ... where id in ('1,2,3,5')