Skip to content

Commit 945c946

Browse files
author
Sam Kleinman
committed
DOCS-1014: edits
1 parent f1d2ad4 commit 945c946

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

source/reference/javascript.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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()`

source/reference/method/cursor.objsLeftInBatch.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)