Skip to content

fiacc/seneca-postgresql-store

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seneca-postgresql-store

Build Status

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')
  ...
})
...

About

PostgreSQL plugin for Seneca MVP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%