seneca-postgresql-store is a PostgreSQL database plugin for the Seneca MVP toolkit. The plugin is using the node-postgres driver.
Usage:
var seneca = require('seneca');
var store = require('seneca-postgresql-store');
var config = {}
var storeopts = {
name:'dbname',
host:'127.0.0.1',
port:5432,
username:'user',
password:'password'
};
...
var si = seneca(config)
si.use(store, storeopts)
si.ready(function() {
var product = si.make('product')
...
})
...