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

Dot not allowed in key names

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Won't Fix
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: