Companion
Functions
Link copied to clipboard
Link copied to clipboard
If the database already exists it is deleted
Link copied to clipboard
Link copied to clipboard
Deletes a DuckDb database Strategy:
Link copied to clipboard
Link copied to clipboard
fun importFromLoadableParquetFiles(exportedDbDir: 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 load scripts found in the exported database directory containing the parquet files.
Link copied to clipboard
Checks if a file is a valid DuckDb database Strategy:
Link copied to clipboard
The database file must already exist at the path