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 81afedc commit 43f9d81Copy full SHA for 43f9d81
source/crud/query/cursors.txt
@@ -53,9 +53,10 @@ Access Cursor Contents Iteratively
53
----------------------------------
54
55
To iterate over the contents of a cursor, use a ``foreach`` loop inside a ``using`` block.
56
-The following example retrieves all documents from the ``restaurants`` collection and
57
-iterates over the results. Select the :guilabel:`Synchronous` or :guilabel:`Asynchronous`
58
-tab to see the corresponding code:
+The following example retrieves documents from the ``restaurants`` collection in which the
+value of the ``name`` field is ``"Starbucks"``, then iterates over the results.
+Select the :guilabel:`Synchronous` or :guilabel:`Asynchronous` tab to see the corresponding
59
+code:
60
61
.. tabs::
62
0 commit comments