Skip to content

Commit

Permalink
feat: add types support
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Aug 2, 2022
1 parent ee7d485 commit cb1e720
Show file tree
Hide file tree
Showing 5 changed files with 373 additions and 40 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ This package allows to adopt `postgres` without going through a painful migratio

## Compatibility

`postgres-bridge` is limited to the API that is consumed by [Slonik PostgreSQL client](https://www.npmjs.com/package/slonik), i.e. Using `postgres-bridge` you are able to use [`postgres`](https://www.npmjs.com/package/postgres) with Slonik.
`postgres-bridge` was primarily developed to enable `postgres` use with [Slonik PostgreSQL client](https://www.npmjs.com/package/slonik). However, the scope has since been expanded to support several projects. It is now used in production by a handful real-world applications.

Known incompatibilities:

* Implicit query pooling is not implemented, i.e. You must use `pool.connect()`
* `connection.processID` not implemented
* `pool._pulseQueue` not implemented
* [callback (CPS) interface](https://github.com/brianc/node-postgres/tree/master/packages/pg-pool#drop-in-backwards-compatible) is not implemented (use promises instead)
Expand Down
Loading

0 comments on commit cb1e720

Please sign in to comment.