pg-db
JSON →pg-db v2.0.0 is a helper module for node-postgres that adds transaction management, named parameter support, a simplified query API, and event hooks. It automatically returns connections to the pool and destroys connections on SQL errors. Transactions are implemented using Node.js domains, allowing different parts of an application to participate without manual context passing. Named parameters use :param syntax instead of $N. The package requires pg >= 7 as a peer dependency. No frequent releases; last update was years ago.
Traffic · last 30 days stale · no recent hits
total hits 7
actors 2 distinct systems
last hit 17d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada
Resources
packagepg-db ↗