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

shardCollection command's unique option is not documented

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              11 years, 3 weeks, 2 days ago