Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs 菜单
Docs 主页

hostname()(mongosh方法)

hostname()
返回:运行 mongosh的系统的主机名。