Top "Slick" questions

Slick acronym for Scala Language-Integrated Connection Kit, is a modern database query and access library for Scala by Lightbend.

How to write database-agnostic Play application and perform first-time database initialization?

I'm using Slick with a Play Framework 2.1 and I have some troubles. Given the following entity... package models import scala.…

scala playframework-2.0 slick
Using Auto Incrementing fields with PostgreSQL and Slick

How does one insert records into PostgreSQL using AutoInc keys with Slick mapped tables? If I use and Option for …

scala slick typesafe-stack
How to catch slick postgres exceptions for duplicate key value violations

My table has a unique index on a pair of columns in my postgresql database. I want to know how …

scala playframework slick
Slick - Filter Row if Column is Null

How do I filter rows in Slick if a column is null? val employees = Queryable[Employees] // Error val query = employees.…

scala slick slick-2.0
Getting autoincrement values with Slick library in Scala

How do I get the auto-incremented values for records inserted with Slick? The following code prints 1111. I would have expected …

scala slick
How to specify SLICK Query sortBy column from runtime parameter?

I have the following SLICK query to get paged results for a data table with the name field matching some …

scala scalaquery slick
Upsert in Slick

Is there a way I can neatly do an upsert operation in Slick? The following works but is too obscure/…

scala slick
Using .tupled method when companion object is in class

I am in the process of migrating from Slick to Slick 2, and in Slick 2 you are meant to use the …

scala singleton slick case-class
Play scala advice on anorm vs slick

I am thinking of learning and using the play framework with scala for building web apps. However, I would like …

playframework slick anorm
How to write dynamic SQL queries with sql""" interpolation in slick

I am new to Scala and Slick and trying to write a plain SQL queries with Slick interpolation. Case 1: I …

scala slick