WIP ALERT THIS IS A WORK IN PROGRESS

These are some recurring patterns that may arise when creating tables and classes for use with Slick 2.x

Simplest possible DB Table

Read more




It's very common to make timestamp and datetime have defaults that evaluate to the current time (at the time of script execution).

Since Slick associates column types to Scala/Java types, it's not (as far as I

Read more




I've had this error bug me (pun unintended) for almost a whole day.

error sreenshot

Turns out it was because my options for Slick in application.conf looked like this:

```

E

Read more




WIP ALERT THIS IS A WORK IN PROGRESS

Parsing a JSON String into a JSValue

TODO Json.parse

Converting a JSObject back into a String

TODO stringify and toJson

Building JSObject piece by

Read more




WIP ALERT THIS IS A WORK IN PROGRESS

TODO INTRO

Wrapping something in a Future

```scala import scala.concurrent._ import scala.concurrent.ExecutionContext.Implicits.global

//note the type declarat

Read more




Sometimes when declaring classes and projections in Slick you get stuck with the following error message:

value tupled is not a member of object

This looks like it's caused by a [known bug](https://issues.scala-la

Read more




WIP ALERT - THIS IS A WORK IN PROGRESS

Some examples on how to use Elastic4s to talk to an elasticsearch server.

Aggregations

Performing an aggregation on a query:

Read more




Some reminders on how to define and use forms on Play Framework 2.x (using Scala).

Standalone form

```scala import play.api.data._ import play.api.data.Forms._

val form = Form( tuple( "firstnam

Read more




WIP ALERT THIS IS A WORK IN PROGRESS

Using Scalacheck standalone

TODO

Using Scalacheck alongside Scalatest and SBT

TODO

Simplest possible example

TODO

Define a custom domain

Read more