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

Distinct should not send a null value for the query field.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.0.2, 2.1
    • 2.0.1
    • API
    • None

    Description

      The legacy MongoCollection Distinct method currently sends a null value for the query parameter in the distinct command. We should omit the query field when the value is null.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            craig.wilson@mongodb.com Craig Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: