Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15253

Add "show colls" alias for "show collections"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.6.4
    • Shell
    • None

    Description

      In the MongoDB shell, we are able to type "show dbs" instead of "show databases" to list the databases, which is very convenient.

      But when it comes to listing collections, we must spell out the full "show collections" every single time, which gets old pretty quick.

      Could you please add a "show colls" shorthand for this, similar to "show dbs"?

      This should be a trivial change, yet it would be immensely appreciated by sysadmins spending their days in the MongoDB shell...

      Attachments

        Activity

          People

            Unassigned Unassigned
            ivan.todoroski Ivan Todoroski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: