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
869
869
870
870
- .. include:: /includes/examples/ex-build-info-command.rst
871
871
872
- * - .. _mongosh-native-method-cd:
873
-
874
- ``cd()``
875
-
876
- - Changes the current working directory to the specified path.
877
-
878
872
* - .. _mongosh-native-method-isInteractive:
879
873
880
874
``isInteractive()``
@@ -912,12 +906,6 @@ Native Methods
912
906
> print(x)
913
907
example text
914
908
915
- * - .. _mongosh-native-method-pwd:
916
-
917
- ``pwd()``
918
-
919
- - Returns the current working directory of the active shell session.
920
-
921
909
* - .. _mongosh-native-method-quit:
922
910
923
911
``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
68
68
<https://nodejs.org/api/modules.html>`__, starting from the file
69
69
where ``require()`` was called.
70
70
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.
78
71
79
72
Load External Code in a mongosh Script
80
73
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments