Version 7.0.2
This patch fixes the return value of the Model.update()
function when { multi: false }
is provided, specifically that non-error operations which didn't update any documents would previously return a 1
. This has been addressed such that it will return 1
when the document is updated and 0
when it is not (no properties changed or no documents were matched).