t

play.api.db.slick

SlickApi

trait SlickApi extends AnyRef

Source
SlickApi.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SlickApi
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. 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 passed name cannot be created.

  2. 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.