From 6f1b5f61ed7b32d1b80d02ce390ec8039d4d3764 Mon Sep 17 00:00:00 2001 From: Alex Voitau Date: Fri, 14 Nov 2014 20:06:08 -0800 Subject: [PATCH] Minor: update jsdoc for PersistedModel.updateAll --- lib/persisted-model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/persisted-model.js b/lib/persisted-model.js index 95ba8606..9bba528d 100644 --- a/lib/persisted-model.js +++ b/lib/persisted-model.js @@ -226,7 +226,7 @@ PersistedModel.deleteAll = PersistedModel.destroyAll; * Example: * *```js - * Employee.update({managerId: 'x001'}, {managerId: 'x002'}, function(err) { + * Employee.updateAll({managerId: 'x001'}, {managerId: 'x002'}, function(err, count) { * ... * }); * ```