How to use Slick code generator to include database views as well?
问题 I'm trying to generate the Scala code for the database tables and views in my schema using Slick 3.0.3. Taking this blog as example I have the following file build.sbt . However, this will generate code for my database tables and will not include the database views. How can I get the views generated as well? According to slick issue 1022 I see it is possible to do but the API doesn't look alike and slick.codegen.SourceCodeGenerator doesn't have a getTables or defaultTables to include view