trait SlickApi extends AnyRef
- Source
- SlickApi.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- SlickApi
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def dbConfig[P <: BasicProfile](name: DbName): slick.basic.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.- Annotations
- @throws(classOf[PlayException])
- Exceptions thrown
PlayException
if a database config for the passedname
cannot be created.
- abstract def dbConfigs[P <: BasicProfile](): Seq[(DbName, slick.basic.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.
- Annotations
- @throws(classOf[PlayException])
- Exceptions thrown
PlayException
if a database config cannot be created.