Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,我尝试过:
object WebCache extends Table[(...)]("myschema.mytable") { ... }
但这不起作用。
Slick 现在有这个功能:
object WebCache extends Table[(...)](Some("myschema"), "mytable") { ... }
应该管用。
从 scalaquery 邮件列表中得到了答案。这是 ScalaQuery 的限制。
目前不支持此功能,但应该很容易添加。我为此问题创建了https://github.com/szeiger/scala-query/issues/19 。