Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-31

Dot not allowed in key names

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      I am trying to import an existing database into mongo.

      The keys in the database don't contain the period character, but a lot of the lists in the documents themselves do.
      So I am getting a lot of errors like this:

      pymongo.errors.InvalidName: key 'web2.0' must not contain '.'

      Is it strictly necessary to prohibit dots in the keys?
      Is there a convenient workaround?

            Assignee:
            mike Michael Dirolf
            Reporter:
            turian Joseph Turian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: