Docs Menu

Docs HomeMongoDB Manual

hostname()

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