db.serverBuildInfo()
db.serverBuildInfo()-
Provides a wrapper around the
buildInfodatabase command.buildInforeturns a document that contains an overview of parameters used to compile thismongodinstance.
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.