KSLDatabase

constructor(dbName: String, dbDirectory: Path = dbDir, clearDataOption: Boolean = true)

This constructs a SQLite database on disk and configures it to hold KSL simulation data. The database will be empty.

Return

an empty embedded SQLite database configured to hold KSL simulation results

Parameters

dbName

the name of the database

dbDirectory

the directory containing the database. By default, KSL.dbDir.

clearDataOption

indicates if the data should be cleared. The default is true.


constructor(db: Database, clearDataOption: Boolean = false)