[DOCS-1436] sh.addTagRange() documentation is incorrect for using $minKey and $maxKey in range Created: 24/Apr/13  Updated: 24/Apr/13  Resolved: 24/Apr/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Critical - P2
Reporter: Daniel Pasette (Inactive) Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 43 weeks ago

 Description   

http://docs.mongodb.org/manual/reference/method/sh.addTagRange/#sh.addTagRange

The example needs to be:

sh.addTagRange( "exampledb.collection",
        {STATE: "NY", ZIP: MinKey},
        {STATE:"NY", ZIP: MaxKey},
        "NY"
        )

We should audit for any other places where we specify how to use $minKey/$maxKey.



 Comments   
Comment by Sam Kleinman (Inactive) [ 24/Apr/13 ]

audit didn't turn up any errors of this type.

Comment by auto [ 24/Apr/13 ]

Author:

{u'date': u'2013-04-24T13:35:12Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1436: correcting minKey/maxKey example
Branch: v2.2
https://github.com/mongodb/docs/commit/76585ca02312b6295ab3e46994f92dbb7fc25306

Comment by auto [ 24/Apr/13 ]

Author:

{u'date': u'2013-04-24T13:35:12Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1436: correcting minKey/maxKey example
Branch: master
https://github.com/mongodb/docs/commit/b48b86327d599855375a85fcecae55c1aa19e123

Generated at Thu Feb 08 07:41:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.