Unable to drop a collection with "@" in name

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Linux
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I am trying to drop some collections, but It's not working. Below are the commands:
      <
      rs-ds4564584:PRIMARY> show collections
      ^12345'"\'\");|]*%00{%0d%0a<%00>%bf%27'ðŸ'©_undefined_omcandle^
      sqlmongomigration-temp-collection-12345
      to@example.com>
      bcc:052608.8_64.8.a364e.1@bxss.me_omcandle
      to@example.com>
      bcc:052608.8_68.8.a364e.1@bxss.me_omcandle
      to@example.com>
      bcc:052608.8_70.8.a364e.1@bxss.me_omcandle
      to@example.com>
      bcc:052608.8_72.8.a364e.1@bxss.me_omcandle

      I am trying to remove all collections having "@" in thier name, but on executing drop() command it is returning false.

      rs-ds4564584:PRIMARY> db['to@example.com>'].drop()
      false

      Please help me on how I can delete all such collections.

            Assignee:
            Danny Hatcher (Inactive)
            Reporter:
            Suresh L. Prajapati
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: