1.0.2 • Published 8 years ago

trailpack-plv8 v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

trailpack-plv8

NPM version Build status Dependency Status Code Climate

require() and execute nodejs code in Postgres with PLV8 and Trails. Depends on trailpack-knex.

Install

$ npm install --save trailpack-plv8

Configure

// config/main.js
module.exports = {
  packs: [
    // ... other trailpacks
    require('trailpack-plv8')
  ]
}
// config/plv8.js
module.exports = {
  /**
   * The name of the database store to use; must be defined in config.database.stores
   */
  store: 'some-plv8-store'
}

License

MIT

Maintained By