-
Type:
New Feature
-
Resolution: Duplicate
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
people often ask how to do it, and they always get slightly wrong answers.
We can add method that just wraps:
db.foo.find( {} ,
).hint( <index keys> ).count()