@@ -23,11 +23,11 @@ Overview
23
23
In this guide, you can learn how to access data from a **cursor** by using the
24
24
{+driver-short+}.
25
25
26
- A cursor is a mechanism that returns the results of a read operation in iterable
26
+ A cursor is a tool that returns the results of a read operation in iterable
27
27
batches. Because a cursor holds only a subset of documents at any given time,
28
28
cursors reduce both memory consumption and network bandwidth usage.
29
29
30
- You can retrieve a cursor by using the ``FindSync()`` and ``FindAsync()`` methods . You can
30
+ You can retrieve a cursor by using the ``FindSync()`` or ``FindAsync()`` method . You can
31
31
also convert the results of the ``Find()`` method to a cursor by chaining the ``ToCursor()``
32
32
or ``ToCursorAsync()`` method.
33
33
@@ -107,7 +107,7 @@ Retrieve All Documents
107
107
.. warning::
108
108
109
109
If the number and size of documents returned by your query exceeds available
110
- application memory, your program will crash. If you expect a large result
110
+ application memory, your program might crash. If you expect a large result
111
111
set, :ref:`access your cursor iteratively <csharp-cursors-iterate>`.
112
112
113
113
To retrieve all documents from a cursor, use the ``ToList()`` method, as shown in the
@@ -139,11 +139,11 @@ Tailable Cursors
139
139
140
140
When querying on a :manual:`capped collection </core/capped-collections/>`, you
141
141
can use a **tailable cursor** that remains open after the client exhausts the
142
- results in a cursor. To create a tailable cursor with capped collection,
143
- set the ``CursorType`` option of a ``FindOptions`` object to ``CursorType.TailableAwait``
144
- and pass this ``FindOptions`` object to the find method of your choice . The following example
145
- shows how to create a tailable cursor on a capped collection. Select the :guilabel:`Synchronous`
146
- or :guilabel:`Asynchronous` tab to see the corresponding code:
142
+ results in a cursor. To create a tailable cursor, create a ``FindOptions`` object and set the
143
+ ``CursorType`` property to ``CursorType.TailableAwait``. Then, pass the ``FindOptions`` object
144
+ to one of the find operation methods . The following example shows how to create a tailable
145
+ cursor on a capped collection. Select the :guilabel:`Synchronous` or
146
+ :guilabel:`Asynchronous` tab to see the corresponding code:
147
147
148
148
.. tabs::
149
149
0 commit comments