-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:OS: Linux
node.js / npm versions:
Additional info:
-
1
-
Iteration Neptune
-
Not Needed
-
Developer Tools
Problem Statement/Rationale
The help example for the db.createView method is wrong:
> db.createView.help() db.createCollection('viewName', 'source', []): Create new view For more information on usage: https://docs.mongodb.com/manual/reference/method/db.createView/
On the 1st line we should print createView instead of createCollection.
Steps to Reproduce
db.createView.help()
Expected Results
db.createView('viewName', 'source', []): Create new view For more information on usage: https://docs.mongodb.com/manual/reference/method/db.createView/
Actual Results
What do you observe is happening?
db.createCollection('viewName', 'source', []): Create new view For more information on usage: https://docs.mongodb.com/manual/reference/method/db.createView/