Closed mxyue closed 6 years ago
mongoose(4.9.5) lean method is this ` Query.prototype.lean = function(v) {
this._mongooseOptions.lean = arguments.length ? !!v : true;
return this;
}; ` lean function just get true or false, can't pass other params. It's not work for me
Upgrade to mongoose >= 4.11.0
@mxyue can you provide a repro script?
mongoose(4.9.5) lean method is this ` Query.prototype.lean = function(v) {
this._mongooseOptions.lean = arguments.length ? !!v : true;
return this;
}; ` lean function just get true or false, can't pass other params. It's not work for me