Open jitchavan opened 8 years ago
Is there any way to update multiple documents from senecajs mongodb module.
entity.save$(function (err, entity) { ... }) entity.load$({id: ...}, function (err, entity) { ... }) entity.list$({property: ...}, function (err, entity) { ... }) entity.remove$({id: ...}, function (err, entity) { ... })
Yep, you can use the native$ method which one allow you to use the mongo node driver here and use bulk operations through it
Is there any way to update multiple documents from senecajs mongodb module.