We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b2c5e5 commit c72b2c1Copy full SHA for c72b2c1
source/reference/method/cursor.objsLeftInBatch.txt
@@ -0,0 +1,16 @@
1
+========================
2
+cursor.objsLeftInBatch()
3
4
+
5
+.. default-domain:: mongodb
6
7
+.. method:: cursor.objsLeftInBatch()
8
9
+ The :method:`cursor.objsLeftInBatch()` returns the number of
10
+ documents remaining in the current batch.
11
12
+ The MongoDB instance returns its response in batches. The retrieval
13
+ of all the documents from a cursor may require multiple batch
14
+ responses from the MongoDB instance. When there are no more
15
+ documents remaining in the current batch, the cursor will retrieve
16
+ another batch to get more documents.
0 commit comments