node-pg-db icon indicating copy to clipboard operation
node-pg-db copied to clipboard

Transactions are broken in Node 14

Open pdcarroll opened this issue 3 years ago • 1 comments

Reproduction

In Node.js v14:

Run make Run make test

There are a number of test failures, which are likely caused by the removal of support for the deprecated Node.js domain api.

pdcarroll avatar Feb 11 '22 17:02 pdcarroll

This package has not been updated in a considerable amount of time and has not been tested on recent node versions. I should update the README accordingly.

If you're looking for something similar to this with (magical) domain based transaction management, check out pg-query-exec: https://www.npmjs.com/package/pg-query-exec. It also has better configurability and a TypeScript typings for improved usability.

Slonik is another great pg wrapper: https://github.com/gajus/slonik

sehrope avatar Feb 11 '22 17:02 sehrope