From caa03079dccf9dbd752c926998f2378bc099b9fb Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Fri, 12 Apr 2013 12:32:51 -0400 Subject: [PATCH] DOCS-1387 add unique option to shardCollection command --- source/reference/command/shardCollection.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/reference/command/shardCollection.txt b/source/reference/command/shardCollection.txt index a55a0fee8c7..121388bd9d3 100644 --- a/source/reference/command/shardCollection.txt +++ b/source/reference/command/shardCollection.txt @@ -38,6 +38,12 @@ shardCollection use the specified field as a :ref:`hashed shard key ` . + :param boolean unique: + + When true, the ``unique`` option ensures that the underlying + index enforces a unique constraint. :term:`Hashed shard keys + ` do not support unique constraints. + :param integer numInitialChunks: .. versionadded:: 2.4