Tag Archives: getDBs()

MongoDB – List All the databases

The function getDBs() function returns all the database list db.getMongo().getDBs() The runCommand is aΒ special type of query called a database command and its is used database administration.Β The listDatabasesΒ parameter provides a list of all existing databases. You can see all commands … Continue reading

Posted in MongoDB | Tagged , , , | Leave a comment