New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is that possible to insert a whole json file ? #507
Comments
Hello, If your data inside your JSON is like this (array of items):
then simply do:
|
What if you don't want to hardcode it? What if it's in a huge file? I can't find the answer to this question anywhere... |
That would be because it realistically has nothing to do with NeDB. You just get your data and then insert it. 🤷♂️ If you are using Node.js, for example, you could load the file with If you are operating in the browser, you would probably request the file via |
Hello,
I was wondering if it was possible to insert a whole .json file
Cordially,
The text was updated successfully, but these errors were encountered: