Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2346

Allow options in driver for escaping and unescaping string keys containing dollar and dot with preferred substitution

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • 2.7.0
    • None
    • Bson
    • None

    Description

      Currently we have to do manual work arounds when storing dictionaries of type Dictionary<string,?> in Mongo as there will be runtime exceptions if the string key ever contains a dollar or dot. We would like the option to specify an escape sequence for these characters in the driver. E.g. We currently use the \x<ascii-hexcode> format for escaping them ($ = \x24 . = \x2E)

      Attachments

        Issue Links

          Activity

            People

              scott.lhommedieu@mongodb.com Scott L'Hommedieu (Inactive)
              OliverD Oliver D&#39;Alton [X]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: