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

Dot not allowed in key names

    XMLWordPrintable

    Details

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

      Description

      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?

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: