scala.slick.memory.HeapBackend
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 and automatically close the session at the end. Exceptions thrown while closing the session are propagated, but only if the code block using the session terminated normally. Otherwise the first exception wins.
Run the supplied function with a new session in a transaction 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.