发布时间:2024-03-26 09:18:13 阅读量:104 要在 MongoDB 中详细查看当前所在的数据库,您可以使用以下命令:```bashdb.getName()```这将返回当前所在的数据库名称。