Friday 19 May 2017

NodeJS: I want to insert 1000 objects at a time. How can I achieve this if I want to use Queues?

I have an array of 7000 objects I want to insert them into my database. I want to use queue which holds 1000 objects at a time. Once the queue is empty next 1000 objects are loaded to be inserted into the database. I am using Node.JS Database is MongoDB



via Laksh Goel

No comments:

Post a Comment