Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
val dbConfig = DatabaseConfig.forConfig[JdbcProfile]("postgres")
val db = dbConfig.db // all database interactions are realised through this object
import dbConfig.driver.api._ // imports all the DSL goodies for the configured database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment