We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0c3c80 commit 9edd73dCopy full SHA for 9edd73d
1 file changed
adminforth/dataConnectors/postgres.ts
@@ -12,6 +12,7 @@ const { Client, types } = pkg;
12
// which treats them as LOCAL server time. Return raw strings so getFieldValue can parse as UTC.
13
types.setTypeParser(1114, (val) => val); // TIMESTAMP WITHOUT TIME ZONE
14
types.setTypeParser(1082, (val) => val); // DATE
15
+types.setTypeParser(1700, (val) => val === null ? null : parseFloat(val).toString()); // NUMERIC/DECIMAL
16
17
18
class PostgresConnector extends AdminForthBaseConnector implements IAdminForthDataSourceConnector {
0 commit comments