convertFromSQLiteToDuckDb

fun convertFromSQLiteToDuckDb(pathToSQLiteFile: Path, dbName: String, dbDirectory: Path = KSL.dbDir, deleteIfExists: Boolean = true): DuckDb

Facilitates the creation of a database backed by DuckDb. The database will be loaded based on the SQLite database specified via the path.

Return

a DuckDb configured database

Parameters

pathToSQLiteFile

the path to the file holding the SQLite database

dbName

the name of the DuckDb database

dbDirectory

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

deleteIfExists

If true, an existing database in the supplied directory with the same name will be deleted and an empty database will be constructed. The default is true.