不要怂,就是干,撸起袖子干!

Commit 91b2be7f by Jochem Maas

also strip the "include" option from options given to count()

1 parent 7a7f2d60
Showing with 5 additions and 4 deletions
......@@ -253,10 +253,11 @@ module.exports = (function() {
var self = this
, copts = Utils._.extend({}, options || {})
// no limit or offset for the options given to count()
copts.offset = 0;
copts.limit = 0;
copts.order = null;
// no limit, offset, order or include for the options given to count()
copts.offset = 0;
copts.limit = 0;
copts.order = null;
copts.include = null;
return new Utils.CustomEventEmitter(function (emitter) {
var emit = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!