Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
val db = Database.forConfig("h2mem1")
val queryAction: DBIO[Option[Int]] = ...
val result: Future[Option[Int]] = db.run(queryAction)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.