BasicBackend

slick.basic.BasicBackend

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.

Attributes

Source:
BasicBackend.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Members list

Concise view

Type members

Classlikes

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

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

Attributes

Source:
BasicBackend.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait BasicDatabaseDef extends Closeable

A database instance to which connections can be created.

A database instance to which connections can be created.

Attributes

Source:
BasicBackend.scala
Graph
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
Self type
trait BasicSessionDef extends Closeable

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

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

Attributes

Source:
BasicBackend.scala
Graph
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
class BasicStreamingActionContext(subscriber: Subscriber[_], val useSameThread: Boolean, database: Database) extends BasicActionContext with StreamingActionContext with Subscription

A special DatabaseActionContext for streaming execution.

A special DatabaseActionContext for streaming execution.

Attributes

Source:
BasicBackend.scala
Graph
Supertypes
trait Subscription
class Object
trait Matchable
class Any
Known subtypes

Types

type Context >: Null <: BasicActionContext

The type of the context used for running SynchronousDatabaseActions

The type of the context used for running SynchronousDatabaseActions

Attributes

Source:
BasicBackend.scala
type Database >: Null <: BasicDatabaseDef

The type of database objects used by this backend.

The type of database objects used by this backend.

Attributes

Source:
BasicBackend.scala
type DatabaseFactory >: Null

The type of the database factory used by this backend.

The type of the database factory used by this backend.

Attributes

Source:
BasicBackend.scala
type Session >: Null <: BasicSessionDef

The type of session objects used by this backend.

The type of session objects used by this backend.

Attributes

Source:
BasicBackend.scala

The type of the context used for streaming SynchronousDatabaseActions

The type of the context used for streaming SynchronousDatabaseActions

Attributes

Source:
BasicBackend.scala

Value members

Abstract methods

def createDatabase(config: Config, path: String): Database

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

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

Attributes

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.

Source:
BasicBackend.scala

Abstract fields

The database factory

The database factory

Attributes

Source:
BasicBackend.scala

Concrete fields

lazy protected val actionLogger: SlickLogger

Attributes

Source:
BasicBackend.scala
lazy protected val streamLogger: SlickLogger

Attributes

Source:
BasicBackend.scala