[JAVA-3026] Deprecate DBCursor#addSpecial Created: 07/Oct/18 Updated: 28/Oct/23 Resolved: 09/Oct/18 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | 3.9.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
With the introduction of the find command in MongoDB 3.2, all the $-prefixed query modifiers have been replaced with explicit command fields. To reduce confusion, the DBCursor#addSpecial method should be deprecated, as there are already per-modifier methods for each of them (e.g. min, max, sort, etc). |
| Comments |
| Comment by Githook User [ 09/Oct/18 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}Message: Deprecate DBCursor#addSpecial
|