Skip to content

Commit

Permalink
[#7920] Missing implementation of AbstractRecord.formatCSV()
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaseder committed Oct 9, 2018
1 parent a5ccd30 commit 76fc879
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jOOQ/src/main/java/org/jooq/impl/AbstractRecord.java
Expand Up @@ -926,7 +926,11 @@ public final void format(Writer writer, TXTFormat format) {
}

@Override
public final void formatCSV(Writer writer, CSVFormat format) {}
public final void formatCSV(Writer writer, CSVFormat format) {
Result<AbstractRecord> result = new ResultImpl<AbstractRecord>(configuration(), fields.fields.fields);
result.add(AbstractRecord.this);
result.formatCSV(writer, format);
}

@Override
public final void formatJSON(Writer writer, JSONFormat format) {
Expand Down

0 comments on commit 76fc879

Please sign in to comment.