Navigation
This version of the documentation is archived and no longer supported.
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.