Skip to content

NULL for numeric fields -> NaN #26

Closed
@dvv

Description

@dvv

Hi!

On the same setup as in https://gist.github.com/929626 :

create table foo(id bigint, num bigint);
insert into foo(id) values(1);

...
db.query('select * from foo').on('row', function(row){
console.log(row); // ---> {id: 1, num: NaN}
});

Can you confirm the issue?

TIA,
--Vladimir

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