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
5858
5959- :method:`cursor.readPref()`
6060
61+ - :method:`cursor.objsLeftInBatch()`
62+
6163- :method:`cursor.snapshot()`
6264
6365- :method:`cursor.sort()`
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ cursor.objsLeftInBatch()
66
77.. method:: cursor.objsLeftInBatch()
88
9- The :method:`cursor.objsLeftInBatch()` returns the number of
9+ :method:`cursor.objsLeftInBatch()` returns the number of
1010 documents remaining in the current batch.
1111
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
1414 responses from the MongoDB instance. When there are no more
1515 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