What is the supertype for all Scalaquery queries?
As far as i have understood, Query[Projection[Product]]
should be it, e.g.:
Projection2[Int, Int]
<: Projection[Tuple2[Int,Int]]
<: Projection[Product]
so val query: Query[Projection[Product]] = for (all <- Tab) yield all.*
should work for Tab = new Table[(Int, Int)] {…}
…but appearantly i don’t understand how typing in scala works.
I’m totally confused, so if i missed something, please ask.