Created
August 4, 2019 21:22
-
-
Save jczuchnowski/cd22a0a8810f59e41ccdabd9fa5d367c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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