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

Fully support Trim functions in queries

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Read Operations

      We currently support the Trim, TrimStart, and TrimEnd functions in queries when the resulting string is passed to a function such as Contains, StartsWith, or EndsWith. However, they are not currently supported in conjunction with a comparison operator. For example:

      Find(model => model.Name.Trim() == "John")
      

            Assignee:
            david.golub@mongodb.com David Golub
            Reporter:
            david.golub@mongodb.com David Golub
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: