What command shall I use when I want to know what databases are in mongodb and what collections are in a database (equals to show tables statement in SQL )? I only found {dbStats:1} in docs that can only show information about current database without a list of collections.
What command shall I use when I want to know what databases are in
Share
see the official document: