Q. What command lists all databases in MongoDB?

A
show databases
B
list databases
C
show dbs
D
list dbs
Solution:

The show dbs command lists all databases in MongoDB.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!