From 551f676fd9d547538f6e235fd2af007bef46f3b6 Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Tue, 26 Nov 2024 14:45:49 -0500 Subject: [PATCH] DRIVERS-2658-hint --- source/read/distinct.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/read/distinct.txt b/source/read/distinct.txt index 31d88bd5..8a71ca01 100644 --- a/source/read/distinct.txt +++ b/source/read/distinct.txt @@ -138,6 +138,10 @@ options you can set to customize the operation: - | The read preference to use for the operation. To learn more, see :manual:`Read Preference ` in the Server manual. | **Type**: ``MongoDB\Driver\ReadPreference`` + + * - ``hint`` + - | The index to use for the operation. + | **Type**: ``string|object`` The following example retrieves the distinct values of the ``name`` field for all documents that have a ``borough`` field value of ``'Bronx'`` and a