K
K
Kamal Khafizov2018-12-12 05:23:32
MongoDB
Kamal Khafizov, 2018-12-12 05:23:32

How to write large layered JS object to MongoDB on Node.js via GridFS?

The object is large and contains a lot of data, so I want the best method for this situation. Then it will be necessary to change and read the properties of a certain nesting. I would be glad if you write an example code, since I do not really understand this topic.
It is normal in this situation to use JSON.stringify or JSONStream.stringifyObject (as here ) at one of the stages, and is it possible to use (Node.js) buffer, and if so, will it be faster with buffer?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question