DatabaseConfig

slick.basic.DatabaseConfig
See theDatabaseConfig companion object

A configuration for a Database plus a matching Profile.

Attributes

Companion
object
Source
DatabaseConfig.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def config: Config

The raw configuration.

The raw configuration.

Attributes

Source
DatabaseConfig.scala
def db: Database

Get the configured Database. It is instantiated lazily when this method is called for the first time, and must be closed after use.

Get the configured Database. It is instantiated lazily when this method is called for the first time, and must be closed after use.

Attributes

Source
DatabaseConfig.scala
def profileIsObject: Boolean

Whether the profileName represents an object instead of a class.

Whether the profileName represents an object instead of a class.

Attributes

Source
DatabaseConfig.scala
def profileName: String

The name of the Profile class or object (without a trailing "$").

The name of the Profile class or object (without a trailing "$").

Attributes

Source
DatabaseConfig.scala

Abstract fields

val profile: P

The configured Profile.

The configured Profile.

Attributes

Source
DatabaseConfig.scala