Open aschwersenz opened 8 years ago
Wow. It seems like that particular driver doesn't support checking if there are more result sets.
You might have to go off the grid and do something like:
odbc.queryResult("select * from testdata", function (err, result) {
//if (err) ... do stuff
result.fetchAll(function (err, rows) {
//if (err) ... do stuff
odbc.close(function () {
console.log('done');
});
});
});
This is unfortunately undocumented territory.
I have set up unixODBC, MDBTools and node-odbc. Now I want to query something from an mdb file doing this:
But all I get is an endless loop with this error: