db.version()

db.version()
Returns:返回:The version of the mongod or mongos instance.mongodmongos实例的版本。
←  db.stats()db.watch() →