O'Reilly logo
  • Aem A thinks this is interesting:

update() method's default behavior is to update a single document, so by setting the multi property, you tell the update() method to update all the documents that comply with the selection criteria.


Cover of MEAN Web Development


add multi for multiple updates instead of 1 which is the default