Functional Relational Mapping for 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.


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.

New to Slick?

Get started in minutes using the Hello Slick template in Lightbend Activator.


Feb 10 2017
We have just released Slick 3.2.0-RC1, the first release candidate for Slick 3.2.0. You can find the source code here: Builds for Scala 2.11 and 2.12 are available from... more
Dec 05 2016
We have just released Slick 3.2.0-M2, the second milestone for Slick 3.2. It should show up on Maven Central within the next few hours. You can find the source code... more

News archive