diff --git a/source/core/write-concern.txt b/source/core/write-concern.txt index 4453094d654..cbb3e0c1b69 100644 --- a/source/core/write-concern.txt +++ b/source/core/write-concern.txt @@ -246,7 +246,7 @@ To use this mode pass the string ``multiUse`` to the ``w`` option of .. code-block:: javascript - db.runCommand( { getLastError: 1, w: use2 } ) + db.runCommand( { getLastError: 1, w: "use2" } ) Specific Custom Write Concerns ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -291,7 +291,7 @@ To use this mode pass the string ``san`` to the ``w`` option of .. code-block:: javascript - db.runCommand( { getLastError: 1, w: san } ) + db.runCommand( { getLastError: 1, w: "san" } ) This operation will not return until a replica set member with the tag ``disk.san`` returns. @@ -303,7 +303,7 @@ replica set as in the following setting: .. code-block:: javascript cfg = rs.conf() - cfg.settings.getLastErrorDefaults = { ssd:1 } + cfg.settings.getLastErrorDefaults = { ssd: 1 } rs.reconfig(cfg) .. seealso:: :ref:`replica-set-configuration-tag-sets` for further