Find count() no longers accept applySkipLimit, instead it accepts an option object

This commit is contained in:
Renan Castro
2021-12-08 11:02:29 -03:00
committed by Filipe Névola
parent f41f99b9d9
commit c62ca287ea

View File

@@ -1148,9 +1148,9 @@ _.extend(SynchronousCursor.prototype, {
return self.map(_.identity);
},
count: function (applySkipLimit = false) {
count: function (options = {}) {
var self = this;
return self._synchronousCount(applySkipLimit).wait();
return self._synchronousCount(options).wait();
},
// This method is NOT wrapped in Cursor.