Skip to content

Commit cb1e720

Browse files
committed
feat: add types support
1 parent ee7d485 commit cb1e720

File tree

5 files changed

+373
-40
lines changed

5 files changed

+373
-40
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ This package allows to adopt `postgres` without going through a painful migratio
3737

3838
## Compatibility
3939

40-
`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.
40+
`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.
4141

4242
Known incompatibilities:
4343

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

0 commit comments

Comments
 (0)