File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ Call cursor methods on cursors to modify how MongoDB returns objects to the curs
58
58
59
59
- :method:`cursor.readPref()`
60
60
61
+ - :method:`cursor.objsLeftInBatch()`
62
+
61
63
- :method:`cursor.snapshot()`
62
64
63
65
- :method:`cursor.sort()`
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ cursor.objsLeftInBatch()
6
6
7
7
.. method:: cursor.objsLeftInBatch()
8
8
9
- The :method:`cursor.objsLeftInBatch()` returns the number of
9
+ :method:`cursor.objsLeftInBatch()` returns the number of
10
10
documents remaining in the current batch.
11
11
12
- The MongoDB instance returns its response in batches. The retrieval
13
- of all the documents from a cursor may require multiple batch
12
+ The MongoDB instance returns response in batches. To retrieve
13
+ all the documents from a cursor may require multiple batch
14
14
responses from the MongoDB instance. When there are no more
15
15
documents remaining in the current batch, the cursor will retrieve
16
- another batch to get more documents.
16
+ another batch to get more documents until the cursor exhausts .
You can’t perform that action at this time.
0 commit comments