-
Type:
Improvement
-
Resolution: Done
-
Priority:
Trivial - P5
-
Affects Version/s: 2.2.2
-
Component/s: MongoDB 3.2
In the page http://mongodb.github.io/node-mongodb-native/2.2/tutorials/create-indexes/#create-an-ascending-index, the tutorial explains how to add an Ascending Index, for a collection. The explanation text says the index is created on the quantity field, whereas the source code creates it on the dateOfBirth field.