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

Boolean fields are reversed

Open palamccc opened this issue 11 years ago • 3 comments

I tried to use latest commit which uses stream parsing ( @sedenardi ) But all of my boolean fields are reversed after this pull.

palamccc avatar Nov 05 '14 19:11 palamccc

Its not boolean field, as i reported earlier, its field "@deleted", it is true for most of records, Looks like calculation for "@deleted" gone wrong somewhere.

palamccc avatar Nov 05 '14 20:11 palamccc

@palamccc can you confirm this issue wasn't happening before the latest commit (before streaming)? I didn't have any DBF files with deleted rows to test it, but I also left the code that calculates that field intact.

sedenardi avatar Nov 05 '14 20:11 sedenardi

@palamccc Apologies. Going forward I will try to return falsey values more often.

deleted avatar Nov 05 '14 22:11 deleted