Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2045

Cannot insert keys with dots

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • 1.6.0
    • None
    • None
    • None

    Description

      After upgrading mongo-c-driver to 1.6.0 I can no longer insert JSON data where they key contains a dot:

      > m$insert('{"foo.bar":true}')
      Error: document to insert contains invalid keys
      

      This was not a problem with 1.5.x.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Jeroenooms Jeroen Ooms [X]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: