1.0.4 • Published 3 years ago
spiced-pg v1.0.4
Spiced PG
Usage
var spicedPg = require('spiced-pg');
var db = spicedPg('postgres:spicedling:password@localhost:5432/cities');
db.query('SELECT * FROM cities').then(function(results) {
console.log(results.rows);
}).catch(function(err) {
console.log(err);
});