You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off,Thanks @louischatriot for the amazing work on Nedb.I have been using Nedb on a project without any issues till date.I'm close to completing my project and I'm stuck at a following limitation of nedb.I need to export my data(data store) to either of text/csv format as according to my clients requirements.
Unlike nedb,monogodb provides an export method,almost all the major databases do.My question is : Does Nedb has a feature or a trick where I can export the data in the mentioned formats ? The way data is stored is not even complete JSON so using native javascript plugins don't help.Has anybody made it work yet ?
Thanks in Advance !
The text was updated successfully, but these errors were encountered:
By default, a persistent NeDB datafile's format is ndjson (newline-delimited JSON). However, the moment you add a custom afterSerialization and beforeDeserialization hook functions, that default format completely goes out the window at the whim of your hook functions.
But otherwise, @marcusjwhelan said it right: just create your own. It's pretty simple. You can publish them as standalone modules like nedb-export and nedb-import. MongoDB's mongoimport and mongoexport are external tools like that, too.
First off,Thanks @louischatriot for the amazing work on Nedb.I have been using Nedb on a project without any issues till date.I'm close to completing my project and I'm stuck at a following limitation of nedb.I need to export my data(data store) to either of text/csv format as according to my clients requirements.
Unlike nedb,monogodb provides an export method,almost all the major databases do.My question is : Does Nedb has a feature or a trick where I can export the data in the mentioned formats ? The way data is stored is not even complete JSON so using native javascript plugins don't help.Has anybody made it work yet ?
Thanks in Advance !
The text was updated successfully, but these errors were encountered: