louischatriot / nedb

The JavaScript Database, for Node.js, nw.js, electron and the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When a file-based datastore is reinitialized, Nedb re-orders the existing data by the Nedb ID

draeder opened this issue · comments

How can I prevent this from happening? I need the data to persist in the exact order it was inserted, not be re-ordered by ID.

Thanks for any insight!