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

Fully support Trim functions in queries

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Read Operations

    Description

      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")
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: