mongodb

A 1-post collection

3 years ago

MongoDB bulk update and insert

mongodb   update   bulk   set  

Just a note to myself (kinda) how to perform bulk update in MongoDB. (it took me some time to figure it out) // OrderId = [1,2,3,4,5,6] BulkUpdate(OrderId, function() { console.log('done'); }…