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

Support comparison operators with constant on left hand side

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 2.0.1
    • 2.2.3
    • Linq
    • Fully Compatible

    Description

      Comparison queries in LINQ where the constant is on the left hand side throw an ArgumentException.

      For example:

      collection.Find(user => DateTime.Now > user.UpdatedDate);

      Looks like a regression of CSHARP-431

      Attachments

        Activity

          People

            craig.wilson@mongodb.com Craig Wilson
            sheila.kinsella@datahug.com Sheila Kinsella
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: