我想对我的数据库运行自定义 sql 选择请求。遵循 slick 3 docs我最终得到了这样的东西
"com.typesafe.slick" %% "slick" % "3.0.1",
"mysql" % "mysql-connector-java" % "5.1.35",
import slick.driver.MySQLDriver.api._
val db = Database.forURL(url, username, password, driver = driver)
val s = sql"""select name, email from users""".as[(String, String)]
val f: Future[Unit] = db.run(DBIO.seq(s))
但我想得到一个元组序列。我怎么才能得到它?