https://github.com/hrmeetsingh/node-oracledb-repl
NodeJs REPL for interacting with Oracle Database using "oracledb" npm module
https://github.com/hrmeetsingh/node-oracledb-repl
Last synced: 4 months ago
JSON representation
NodeJs REPL for interacting with Oracle Database using "oracledb" npm module
- Host: GitHub
- URL: https://github.com/hrmeetsingh/node-oracledb-repl
- Owner: hrmeetsingh
- License: mit
- Created: 2019-03-16T18:13:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-14T17:03:01.000Z (over 5 years ago)
- Last Synced: 2025-01-03T08:31:27.080Z (5 months ago)
- Language: JavaScript
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-oracledb-repl
NodeJs REPL for interacting with Oracle Database using "oracledb" npm module
# Setup
1. Clone repo - `$git clone [email protected]:hrmeetsingh/node-oracledb-repl.git`
2. `$cd node-oracledb-repl`
3. `$yarn`
4. Edit "configurations.json" to add oracledb credentials - *Host_ip, Sid, username, password*
5. Download zip from 'Instant client for Linux' for applicable OS [Instant client for Linux](https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html#ic_x64_inst)
6. Unzip the downloaded zip into 'lib' folder and `export LD_LIBRARY_PATH="$(pwd)/lib"`
7. `$yarn setup:test` or `$yarn setup:dev`
8. `node-oracledb-repl> .query select 'Hello from oracle' from dual` (query withouts bounding quotes)
9. To exit REPL, `node-oracledb-repl>.exit`