diff --git a/source/reference/method/cursor.batchSize.txt b/source/reference/method/cursor.batchSize.txt index 061da5a9427..f5325c81a7d 100644 --- a/source/reference/method/cursor.batchSize.txt +++ b/source/reference/method/cursor.batchSize.txt @@ -7,11 +7,12 @@ cursor.batchSize() .. method:: cursor.batchSize() The :method:`batchSize() ` method specifies the - number of documents to return in each batch of the response from - the MongoDB instance. In most cases, modifying the batch size will - applications since the :program:`mongo` - shell and most :doc:`drivers ` return results as if - MongoDB returned a single batch. + number of documents to return in each batch of the response from the + MongoDB instance. In most cases, modifying the batch size will + not affect the user or the application since the + :program:`mongo` shell and most :doc:`drivers + ` return results as if MongoDB returned a + single batch. The :method:`batchSize() ` method takes the following parameter: @@ -31,7 +32,7 @@ cursor.batchSize() .. code-block:: javascript - db.animals.find().batchSize(10) + db.inventory.find().batchSize(10) This operation will set the batch size for the results of a query (i.e. :method:`find() `) to ``10``. The