ThreadLocalDB

Thread-local DB.

class Object
trait Matchable
class Any

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.

def load(): DB

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

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

Returns

DB instance