Go to file
Christopher Jones cf76a9f878 Improve binary loading failure messages to help triage issues that ODPI-C cannot catch 2017-08-01 14:09:19 +10:00
.github Add SUPPORT file for new GitHub issue logging feature 2017-08-01 14:02:25 +10:00
doc Explicitly mention async/await support 2017-08-01 14:04:55 +10:00
examples Do a pass on ResultSet discussion in doc and examples 2017-07-08 12:46:58 +10:00
lib Improve binary loading failure messages to help triage issues that ODPI-C cannot catch 2017-08-01 14:09:19 +10:00
odpi@1ab7569d8e Update ODPI-C submodule 2017-08-01 13:54:55 +10:00
src/njs/src Re-enable plumbing for setting connectionClass 2017-06-29 16:25:59 +10:00
test Update testsuite 2017-07-08 12:43:45 +10:00
.editorconfig Add editorconfig 2016-03-24 21:47:37 +11:00
.gitignore Add instantclient_12_2 to .gitignore 2017-06-14 21:13:10 +10:00
.gitmodules Added submodule for the ODPI-C repository code and adjusted binding.gyp to make use of it 2017-06-14 08:49:32 +10:00
.npmignore No need to package ODPI-C files for npmjs.com 2017-08-01 14:03:25 +10:00
CHANGELOG.md Update CHANGELOG 2017-06-29 16:31:18 +10:00
CONTRIBUTING.md Add new OTN forum links for submitting feedback and discussing node-oracledb 2015-01-20 17:17:09 -08:00
INSTALL.md Make Full client more obvious. Update Solaris steps 2017-08-01 14:01:01 +10:00
LICENSE.md Whitespace cleanup 2016-03-24 17:09:53 +11:00
README.md Explicitly mention async/await support 2017-08-01 14:04:55 +10:00
binding.gyp Remove passthrough of DPI_DEBUG_LEVEL env var now that ODPI-C does a runtime check 2017-08-01 14:05:55 +10:00
index.js Added JavaScript wrapper around C++ classes. Added connection pool queue 2016-02-29 13:48:48 +11:00
package.json Whitespace for npm 5 2017-06-29 16:14:05 +10:00

README.md

node-oracledb version 2.0

About node-oracledb

The node-oracledb add-on for Node.js powers high performance Oracle Database applications.

Use node-oracledb to connect Node.js 4, 6, and 8 to Oracle Database.

The add-on is stable, well documented, and has a comprehensive test suite.

The node-oracledb project is open source and maintained by Oracle Corp. The home page is on the Oracle Technology Network.

Node-oracledb supports:

We are actively working on supporting the best Oracle Database features, and on functionality requests from users involved in the project.

Installation

Prerequisites:

  • Python 2.7
  • C Compiler with support for C++ 11 (Xcode, gcc, Visual Studio or similar)
  • The client libraries for Oracle Database 12.2, 12.1 or 11.2 in your OS library search path, such as PATH on Windows, or LD_LIBRARY_PATH on Linux, or in ~/lib on macOS. On Windows, Visual Studio redistributables are required. If your database is remote, use the client libraries from the free Oracle Instant Client "Basic" package. Or use the client libraries from a locally installed database such as the free Oracle XE release. Version 12.2 client libraries can connect to Oracle Database 11.2 or greater. Version 12.1 client libraries can connect to Oracle Database 10.2 or greater. Version 11.2 client libraries can connect to Oracle Database 9.2 or greater.

Run npm install oracledb to install from the npm registry.

See INSTALL for details.

Examples

See the examples directory. Start with examples/select1.js.

Documentation

See Documentation for the Oracle Database Node.js Add-on.

Help

Issues and questions can be raised with the node-oracledb community on GitHub.

Changes

See CHANGELOG.

Tests

To run the test suite see test/README.

Contributing

Node-oracledb is an open source project. See CONTRIBUTING for details.

Oracle gratefully acknowledges the contributions to node-oracledb that have been made by the community.

License

Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.

You may not use the identified files except in compliance with the Apache License, Version 2.0 (the "License.")

You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.