update()method's default behavior is to update a single document, so by setting the
multiproperty, you tell the
update()method to update all the documents that comply with the selection criteria.
add multi for multiple updates instead of 1 which is the default
Share this highlighthttp://www.safaribooksonline.com/a/mean-web-development/52022/