The type of database objects used by this backend.
A database instance to which connections can be created.
The type of the database factory used by this backend.
Factory methods for creating Database
instances.
The type of session objects used by this backend.
A logical session of a Database
.
The database factory
Run a block of code with the specified Session
bound to the thread-local dynamicSession
.
Run a block of code with the specified Session
bound to the thread-local dynamicSession
.
(databaseComponent: StringAdd).self
(databaseComponent: StringFormat).self
(databaseComponent: ArrowAssoc[DatabaseComponent]).x
(Since version 2.10.0) Use leftOfArrow
instead
(databaseComponent: Ensuring[DatabaseComponent]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Backend cake slice for the basic database and session handling features. Concrete backends like
JdbcBackend
extend this type and provide concrete types forDatabase
,DatabaseFactory
andSession
.