MongoDb查看所有数据库名称


 description

查看mongodb所有库名以及空间占用

 command

show dbs

 parameter

show dbs : 查询所有数据库名称及空间占用

 result

admin             0.000GB
test          51.848GB
config            0.000GB
local             0.000GB

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.