{"library":"pg-connect","type":"library","category":null,"description":"Deprecated wrapper around node-postgres that provides a promise-based API for database connections and transactions, automatically releasing them via Bluebird's disposer pattern. Last version 2.0.2. Since pg@6 (2016), node-postgres natively supports promises, making this package obsolete. No longer maintained. Users should migrate to direct use of pg with async/await.","language":"javascript","status":"deprecated","version":"2.0.2","tags":["javascript","pg","postgres","promise","connection","transaction"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install pg-connect","imports":["const getConnection = require('pg-connect')(connectionString)","getConnection.withTransaction(function(query) { ... })","getConnection.end()"]},{"cmd":"yarn add pg-connect","imports":[]},{"cmd":"pnpm add pg-connect","imports":[]}],"homepage":"https://github.com/lanetix/node-pg-connect","github":"https://github.com/lanetix/node-pg-connect","docs":null,"changelog":null,"pypi":null,"npm":"pg-connect","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}