-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
None
-
Environment:OS X 10.5
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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