postgres-bluebird:PostgreSQL 驱动程序,由 Bluebird 承诺

时间:2021-07-07 10:49:15
【文件属性】:
文件名称:postgres-bluebird:PostgreSQL 驱动程序,由 Bluebird 承诺
文件大小:3KB
文件格式:ZIP
更新时间:2021-07-07 10:49:15
JavaScript postgres-bluebird Node.js PostgreSQL 驱动程序,由 Bluebird 承诺 - 并使用 Bluebird 的 *Async 后缀语法 这个包公开了 pg 的 API 的promisified 版本,因此您可以以 BlueBird 的方式使用它: var pg = require ( 'postgres-bluebird' ) ; // pg API with *Async suffix pg . connectAsync ( ... ) . spread ( function ( connection , release ) { return connection . queryAsync ( "..." ) . then ( function ( result ) { console . log
【文件预览】:
postgres-bluebird-master
----lib()
--------index.js(382B)
----LICENSE(1KB)
----README.md(669B)
----.gitignore(535B)
----package.json(675B)

网友评论