This version of the documentation is archived and no longer
supported. View the current documentation to learn how to
upgrade your version of MongoDB.
version()Returns: The version of the mongoshell as a string.
version()| Returns: | The version of the mongo shell as a string. |
|---|