Packages

t

slick.basic.BasicBackend

BasicSessionDef

trait BasicSessionDef extends Closeable

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

Source
BasicBackend.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BasicSessionDef
  2. Closeable
  3. AutoCloseable
  4. AnyRef
  5. Any
Implicitly
  1. by StringFormat
  2. by Ensuring
  3. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def close(): Unit

    Close this Session.

    Close this Session.

    Definition Classes
    BasicSessionDef → Closeable → AutoCloseable
  2. abstract def force(): Unit

    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.