JSON namespace commands

JSON namespace commands are a means to group collections and are mapped to a database schema.

To specify the current namespace to work with, use the db prefix. You can change the current namespace by using the USE command.

To work with an existing namespace, prefix commands with db. For example, to get index information for all collections in the specified namespace, use the db.getIndexes() command.