Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10863

Unclear documentation on use of reserved words in MongoDB shell

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None
    • Estimate:
      Small
    • Last comment by Customer:
      true

      Description

      There doesn't appear to be any documentation on the use of restricted words in collection names in the MongoDB shell, including some commonly used words.

      Example keywords that might be commonly used for collections:

      group
      auth
      stats
      version
      password
      prototype

      When attempting, e.g. an insert into db.stats the error
      db.stats.insert is not a function is returned

        Attachments

          Activity

            People

            Assignee:
            stennie Stennie Steneker
            Reporter:
            steffan.mejia Steffan Mejia
            Participants:
            Last commenter:
            Jonathan Dahl Jonathan Dahl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              3 years, 41 weeks, 4 days ago
              Date of 1st Reply: