openDatabase

fun openDatabase(dbName: String, dbDir: Path): Database

The database must already exist. It is not created. An exception is thrown if it does not exist.

Return

the created database

Parameters

dbName

the name of the embedded database, must not be null

dbDir

a path to the directory that holds the database, must not be null


open override fun openDatabase(pathToDb: Path): Database

The database must already exist. It is not created. An exception is thrown if it does not exist.

Return

the database

Parameters

pathToDb

the full path to the directory that is the database, must not be null