exportAllTablesAsCSV

abstract fun exportAllTablesAsCSV(schemaName: String? = defaultSchemaName, pathToOutPutDirectory: Path = outputDirectory.csvDir, header: Boolean = true)

Writes all tables as separate comma separated value files into the supplied directory. The files are written to text files using the same name as the tables in the database

Parameters

schemaName

the name of the schema that should contain the tables

pathToOutPutDirectory

the path to the output directory to hold the csv files

header

true means all files will have the column headers