是否可以在Slick 2.0中使用纯SQL查询?我在文档中发现1.0是正确的 . 我想知道新的那个是真的 .
是的,有可能,syntax depends on your slick version,也请查看this example:
val q2 = Q.query[Double, (String, String)](""" select c.name, s.name from coffees c, suppliers s where c.price < ? and s.id = c.sup_id """)
1 回答
是的,有可能,syntax depends on your slick version,也请查看this example: