Overriding Collection Name in MongoDb

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 1.8.1
    • Component/s: None
    • Environment:
      Windows 2008, Windows 7
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I have a .Net object named CacheItem<T> that gets persisted to MongoDb. When the object gets persisted, the name of the collection becomes CacheItem`1. If I try to use and shell commands against that document I get 'javascript illegal' error message due to the name that contains the tick mark, '`'. Is there a way to set the name of the object so that it isnt named as such?

            Assignee:
            Unassigned
            Reporter:
            joseph rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: