ThreadLocalDB

scalikejdbc.ThreadLocalDB
object ThreadLocalDB

Thread-local DB.

Attributes

Source
ThreadLocalDB.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def create(conn: Connection): DB

Creates a new DB instance for the current thread.

Creates a new DB instance for the current thread.

Attributes

Source
ThreadLocalDB.scala
def load(): DB

Returns the DB instance for this thread. It's nullable.

Returns the DB instance for this thread. It's nullable.

Attributes

Returns

DB instance

Source
ThreadLocalDB.scala