Closed
Description
It appears that the only way to configure type parser is by doing so globally, i.e.
var types = require('pg').types
types.setTypeParser(20, function(val) {
return parseInt(val)
});
– https://github.com/brianc/node-pg-types
I would like to restrict type parsing to a particular connection.
Is there an API at the moment to do so?
Metadata
Metadata
Assignees
Labels
No labels