crudely-typed icon indicating copy to clipboard operation
crudely-typed copied to clipboard

Support pg-promise

Open danvk opened this issue 2 years ago • 0 comments

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

danvk avatar Apr 05 '22 17:04 danvk