Skip to content

Commit a7490c0

Browse files
Davejeff-allen-mongo
authored andcommitted
DOCSP-20161 fix confused shell reference v5.2 (#174)
* DOCSP-20161 Fix confused shell reference * Clarify shells * Missing comma * Review feedback * Wording tweak
1 parent 8367ad9 commit a7490c0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/reference/method/db.getMongo.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ db.getMongo()
2222

2323
.. note::
2424

25-
:binary:`~bin.mongosh` has a sub-command,
26-
``db.getMongo().setSecondaryOk()`` which is not available in
27-
``mongosh``. Use :method:`Mongo.setReadPref()` instead.
25+
The legacy :binary:`mongo` shell has a sub-command,
26+
``db.getMongo().setSecondaryOk()``, which is not available in
27+
:binary:`mongosh`. In :binary:`mongosh`, use
28+
:method:`Mongo.setReadPref()` instead.
2829

0 commit comments

Comments
 (0)