Creating a table and changing the table dynamically in scala slick

How to create a table and change the table dynamically in scala slick? Is the method just reproducing only the SQL query?

+4
source share
1 answer

Do you mean Slick table objects or a schema in a database? In the first case, you can invoke .columntables on your object at any time to query the column dynamically. In the case of the latter, Slick allows you to create new schemes. For manipulation, existing schemas use SQL or play evolution. Read more here: Play !: will LLL replace Slick Evolutions?

-1
source

Source: https://habr.com/ru/post/1524658/


All Articles