-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
A user filed NODE-2015 because running createIndexes resulted in an error that the field is not valid for index specification. This happened because we do not document the usage for createIndexes, which is
coll.createIndexes([{ key: { a_index: 1 } }, { key: { an_index: 2 } }]);
We should improve our documentation around this.