File tree Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -869,12 +869,6 @@ Native Methods
869869
870870 - .. include:: /includes/examples/ex-build-info-command.rst
871871
872- * - .. _mongosh-native-method-cd:
873-
874- ``cd()``
875-
876- - Changes the current working directory to the specified path.
877-
878872 * - .. _mongosh-native-method-isInteractive:
879873
880874 ``isInteractive()``
@@ -912,12 +906,6 @@ Native Methods
912906 > print(x)
913907 example text
914908
915- * - .. _mongosh-native-method-pwd:
916-
917- ``pwd()``
918-
919- - Returns the current working directory of the active shell session.
920-
921909 * - .. _mongosh-native-method-quit:
922910
923911 ``quit()``
Original file line number Diff line number Diff line change @@ -68,13 +68,6 @@ The type of script determines how you specify file paths with
6868 <https://nodejs.org/api/modules.html>`__, starting from the file
6969 where ``require()`` was called.
7070
71- .. tip::
72-
73- To return the current working directory of the shell, run the
74- :ref:`pwd() <mongosh-native-method-pwd>` method from your script.
75-
76- To change the shell's working directory, use the :ref:`cd()
77- <mongosh-native-method-cd>` method in your script.
7871
7972Load External Code in a mongosh Script
8073~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments