| Start |
|---|
| Connect to Oracle DB A very easy way to connect to an ORACLE database is by using Now you have to create an ORACLE connection, which you can later query. The connectString "ORACLE_DEV_DB_TNA_NAME" may live in a tnsnames.org file in the same directory or where your oracle instant client is installed. If you don't have any oracle instant client installed on you development machine you may follow the |
| Using a local module for easier querying To simplify your querying from ORACLE-DB, you may want to call your query like this: Building up the connection and executing is included in this oracle.js file with content as follows: Note that you have both methods queryArray and queryObject to call on your oracle object. |
| Query a connection object without parameters Use may now use the connExecute-Function for executing a query. You have the option to get the query result as an object or array. The result ist printed to console.log. Since we used a non-pooling connection, we have to release our connection again. The output for an object will be and the output for an array will be |
Read Article
https://develop.horje.com/learn/1434/reference