oracle2json
v0.2.0
Published
oracle to streaming json array
Downloads
3
Readme
oracle2json
oracle2json is a wrapper around the strong-oracle library that takes in db credentials and a query and outputs JSON array as a stream. Please review the documentation at the strong-oracle site for more information about the protocols supported.
Please feel free to submit issues and pull requests. If you'd like to contribute and don't know where to start, have a look at the issue list :)
installation
npm install oracle2json
example
var fromOracle = require('oracle2json');
var q = 'select * table';
var db = {
'server': 'test',
'userName': 'test',
'password': 'test',
'options': {
'database': 'test',
}
}
fromOracle(db, q).pipe(process.stdout);
inspired by
This modules is inspired by postgres2geojson.