[JAVA-1758] MongoCollection.distinct() should have a required filter parameter Created: 09/Apr/15 Updated: 07/Oct/15 Resolved: 24/Apr/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | 3.1.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Jeremy Mikola | Assignee: | Ross Lawley |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
See: http://api.mongodb.org/java/3.0/com/mongodb/client/MongoCollection.html
Per the CRUD spec, this method should have a required filter parameter as its second argument:
|
| Comments |
| Comment by Jeffrey Yemin [ 07/Oct/15 ] |
|
Released in 3.1.0 |
| Comment by Ross Lawley [ 10/Apr/15 ] |
|
We provide a fluent style builder so in the meantime please set the filter on the DistinctIterable. |