Skip to content

Commit f71c258

Browse files
authored
Update deploy-sharded-cluster-hashed-sharding.txt
direction is for range-based sharding. for hash-based it should surely be "hashed"
1 parent cfac467 commit f71c258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/tutorial/deploy-sharded-cluster-hashed-sharding.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,4 +179,4 @@ The following operation shards the target collection using the
179179

180180
.. code-block:: javascript
181181

182-
sh.shardCollection("<database>.<collection>", { <key> : <direction> } )
182+
sh.shardCollection("<database>.<collection>", { <key> : "hashed" } )

0 commit comments

Comments
 (0)