1.0.1 • Published 6 years ago
seneca-seraph v1.0.1
SenecaSeraph
Seneca plugin for Seraph Library to connect a Neo4j Database.
Install
npm install seneca-seraph
Options
See plugin options here
Plugin Interface
seneca.seraph
- Methods and properties list here
Quick Example
const Seneca = require('Seneca')
const SenecaSeraphPlugin = require('seneca-seraph')
const seneca = Seneca()
.use(SenecaSeraphPlugin, {
pass: '1q2w3e4r'
}).ready((err) => {
if (err) throw err
seneca.seraph.query('MATCH (n) RETURN n;', (err, result) => {
if (err) throw err
console.log('Seraph result', result)
})
})