createDatabase

abstract fun createDatabase(dbName: String, dbDir: Path = KSL.dbDir): Database

If the database already exists it is deleted and recreated

Return

the created database

Parameters

dbName

the name of the embedded database. Must not be null

dbDir

a path to the directory to hold the database. Must not be null