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

LINQ3: Refactor support for IndexOf to use $expr instead of regular expressions

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • LINQ3
    • None

    Description

      Now that the server supports $expr in filters we can translate IndexOf using aggregation operators instead of regular expressions.

      While the resulting translations are somewhat longer than the regular expressions they replace, they are more direct mappings from C# to MQL and should therefore be easier to understand and less bug prone.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: