db.shutdownServer()

当前数据库不是admin database时,此操作将失败。

该命令为shutdown命令提供了包装。

首页