node-postgres icon indicating copy to clipboard operation
node-postgres copied to clipboard

Support types/getTypeParser in query method for pg-native

Open benny-medflyt opened this issue 4 years ago • 1 comments

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.

benny-medflyt avatar Jan 13 '22 22:01 benny-medflyt

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!

brianc avatar Jan 26 '22 23:01 brianc