This version of the documentation is archived and no longer supported. To upgrade your 6.0 deployment, see the MongoDB 7.0 upgrade procedures.
hostname()Returns: The hostname of the system running mongosh.
hostname()| Returns: | The hostname of the system running mongosh. |
|---|