Database

io.eezo.db.engine.Database
See theDatabase companion class
object Database

Attributes

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

Members list

Value members

Concrete methods

def connect(url: String, user: String, password: String, init: Connection => Unit, size: Int, acquireTimeout: Duration): Database

Built at the layer, from parsed config, so that a bad URL fails in main with the config parse in the stack trace rather than at whatever moment something first touches a hidden holder.

Built at the layer, from parsed config, so that a bad URL fails in main with the config parse in the stack trace rather than at whatever moment something first touches a hidden holder.

No parameter has a default so that DbInit is the one place that decides the pool's settings, and a caller that skips it has to say what it wants.

Attributes

Source
Database.scala