Page History
The following SHOW commands can be used to describe MongoDB schema information. See the SQL Query Reference for information on Utility Statements and Configuration Functions.
Anchor | ||||
---|---|---|---|---|
|
Table of Contents | ||
---|---|---|
|
SHOW DATABASES
SHOW DATABASES
List all available databases.
Example
Code Block |
---|
SHOW DATABASES |
SHOW COLLECTIONS
SHOW COLLECTIONS [IN <database_name>] [FOR COLLECTION <collection_name>] [NAMES_ONLY]
...