Try it Out
Drivers
Downloads
Community
Blog
OPTIONS
Version
Select Version
2.6 (current)
2.4
2.2
Formats
HTML
PDF
EPUB
Contribute
Report a Problem
Edit on Github
Reference
>
mongo
Shell Methods
>
Database Methods
>
db.version()
db.version()
¶
db.
version
(
)
¶
Returns:
The version of the
mongod
or
mongos
instance.
←
db.stats()
db.upgradeCheck()
→
ON THIS PAGE
db.version()
Report a Problem