Merge pull request #3066 from lschricke/patch-1

Fix annotation for persistedModel.count
This commit is contained in:
David Cheung 2017-01-04 10:06:06 -05:00 committed by GitHub
commit 355e40d750
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ module.exports = function(registry) {
* [Where filter](http://loopback.io/doc/en/lb2/Where-filter.html#where-clause-for-other-methods).
* @callback {Function} callback Callback function called with `(err, count)` arguments. Required.
* @param {Error} err Error object; see [Error object](http://loopback.io/doc/en/lb2/Error-object.html).
* @param {Number} count Number of instances updated.
* @param {Number} count Number of instances.
*/
PersistedModel.count = function(where, cb) {