Tutorial by Examples

In build.sbt, make sure you include (here for Mysql and PostGreSQL): "mysql" % "mysql-connector-java" % "5.1.20", "org.postgresql" % "postgresql" % "9.3-1100-jdbc4", "com.typesafe.slick" %% "slick" % "3.1.1&...
The whole point of using slick is to write as little SQL code as possible. After you have written your table definition, you will want to create the table in your database. If you have val table = TableQuery[MyModel] You can get the table definition (SQL code - DDL) running the following command: ...

Page 1 of 1