Search code examples
scalaviewslick

Scala Slick Database Views


Is there any way to use slick with database views? When I run the standard code generator, nothing about views are listed. I also can't seem to find anything in the documentation mentioning the ability (or lack thereof) to do so.


Solution

  • Yes it is perfectly possible to use views, but you need to tweak code generation a tiny bit. See here for more specific information: https://github.com/slick/slick/issues/1022 (comment of "mobiworx")