Docs Menu
Docs Home
/
MongoDB Manual
/ / /

db.version()

db.version()
Returns:The version of the mongod or mongos instance.
← db.stats()