Functional Relational Mapping for Scala

Scala

Seamless data access for your Scala application — Write Scala code to query your database.

Type Safe

All database entities and queries are statically checked at compile-time.

Composable

Compose query operations just as if you were using Scala's collections.

Slick is a modern database query and access library for Scala. It allows you to work with stored data almost as if you were using Scala collections while at the same time giving you full control over when a database access happens and which data is transferred. You can write your database queries in Scala instead of SQL, thus profiting from the static checking, compile-time safety and compositionality of Scala. Slick features an extensible query compiler which can generate code for different backends.

News

Apr 23 2021
Slick is community-maintained. Planning for future releases, including for Scala 3, is in progress. Please help if you can! For details, visit this ticket. more
Sep 09 2020
We have just released Slick 3.3.3 You can find the source code here: https://github.com/slick/slick/tree/v3.3.0. Builds for Scala 2.11, 2.12 and 2.13 are available from Maven Central, as usual. Highlights This... more

News archive