Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Numeric data type is returned as String

//in app.js
var types = require('pg').types
types.setTypeParser(1700, function(val) {
    return parseFloat(val);
});
Source by github.com #
 
PREVIOUS NEXT
Tagged: #Numeric #data #type #returned #String
ADD COMMENT
Topic
Name
1+7 =