Close this Session.
Close this Session.
Force an actual database session to be opened.
Force an actual database session to be opened. Slick sessions are lazy, so you do not get a real database connection until you need it or you call force() on the session.
Call this method within a withTransaction call to roll back the current
transaction after withTransaction returns.
Call this method within a withTransaction call to roll back the current
transaction after withTransaction returns.
(Since version 3.0) Use the new Action-based API instead
Run the supplied function within a transaction.
Run the supplied function within a transaction. If the function throws an Exception
or the session's rollback() method is called, the transaction is rolled back,
otherwise it is committed when the function returns.
(Since version 3.0) Use the new Action-based API instead
(sessionDef: StringAdd).self
(sessionDef: StringFormat).self
Use this Session as the dynamicSession for running the supplied thunk.
Use this Session as the dynamicSession for running the supplied thunk.
(Since version 3.0) Use the new Action-based API instead
(sessionDef: ArrowAssoc[SessionDef]).x
(Since version 2.10.0) Use leftOfArrow instead
(sessionDef: Ensuring[SessionDef]).x
(Since version 2.10.0) Use resultOfEnsuring instead
A logical session of a
Database. The underlying database connection is created lazily on demand.