mongodb / v3.6 / reference / reference-method-version.html

version()

  • version ( )
Returns: mongo shell 作为字符串的版本。