if you type db.foo.help() within the Mongo shell you get a listing of the various methods available on a collection, but createIndex() is missing. This is odd given that createIndex is implemented in the shell and preferred over ensureIndex() in 3.x. EnsureIndex(), on the other hand, is listed in help.
- is duplicated by
-
SERVER-4622 the createIndex command is not show on collection help
- Closed