node-oracle icon indicating copy to clipboard operation
node-oracle copied to clipboard

not working select with ResultSet

Open nozzy177 opened this issue 10 years ago • 1 comments

Were warnings during installation of oracledb. Now I can connect to Oracle, run select-command but when I want that select-query return data in resultSet - nothing happens, no data and no errors.

connection.execute( 'select * from ausk', {}, { resultSet: true }, function(err, result) { if (err) { console.error(err.message); return;}

      fetchRowsFromRS(connection, result.resultSet, numRows);
    }
);

1

nozzy177 avatar Aug 28 '15 12:08 nozzy177

@nozzy177 please post your question to the correct repo which is 'node-oracledb', not 'node-oracle': https://github.com/oracle/node-oracledb/issues

Post your complete code including your implementation of fetchRowsFromRS().

The warnings were, well warnings, and will be fixed in the next version (they didn't occur with VS2012).

cjbj avatar Aug 28 '15 21:08 cjbj