exportTableAsCSV

open override fun exportTableAsCSV(tableName: String, schemaName: String?, out: PrintWriter, header: Boolean)

Writes the table as comma separated values.

Uses the longLastingConnection property for the connection.

Parameters

schemaName

the name of the schema that should contain the tables

tableName

the name of the table to write

header

true means column names as the header included

out

the PrintWriter to write to. The print writer is not closed.