File tree Expand file tree Collapse file tree 10 files changed +10
-10
lines changed
content/manual/upcoming/source Expand file tree Collapse file tree 10 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -2849,7 +2849,7 @@ metrics
2849
2849
2850
2850
:serverstatus:`metrics.repl.network.getmores` reports on the
2851
2851
``getmore`` operations, which are requests for additional results
2852
- from the oplog :term :`cursor` as part of the oplog replication
2852
+ from the oplog :ref :`cursor <cursors> ` as part of the oplog replication
2853
2853
process.
2854
2854
2855
2855
.. TODO move the documentation of getmore into some central place
Original file line number Diff line number Diff line change @@ -508,7 +508,7 @@ Glossary
508
508
not opened within a session automatically timeout after 10
509
509
minutes of inactivity. Cursors opened in a session close with
510
510
the end or timeout of the session.
511
- See :ref:`read-operations- cursors`.
511
+ See :ref:`cursors`.
512
512
513
513
Customer Master Key
514
514
A key that encrypts your :term:`Data Encryption Key`.
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ Definition
162
162
163
163
164
164
:returns:
165
- A :term :`cursor` over the change event documents.
165
+ A :ref :`cursor <cursors> ` over the change event documents.
166
166
See :doc:`/reference/change-events` for examples of change
167
167
event documents.
168
168
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Definition
16
16
.. include:: /includes/fact-mongosh-shell-method.rst
17
17
18
18
19
- Instructs the server to close a :ref:`cursor <read-operations- cursors>`
19
+ Instructs the server to close a :ref:`cursor <cursors>`
20
20
and free associated server resources. The server will automatically close
21
21
cursors that have no remaining results, as well as cursors that have been
22
22
idle for a period of time and lack the :method:`cursor.noCursorTimeout()`
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Definition
38
38
39
39
:returns:
40
40
41
- The :term :`cursor` that :method:`~cursor.returnKey()` is attached to
41
+ The :ref :`cursor <cursors> ` that :method:`~cursor.returnKey()` is attached to
42
42
with a modified result set. This allows for additional cursor modifiers
43
43
to be chained.
44
44
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ Definition
66
66
Defaults to ``false``.
67
67
68
68
:returns:
69
- The :term :`cursor` that ``~cursor.tailable()`` is attached to.
69
+ The :ref :`cursor <cursors> ` that ``~cursor.tailable()`` is attached to.
70
70
71
71
Compatibility
72
72
-------------
Original file line number Diff line number Diff line change @@ -744,7 +744,7 @@ Iterate the Returned Cursor
744
744
~~~~~~~~~~~~~~~~~~~~~~~~~~~
745
745
746
746
The :method:`~db.collection.find()` method returns a
747
- :ref:`cursor <read-operations- cursors>` to the results.
747
+ :ref:`cursor <cursors>` to the results.
748
748
749
749
In :binary:`~bin.mongosh`, if the returned cursor is not assigned to a
750
750
variable using the ``var`` keyword, the cursor is automatically iterated to
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ Definition
172
172
and ``startAfter``.
173
173
174
174
:returns:
175
- A :term :`cursor` that remains open as long as a connection to the
175
+ A :ref :`cursor <cursors> ` that remains open as long as a connection to the
176
176
MongoDB deployment remains open *and* the collection exists.
177
177
See :doc:`/reference/change-events` for examples of change
178
178
event documents.
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ Definition
142
142
and ``startAfter``.
143
143
144
144
:returns:
145
- A :term :`cursor` over the change event documents.
145
+ A :ref :`cursor <cursors> ` over the change event documents.
146
146
See :doc:`/reference/change-events` for examples of change
147
147
event documents.
148
148
Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ Query Result Format
438
438
~~~~~~~~~~~~~~~~~~~
439
439
440
440
When you run a find operation with a MongoDB driver or ``mongosh``, the
441
- command returns a :term :`cursor` that manages query results. The query
441
+ command returns a :ref :`cursor <cursors> ` that manages query results. The query
442
442
results are not returned as an array of documents.
443
443
444
444
To learn how to iterate through documents in a cursor, refer to your
You can’t perform that action at this time.
0 commit comments