Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions source/core/object-id.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ information on MongoDB's document orientation.
ObjectId()
----------

The :program:`mongo` shell provides the ``ObjectId()`` wrapper class
to generate can generate a new ObjectId, and to provide the following
helper attribute and methods:
The :program:`mongo` shell provides the ``ObjectId()`` wrapper class to
generate a new ObjectId, and to provide the following helper attribute
and methods:

- ``str``

Expand Down Expand Up @@ -150,6 +150,6 @@ Consider the following uses ``ObjectId()`` class in the

This operation will return the following output:

.. code-block:: javascript
.. code-block:: none

507f191e810c19729de860ea
5 changes: 3 additions & 2 deletions source/core/read-operations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ variable:
print(tojson(myItem));
}

As an alternative print operation, cosider the the ``printjson()``
As an alternative print operation, consider the ``printjson()``
helper method to replace ``print(tojson())``:

.. code-block:: javascript
Expand All @@ -727,7 +727,8 @@ See :ref:`JavaScript cursor methods <js-query-cursor-methods>` and your
information on cursor methods.

.. [#set-shell-batch-size] You can use the ``DBQuery.shellBatchSize`` to
change the number of iteration from the default value ``20``.
change the number of iteration from the default value ``20``. See
:ref:`mongo-shell-executing-queries` for more information.

Iterator Index
~~~~~~~~~~~~~~
Expand Down
Loading