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

shardCollection command's unique option is not documented

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      Comparing:

      The command documentation does not mention the unique option.

      If you inspect the source of sh.shardCollection in the JS shell, you'll see that it's unique argument simply sets the unique field on the command BSON object to true.

      Attachments

        Activity

          People

            epc Ed Costello
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 44 weeks, 2 days ago