exportAllViewsAsCSV

open override fun exportAllViewsAsCSV(schemaName: String?, pathToOutPutDirectory: Path, header: Boolean)

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.

Uses the longLastingConnection property for the connection.

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