[CSHARP-1376] Distinct should not send a null value for the query field. Created: 12/Aug/15  Updated: 20/Jan/16  Resolved: 13/Aug/15

Status: Closed
Project: C# Driver
Component/s: API
Affects Version/s: 2.0.1
Fix Version/s: 2.0.2, 2.1

Type: Bug Priority: Major - P3
Reporter: Craig Wilson Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-19907 Distinct command should accept a BSON... Closed

 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.



 Comments   
Comment by Githook User [ 13/Aug/15 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-1376: Distinct should not send a null value for the query field.
Branch: v2.0.x
https://github.com/mongodb/mongo-csharp-driver/commit/a2e09144e488c27f9ef1eff682236c2821f47456

Comment by Githook User [ 12/Aug/15 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-1376: Distinct should not send a null value for the query field.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/3ba249457da64decc9a877629a87b08e64f840c4

Generated at Wed Feb 07 21:39:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.