Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.Contents

...

Anchor
Back to Top
Back to Top

Table of Contents

...



SHOW DATABASES

SHOW DATABASES

List all available databases.

Example

SHOW DATABASES

Back to top

SHOW COLLECTIONS

SHOW COLLECTIONS [IN <database_name>] [FOR COLLECTION <collection_name>] [NAMES_ONLY]

...