Docs HomeMongoDB Manual

db.serverBuildInfo()

db.serverBuildInfo()

Provides a wrapper around the buildInfo database command. buildInfo returns a document that contains an overview of parameters used to compile this mongod instance.提供buildInfo数据库命令的包装器。buildInfo返回一个文档,其中包含用于编译此mongod实例的参数概述。