Skip to content

Commit ccc2ffd

Browse files
committed
DOCS-11970: pass in just value to convertShardKeyToHashed
1 parent 2667a2d commit ccc2ffd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/reference/method/convertShardKeyToHashed.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ convertShardKeyToHashed
1313
Description
1414
-----------
1515

16-
.. method:: convertShardKeyToHashed(<document>)
16+
.. method:: convertShardKeyToHashed(<Object>)
1717

1818
Returns the hashed value for the input. The
1919
:method:`convertShardKeyToHashed()` method uses the same hashing
@@ -52,7 +52,7 @@ document across the shards, you can use the
5252

5353
.. code-block:: javascript
5454

55-
convertShardKeyToHashed( { _id: ObjectId("5b2be413c06d924ab26ff9ca") } )
55+
convertShardKeyToHashed( ObjectId("5b2be413c06d924ab26ff9ca") )
5656

5757
.. [#populated]
5858

0 commit comments

Comments
 (0)