Slick Tutorial with Scala, Part 1 - Setup and Essential CRUD Operations

Опубликовано: 29 Сентябрь 2024
на канале: Rock the JVM
12,170
233

Written form:
https://blog.rockthejvm.com/slick/

Errata:
22:02 - the Future[Int] denotes the number of records written, not the next generated ID

GitHub:
https://github.com/rockthejvm/slick-demo

The rest of the mini-series:
Part 2:    • Scala and Slick Tutorial, Part 2 - Ad...  
Part 3:    • Scala and Slick Tutorial, Part 3 - Ad...  
Part 4:    • Scala and Slick Tutorial, Part 4 - Sl...  

Take the Scala masterclass:
https://rockthejvm.com/p/the-scala-bu...

This is the first part of a mini-series, a tutorial of Slick and Scala. In this video, we'll learn what Slick is, how to set up the library dependencies, how to spin up a PostgreSQL database via Docker, how to create mapping tables between Slick and our own data types, and the essential CRUD operations on the database via Slick, in type-safe Scala code.

Follow Rock the JVM on:
LinkedIn:   / rockthejvm  
Twitter:   / rockthejvm  
Blog: https://rockthejvm.com/blog

-------------------------------------------------------------------------
Home: https://rockthejvm.com
-------------------------------------------------------------------------