Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

Only getting single value #2

@robbannn

Description

@robbannn

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions