5

I tried, for instance:

object WebCache extends Table[(...)]("myschema.mytable") {
  ...
}

But that doesn't work.

Yang
  • 16,037
  • 15
  • 100
  • 142

2 Answers2

4

Slick now has this functionality:

object WebCache extends Table[(...)](Some("myschema"), "mytable") {
  ...
}

Should work.

Community
  • 1
  • 1
Jack
  • 16,506
  • 19
  • 100
  • 167
1

Got an answer from the scalaquery mailing list. This is a limitation of ScalaQuery.

This is not supported at the moment but it should be very easy to add. I've created https://github.com/szeiger/scala-query/issues/19 for this issue.

Yang
  • 16,037
  • 15
  • 100
  • 142