Scala View database slices

Can a spot be used in a database view? When I run the standard code generator, nothing is displayed in the views. I also cannot find anything in the documentation that mentions the ability (or lack thereof) for this.

+2
source share
2 answers

Yes, it’s possible to use views, but you need to set up cross-code. See here for more details: https://github.com/slick/slick/issues/1022 (comment by "mobiworx")

+2
source

If you follow the link provided by tfh, the following code snippet worked for me:

slick.jdbc.meta.MTable.getTables(None, None, None, Some(Seq("VIEW","TABLE"))) 
0
source

All Articles