This is the postgres adapter for Any-DB. It relies on the pg database
driver to create Connection and Query objects that conform to the
Any-DB API. The API is practically identical to that of
allows your app code to be portable between databases.
The connections and queries this package creates here are monkey-patched
versions of the ones created by
require('pg'), so any methods that
supports beyond those specified by Any-DB are also available to you. Keep
in mind that these methods will not necessarily work with other backends.
require('any-db-postgres').forceJS = true
You must do the above before you create any connections or connection pools.
npm install any-db-postgres