File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ configuration of :data:`getLastErrorDefaults
160
160
concern for your application, become familiar with the
161
161
:ref:`write-concern-considerations`.
162
162
163
- The :dbcommand:`getLastError` has the following options to configure write
163
+ The :dbcommand:`getLastError` command has the following options to configure write
164
164
concern requirements:
165
165
166
166
- ``j`` or "journal" option
@@ -172,7 +172,7 @@ concern requirements:
172
172
173
173
.. code-block:: javascript
174
174
175
- db.run Command ( { getLastError: 1, j: "true" } )
175
+ db.runCommand ( { getLastError: 1, j: "true" } )
176
176
177
177
If you set :data:`journal` to true, and the :program:`mongod` does
178
178
not have journaling enabled, as with :setting:`nojournal`, then
You can’t perform that action at this time.
0 commit comments