oracle2json

0.2.0 • Public • Published

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

Install Oracle Instant Client

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.

Readme

Keywords

none

Package Sidebar

Install

npm i oracle2json

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • guidos