Navigation
This version of the manual is no longer supported. Learn more about upgrading your version of MongoDB.

db.version()

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