Skip to content

Commit 707ed15

Browse files
committed
Typos
1 parent 72dfcfb commit 707ed15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/core/write-operations.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ configuration of :data:`getLastErrorDefaults
160160
concern for your application, become familiar with the
161161
:ref:`write-concern-considerations`.
162162

163-
The :dbcommand:`getLastError` has the following options to configure write
163+
The :dbcommand:`getLastError` command has the following options to configure write
164164
concern requirements:
165165

166166
- ``j`` or "journal" option
@@ -172,7 +172,7 @@ concern requirements:
172172

173173
.. code-block:: javascript
174174

175-
db.run Command( { getLastError: 1, j: "true" } )
175+
db.runCommand( { getLastError: 1, j: "true" } )
176176

177177
If you set :data:`journal` to true, and the :program:`mongod` does
178178
not have journaling enabled, as with :setting:`nojournal`, then

0 commit comments

Comments
 (0)