Go to file
Sharad Chandran R 5cade4b81c Minor test updates 2025-07-30 11:01:49 +05:30
.github Update bug_report.md 2024-08-16 10:57:06 +05:30
doc Doc updates for node-oracledb containers 2025-07-25 16:20:42 +05:30
examples Moved config providers to the plugins extension. Permanent Fix for Issues #1688 and #1691 2025-07-04 09:01:27 +05:30
lib Support edge cases for sessionless transactions 2025-07-04 18:11:52 +05:30
odpi@3755d68537 Update ODPI-C to the required commit SHA 2025-07-17 17:10:38 +05:30
package Bump min supported Node.js version to 14.17 2025-07-04 18:10:13 +05:30
plugins Sanitize code, add documentation and tests for 6.9 features 2025-07-04 13:49:28 +05:30
src Minor document, release note and code formatting changes 2025-07-20 01:36:28 +05:30
test Minor test updates 2025-07-30 11:01:49 +05:30
.eslintrc Add support for vector datatype with test case and formatting updates 2024-03-11 12:22:40 +05:30
.gitattributes Push .gitattributes file for doc merges 2023-05-24 11:18:43 +05:30
.gitignore Add new git ignores 2023-02-21 17:53:18 +11:00
.gitmodules Correct support for PLS_INTEGER and BINARY_INTEGER types when used in PL/SQL records 2019-11-22 10:54:21 +11:00
.npmignore Update version to 6.7 and formatting changes 2024-11-04 20:32:52 +05:30
.readthedocs.yaml Update documentation and readthedocs config file to build successfully due to a change in readthedoc specs 2023-10-06 22:17:54 +05:30
CHANGELOG.md Simplify CHANGELOG 2023-05-23 23:39:28 +05:30
CONTRIBUTING.md PR#1543 with some fixes and node-oracledb specific 2023-02-21 17:53:18 +11:00
INSTALL.md Documentation update for 6.0 2023-05-24 10:24:08 +05:30
LICENSE.txt Fix error message for append function, usage of deleteElement function with Associative Array collection types and update copyright year to 2025 2025-01-09 15:39:13 +05:30
NOTICE.txt Fix error message for append function, usage of deleteElement function with Associative Array collection types and update copyright year to 2025 2025-01-09 15:39:13 +05:30
README.md Bump min supported Node.js version to 14.17 2025-07-04 18:10:13 +05:30
SECURITY.md Update the README and SECURITY files as per GitHub PR #1575 2023-06-27 18:51:33 +05:30
THIRD_PARTY_LICENSES.txt Pesky whitespace 2022-06-08 20:02:39 +10:00
binding.gyp Fix segfault with AQ JSON payload with date and interval fields and code refactoring and formatting 2025-05-29 22:20:53 +05:30
index.js Add copyright header to index.js 2023-05-03 16:39:40 +05:30
package.json Bump min supported Node.js version to 14.17 2025-07-04 18:10:13 +05:30

README.md

node-oracledb version 6.9.0 oracledb oracledb

The node-oracledb add-on for Node.js powers high performance Oracle Database applications. Applications can be written in TypeScript, or directly in JavaScript.

Use node-oracledb 6.9.0 to connect Node.js 14.17, or later, to Oracle Database. Older versions of node-oracledb may work with older versions of Node.js.

Node-oracledb supports basic and advanced features of Oracle Database and Oracle Client. See the homepage for a list.

The node-oracledb module is open source and maintained by Oracle Corp. It is stable, well documented, and has a comprehensive test suite.

Installation

Run npm install oracledb

See Getting Started with Node-oracledb and Quick Start Node-oracledb Installation.

Dependencies and Interoperability

  • Node.js versions 14.17 and later.

    Pre-built packages are available on npm and other mirror repositories.

    Source code is also available.

    Previous versions of node-oracledb supported older Node.js versions.

  • Oracle Client libraries are optional starting from node-oracledb 6.0. Older versions of node-oracledb require Oracle Client libraries.

    Thin mode: By default node-oracledb (from version 6.0 onwards) runs in a 'Thin' mode which connects directly to Oracle Database.

    Thick mode: Some advanced Oracle Database functionality is currently only available when optional Oracle Client libraries are loaded by node-oracledb. Libraries are available in the free Oracle Instant Client packages. Node-oracledb can use Oracle Client libraries 11.2 through 23ai.

  • Oracle Database

    Thin mode: Oracle Database 12.1 (or later) is required.

    Thick mode: Oracle Database 9.2 (or later) is required, depending on the Oracle Client library version. Oracle Database's standard client-server version interoperability allows connection to both older and newer databases. For example when node-oracledb uses Oracle Client 19c libraries, then it can connect to Oracle Database 11.2 or later.

Documentation

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

Examples

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

Help

Questions about node-oracledb can be posted on GitHub or Slack (link to join Slack).

Tests

To run the test suite, see test/README.

Contributing

This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide.

Security

Please consult the security guide for our responsible security vulnerability disclosure process.

License

Copyright (c) 2015, 2025, Oracle and/or its affiliates.

This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl and Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

If you elect to accept the software under the Apache License, Version 2.0, the following applies:

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://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.