Underscore, 2017. — 212 p.
Essential Slick is a guide to building application using the Slick database library. It is aimed at Scala developers who need to become productive with Slick quickly.
Topics Covered:A hands-on quick start to get you connecting to a database and running queries.
An introduction to the core concepts you need to work with Slick.
Selecting and modifying data (delete, insert, update) and working with primary keys.
Making use of the type system, with custom types, value classes, typed primary keys, foreign keys, optional values, and enumerations.
Constructing joins and aggregates.
Working with Plain SQL when you need to really control the queries you run.
Exercises though the text give you practices at working with Slick, and help further explore the material.
Basics
Selecting Data
Creating and Modifying Data
Action Combinators and Transactions
Data Modeling
Joins and Aggregates
Plain SQL
A. Using Different Database Products
B. Solutions to Exercises