🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

any-db-postgres

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

any-db-postgres

The postgres adapter for any-db

latest
Source
npmnpm
Version
2.3.0
Version published
Maintainers
1
Created
Source

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

Keywords

any-db

FAQs

Package last updated on 01 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts