Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.41 KB

README.md

File metadata and controls

52 lines (41 loc) · 1.41 KB

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