Docs Menu

Docs HomeDevelop ApplicationsMongoDB Manual

db.version()

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