writeAsCSV

fun writeAsCSV(resultSet: ResultSet, header: Boolean = true, writer: Writer)

The ResultSet is processed through all rows.

Parameters

resultSet

the result set to write out as csv delimited

header

true (default) indicates include the header

writer

the writer to use