mapbox / dbf

dbf writer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Append data to existing file

kalihos opened this issue · comments

Hi.

Is it possible to append data (instead of replacing the old file) to an existing DBF file? I tried to use fs methods such appendFileSync or writeSync instead of writeFileSync; and the file updates its date and size, but I can't see new data... only the first registers I added using writeSync.

Thank you very much.

Hi,

Sorry, this is out of scope for this module. Happy to accept a PR that implements this functionality, but supporting append as well as write-once would make this much more complex to maintain. Since this an old and arcane format, I'm going to keep things (that I implement for it) simple.

  • Tom