Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1436

sh.addTagRange() documentation is incorrect for using $minKey and $maxKey in range

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • None
    • None
    • None
    • None

    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.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 43 weeks ago