The provider of a Slick DatabaseConfig instance.
The provider of a Slick DatabaseConfig instance.
The Slick database extracted from dbConfig.
The Slick database extracted from dbConfig.
The Slick database configuration.
The Slick database configuration.
The Slick driver extracted from dbConfig.
The Slick driver extracted from dbConfig.
Mix-in this trait if you need a Slick database and driver, and you are using dependency injection for obtaining an instance of
DatabaseConfigProvider. If you are not using dependency injection, then prefer mixingHasDatabaseConfiginstead.This trait is useful if you need to define a Slick table or need to execute some operation in the database.
Example
Of course, you do not need to define a DAO to use this trait (the above it is really just an example of usage).