I am trying to implement Oracle database change notification in NodeJS. Function subscribeTimesheetEvent is subscribing to the notification, and one of the inputs is the callback method. In my case it’s myCallback function. This function gets called and it works fine, except it doesn’t see executeQuery function imported from dbFunctions file. I have used this function at other place by
Tag: node-oracledb
Connection is not defined in oracledb
I am using the oracledb cen node.js module and when making a database connection to make a select, it returns the data but this error also appears: I do the query like this: Answer If you can use await, then you’re in an async function. If you’re in an async function, why are you using promise chains? Here’s what this