any-db-postgres

The postgres adapter for any-db

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
any-db-postgres
2.3.02 years ago9 years agoMinified + gzip package size for any-db-postgres in KB

Readme

any-db-postgres
Build Status
js-standard-style
This is the postgres adapter for Any-DB. It relies on the pg.js database driver to create Connection and Query objects that conform to the Any-DB API. The API is practically identical to that of require('pg') but allows your app code to be portable between databases.

API extensions

The connections and queries this package creates inherit from pg.Client and QueryStream, so any methods described there are also available to you.
Keep in mind that these methods will not necessarily work with other backends.

Install

npm install any-db-postgres

License

MIT