NodeJs REPL for interacting with Oracle Database using "oracledb" npm module
- Clone repo -
$git clone git@github.com:hrmeetsingh/node-oracledb-repl.git
$cd node-oracledb-repl
$yarn
- Edit "configurations.json" to add oracledb credentials - Host_ip, Sid, username, password
- Download zip from 'Instant client for Linux' for applicable OS Instant client for Linux
- Unzip the downloaded zip into 'lib' folder and
export LD_LIBRARY_PATH="$(pwd)/lib"
$yarn setup:test
or$yarn setup:dev
node-oracledb-repl> .query select 'Hello from oracle' from dual
(query withouts bounding quotes)- To exit REPL,
node-oracledb-repl>.exit