Batch insert in MongoDB using node.js and Monk

As a test, I have decided to use node.js and Monk to mimic a bulk import in MongoDB, from a source file containing a json array. I say « mimic », as Monk does not implement MongoDB bulk insert per se. My first try was to insert the whole ‘data’ array in a ‘film’ collection, parsed from the…

Close