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 pg-promise #9

Open
danvk opened this issue Apr 5, 2022 · 0 comments
Open

Support pg-promise #9

danvk opened this issue Apr 5, 2022 · 0 comments

Comments

@danvk
Copy link
Owner

danvk commented Apr 5, 2022

The Queryable interface assumes you're using node-postgres, i.e. the pg package. But it shouldn't be too hard to support pg-promise as well, or at least to include an example of a wrapper.

From my testing, there were a few oddities with pg-promise, for example selects with ANY clauses and UUID types didn't work.

For reference:

  • pg has ~3M downloads/week
  • pg-promise has ~300k downloads/week
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

No branches or pull requests

1 participant