[CDRIVER-2045] Cannot insert keys with dots Created: 12/Feb/17 Updated: 27/Oct/23 Resolved: 12/Feb/17 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.6.0 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jeroen Ooms [X] | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
After upgrading mongo-c-driver to 1.6.0 I can no longer insert JSON data where they key contains a dot:
This was not a problem with 1.5.x. |
| Comments |
| Comment by Jeroen Ooms [X] [ 12/Feb/17 ] |
|
Oh yikes that's a bit tricky, R loves dots in variable names. Wil need to fix some unit tests... |
| Comment by A. Jesse Jiryu Davis [ 12/Feb/17 ] |
|
Yes, this is by design, https://docs.mongodb.com/manual/reference/limits/#Restrictions-on-Field-Names |