[SERVER-17708] Help missing in mongo shell for createIndex() call Created: 23/Mar/15  Updated: 19/Sep/15  Resolved: 24/Mar/15

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 3.0.1
Fix Version/s: 3.1.1

Type: Bug Priority: Minor - P4
Reporter: Andrew Erlichson Assignee: J Rassi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-4622 the createIndex command is not show o... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

mongo
db.foo.help()

Sprint: Quint Iteration 3.1.1
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 24/Mar/15 ]

Author:

{u'username': u'jrassi', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}

Message: SERVER-17708 Include createIndex method in DBCollection help() output
Branch: master
https://github.com/mongodb/mongo/commit/574810647c6bd93415ecfdcf21b45d1c3588288c

Generated at Thu Feb 08 03:45:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.