Skip to content

Commit

Permalink
Added precision and scale to column metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
janfh authored and ThePrez committed Oct 3, 2024
1 parent d9520ce commit f99f581
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ public static Map<String, Object> getResultMetaDataForResponse(ResultSetMetaData
columnAttrs.put("type", _md.getColumnTypeName(i));
columnAttrs.put("display_size", _md.getColumnDisplaySize(i));
columnAttrs.put("label", _md.getColumnLabel(i));
columnAttrs.put("precision", _md.getPrecision(i));
columnAttrs.put("scale", _md.getScale(i));
columnMetaData.add(columnAttrs);
}
metaData.put("columns", columnMetaData);
Expand Down

0 comments on commit f99f581

Please sign in to comment.