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

LINQ3: Translate S[i] == c in filters

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.14.0
    • Affects Version/s: None
    • Component/s: LINQ3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Translate:

      document.S[i] == 'x' 

      where S is of type string and i is of type int to:

      { S : /^.{i}x/s } 

       Note: also support the following modifes between `document.S` and `[i]`:

      ToLower
      ToUpper
      Trim
      TrimStart
      TrimEnd

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

              Created:
              Updated:
              Resolved: