BasicSessionDef

slick.basic.BasicBackend.BasicSessionDef
trait BasicSessionDef extends Closeable

A logical session of a Database. The underlying database connection is created lazily on demand.

Attributes

Source:
BasicBackend.scala
Graph
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def close(): Unit

Close this Session.

Close this Session.

Attributes

Source:
BasicBackend.scala
def force(): Unit

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.

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.

Attributes

Source:
BasicBackend.scala