openDatabase

abstract fun openDatabase(pathToDb: Path): Database

The database file must already exist at the path

Return

the database

Parameters

pathToDb

the path to the database file, must not be null


open fun openDatabase(fileName: String): Database

The database file must already exist within the KSLDatabase.dbDir directory It is opened for reading and writing.

Return

the database

Parameters

fileName

the name of database file, must not be null