scala.slick.backend.DatabaseComponent
Create a new session.
Create a new session. The session needs to be closed explicitly by calling its close() method.
Run the supplied thunk with a new session and automatically close the session at the end.
Run the supplied thunk with a new session and automatically close the session at the end. The session is stored in a dynamic (inheritable thread-local) variable which can be accessed with the implicit function in Database.dynamicSession.
Run the supplied thunk with a new session in a transaction and automatically close the session at the end.
Run the supplied thunk with a new session in a transaction and automatically close the session at the end. The session is stored in a dynamic (inheritable thread-local) variable which can be accessed with the implicit function in Database.dynamicSession.
Run the supplied function with a new session and automatically close the session at the end.
Run the supplied function with a new session in a transaction and automatically close the session at the end.
(databaseDef: StringAdd).self
(databaseDef: StringFormat).self
(databaseDef: ArrowAssoc[DatabaseDef]).x
(Since version 2.10.0) Use leftOfArrow
instead
(databaseDef: Ensuring[DatabaseDef]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
A database instance to which connections can be created.