Details
-
Bug
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
None
-
None
-
OS X 10.5
Description
Both these two should return 0. The first one returns a function atm.
> db.events.find().length;
function () {
return this.toArray().length;
}
> db.events.find().toArray().length;
0