show databases show dbs
show collections show tables db.getCollectionNames()
//show all databases db.adminCommand( { listDatabases: 1 } )