We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 736d3bb commit daa0a9aCopy full SHA for daa0a9a
1 file changed
src/main/java/org/apache/commons/csv/CSVPrinter.java
@@ -503,6 +503,8 @@ public void printRecords(final Object... values) throws IOException {
503
public void printRecords(final ResultSet resultSet) throws SQLException, IOException {
504
ResultSetMetaData metaData = resultSet.getMetaData();
505
final int columnCount = metaData.getColumnCount();
506
+ // TODO should printing the header be a parameter to this function or an existing CSVFormat option or a new
507
+ // CSVFormat option.
508
boolean printHeader = false;
509
if (printHeader) {
510
for (int i = 1; i <= columnCount; i++) {
0 commit comments