Docs Menu
Docs Home
/
MongoDB Manual

hostname()

hostname()
Returns:The hostname of the system running mongosh.
What is MongoDB? →