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

Document How to do collations with LINQ

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0
    • Affects Version/s: None
    • Component/s: Documentation, Linq
    • None

      A simple LINQ query where toUpper is used to effect a case-insensitive match becomes an aggregation with an anchored case-insensistive regex $match stage.

      This works, but scans the entire index. Using a case-insensitive collation is a solution, but LINQ does not currently support collations in the MongoDB implementation.

            Assignee:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Reporter:
            spencer.brown@mongodb.com Spencer Brown
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: