[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

JAVA-3026
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/13a46b17a11634e34f117793abd25efea14f41ad

Generated at Thu Feb 08 08:58:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.