Package Exports
- autonomous-db
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (autonomous-db) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Autonomous Data Base (experimental) (unoficcial)
This repository contains the npm package's to work with Oracle Autonomous Data Base for NodeJs developers (unoficcial) name autonomous-db.
Setup
First you need install Node and the autonomous-db package:
npm install autonomous-dbThe config's values come from your Autonomous Data Warehouse (ADW) / Autonomous Transaction Procesing (ATP), look for Oracle Rest Data Services (ORDS) URL, finally, this user must to have ORDS permissions too.
Example
const adb = require('autonomous-db');
const config = {
ordsUrl : "https://<host>.adb.<region>.oraclecloudapps.com/ords/",
user : "user",
password : "password",
};
const db = new adb.AutonomousDataBase(config);
db.query("SELECT sysdate FROM dual")
.then(data => console.log(data))
.catch(err => console.log(err));