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.

New to Slick?

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

News

Apr 17 2014
We have just released Slick 2.1.0-M1, the first milestone for Slick 2.1. It should show up on Maven Central within the next few hours. You can find the source code... more
Mar 21 2014
We are happy to announce the release of Slick 2.0.1. The artifacts are available on Maven Central, as usual. You can find the source code here: https://github.com/slick/slick/tree/2.0.1. Please see http://slick.typesafe.com/docs/... more

News archive