node-postgres
node-postgres copied to clipboard
Support types/getTypeParser in query method for pg-native
This fixes #2686
This is a simple fix that gets the job done. I've done the same thing that is done with _arrayMode: update the value on the client.native and then change it back when we are done.
Hey @benny-medflyt - thanks for this! Would it be possible to write a test to cover this? Also, if you rebase on master the existing tests should run on this PR which makes it easier for me to merge!