Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support types/getTypeParser in query method for pg-native #2687

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

benny-medflyt
Copy link
Contributor

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.

@brianc
Copy link
Owner

brianc commented Jan 26, 2022

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

types/getTypeParser in query method doesn't work with pg-native?
2 participants