Skip to content

require() and execute nodejs code in Postgres with PLV8 and Trails

License

Notifications You must be signed in to change notification settings

langateam/trailpack-plv8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

require() and execute nodejs code in Postgres with PLV8 and Trails

Resources

License

Stars

Watchers

Forks

Packages

No packages published