I am successfully connecting to a Pervasive 11 database using node-odbc. My problem is that I only retrieve one table row/query.
con.executeQuery((result, err) => {
if(err != null){
console.log(err);
}
else{
console.log(result);
}
}, `SELECT PUGARAPP.D1605_Artikelkod, PUGARAPP.D1610_Löpnummer, PUGARAPP.D1615_Serienr, PUGARAPP.D1637_Orderdatum, PUGARAPP.D1639_SÀljare
FROM PYAB.PUGARAPP
ORDER BY PUGARAPP.D1615_Serienr`);
Outputs a single object containing the correct data. What am i doing wrong?
I am successfully connecting to a Pervasive 11 database using node-odbc. My problem is that I only retrieve one table row/query.
Outputs a single object containing the correct data. What am i doing wrong?