We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 892f121 commit 02755efCopy full SHA for 02755ef
source/read/distinct.txt
@@ -138,6 +138,10 @@ options you can set to customize the operation:
138
- | The read preference to use for the operation. To learn more, see
139
:manual:`Read Preference </core/read-preference/>` in the Server manual.
140
| **Type**: ``MongoDB\Driver\ReadPreference``
141
+
142
+ * - ``hint``
143
+ - | The index to use for the operation.
144
+ | **Type**: ``string|object``
145
146
The following example retrieves the distinct values of the ``name`` field for
147
all documents that have a ``borough`` field value of ``'Bronx'`` and a
0 commit comments