Navigation
This version will reach end of life on Feb 2018. To upgrade, go to the Learn more about upgrading your version of MongoDB.

version()

version()
Returns:The version of the mongo shell as a string.

Changed in version 2.4: In previous versions of the shell, version() would print the version instead of returning a string.

←   cat() cd()  →