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

Fully support Trim functions in queries

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Read Operations
    • Labels:

      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

            Assignee:
            david.golub David Golub
            Reporter:
            david.golub David Golub
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: