Environment: Oracle 21c, OracleDB 5.5, NodeJS 18.12.1
We are developing a REST API application. So far the transactions work, however when inserting data the id is not returned on the screen.
oracldb.autoCommit = true;
...
`INSERT INTO table (data) VALUES ('something') RETURN newid INTO :id`,
...
id: { type: oracledb.NUMBER, dir: oracledb.BIND_OUT }
..
console.log(result.outBinds); <-- no output, same with console.log(result.outBinds.id);
console.log("Rows inserted: " + result.rowsAffected); <-- no output
} catch (err) {
...
Any ideas?