[SERVER-26517] Help text for createView in shell is incorrect Created: 07/Oct/16  Updated: 19/Nov/16  Resolved: 07/Oct/16

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 3.4.0-rc1

Type: Bug Priority: Trivial - P5
Reporter: Daniel Pasette (Inactive) Assignee: Daniel Pasette (Inactive)
Resolution: Done Votes: 0
Labels: read-only-views
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Currently it includes the argument names. These result in an invalid command

db.createView(name, viewOn : ..., pipeline : [ { $operator: {...}}, ... ] )

Changing to:

db.createView(name, viewOn, [ { $operator: {...}}, ... ], { viewOptions } )



 Comments   
Comment by Githook User [ 07/Oct/16 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@mongodb.com'}

Message: SERVER-26517 Add options param to createViews help text
Branch: master
https://github.com/mongodb/mongo/commit/62bff5b2048fa903a5ac7db8af1eaec01e1af788

Comment by Githook User [ 07/Oct/16 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@mongodb.com'}

Message: SERVER-26517 Don't include param names in help text for createView
Branch: master
https://github.com/mongodb/mongo/commit/7ed6d27ab216c0a651b994fec305ea1b1128cc9f

Comment by Kyle Suarez [ 07/Oct/16 ]

Might as well make sure we mention the options document, since that's how you specify a collation.

Generated at Thu Feb 08 04:12:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.