Packages

t

slick.basic

BasicBackend

trait BasicBackend extends AnyRef

Backend for the basic database and session handling features. Concrete backends like JdbcBackend extend this type and provide concrete types for Database, DatabaseFactory and Session.

Self Type
BasicBackend
Source
BasicBackend.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BasicBackend
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait BasicActionContext extends ActionContext

    The context object passed to database actions by the execution engine.

  2. trait BasicDatabaseDef extends Closeable

    A database instance to which connections can be created.

  3. trait BasicSessionDef extends Closeable

    A logical session of a Database.

    A logical session of a Database. The underlying database connection is created lazily on demand.

  4. class BasicStreamingActionContext extends BasicActionContext with StreamingActionContext with Subscription

    A special DatabaseActionContext for streaming execution.

  5. abstract type Context >: Null <: BasicActionContext

    The type of the context used for running SynchronousDatabaseActions

  6. abstract type Database >: Null <: BasicDatabaseDef

    The type of database objects used by this backend.

  7. abstract type DatabaseFactory >: Null

    The type of the database factory used by this backend.

  8. abstract type Session >: Null <: BasicSessionDef

    The type of session objects used by this backend.

  9. abstract type StreamingContext >: Null <: Context with BasicStreamingActionContext

    The type of the context used for streaming SynchronousDatabaseActions

Abstract Value Members

  1. abstract val Database: DatabaseFactory

    The database factory

  2. abstract def createDatabase(config: Config, path: String): Database

    Create a Database instance through Typesafe Config.

    Create a Database instance through Typesafe Config. The supported config keys are backend-specific. This method is used by DatabaseConfig.

    config

    The Config object to read from.

    path

    The path in the configuration file for the database configuration, or an empty string for the top level of the Config object.