machinepack-oracle
v0.5.0
Published
Structured Node.js bindings for Oracle.
Downloads
2
Maintainers
Readme
Structured Node.js bindings for Oracle.
See https://github.com/node-machine/driver-interface for more background information about this package.
This package follows the convention used for the machinepack-mysql package. It uses the oracledb
package with Oracle InstantClient to provide a NodeJS interface to Oracle databases. The InstantClient software must be properly installed as a prerequisite for oracledb (see the oracledb instructions for details).
The package was tested using InstantClient 19, and Oracledb version 5.
The focus of development thus far has been use of the package to create a database adapter for the SailsJS framework, primarily for querying an Oracle database (as opposed to creating, updating, or deleting data). For this reason, the transaction interface has not been implemented (all operations are immediately committed).
Installation
$ npm install machinepack-oracle
Usage
For the latest usage documentation, version information, and test status of this module, see http://node-machine.org/machinepack-mysql. The generated manpages for each machine contain a complete reference of all expected inputs, possible exit states, and example return values.
Testing
Unit tests are initiated with the npm test
command. They can be run against a development database image (see https://www.oracle.com/database/technologies/databaseappdev-vm.html)