Tutorial by Examples

show dbs or db.adminCommand('listDatabases') or db.getMongo().getDBNames()
show collections or show tables or db.getCollectionNames()

Page 1 of 1