Navigation
Reference
>
Legacy
mongo
Shell
>
Native Methods in the Legacy Shell
>
hostname()
hostname()
¶
hostname
(
)
¶
Returns:
The hostname of the system running
mongosh
.
←
getMemInfo()
isInteractive()
→