Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions source/reference/command/shardCollection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ shardCollection
use the specified field as a :ref:`hashed shard key
<sharding-hashed-shard-key-internals>` .

:param boolean unique:

When true, the ``unique`` option ensures that the underlying
index enforces a unique constraint. :term:`Hashed shard keys
<hashed shard key>` do not support unique constraints.

:param integer numInitialChunks:

.. versionadded:: 2.4
Expand Down