SlickApi

play.api.db.slick.SlickApi
trait SlickApi

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def dbConfig[P <: BasicProfile](name: DbName): DatabaseConfig[P]

Returns a database config instance for the database named name in the loaded application's configuration.

Returns a database config instance for the database named name in the loaded application's configuration.

Attributes

Throws
PlayException

if a database config for the passed name cannot be created.

def dbConfigs[P <: BasicProfile](): Seq[(DbName, DatabaseConfig[P])]

Returns all database configs, for all databases defined in the loaded application's configuration.

Returns all database configs, for all databases defined in the loaded application's configuration.

Attributes

Throws
PlayException

if a database config cannot be created.