mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Find count() no longers accept applySkipLimit, instead it accepts an option object
This commit is contained in:
committed by
Filipe Névola
parent
f41f99b9d9
commit
c62ca287ea
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user