How to use the postgres.Connection function in postgres

To help you get started, we’ve selected a few postgres examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DracoBlue / spludo / core / PostgresStorage.js View on Github external
this.db_reconnect = function() {
        var Postgres = require("postgres");
        db = new Postgres.Connection(database_name, username, password, port, host);
    };

postgres

Fastest full featured PostgreSQL client for Node.js

Unlicense
Latest version published 11 days ago

Package Health Score

85 / 100
Full package analysis