Try it Out
Drivers
Downloads
Community
Blog
OPTIONS
Version
Select Version
3.0 (upcoming)
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.upgradeCheckAllDBs()
Query Plan Cache Methods
→
ON THIS PAGE
db.version()
Report a Problem