[JAVA-2893] Add API-level documentation for restriction of geo commands in count helpers Created: 22/Jun/18 Updated: 28/Oct/23 Resolved: 25/Jun/18 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.8.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Rathi Gnanasekaran | Assignee: | Ross Lawley |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | Java MongoDB 4.0 Support | ||||||||
| Description |
|
With the deprecation of the count() and command users will be asked to move to the use of countDocuments() and estimatedDocumentCount() helpers. The deprecation messaging in the api and deprecation warning should mention the restrictions on using the following commands/operators in the query/filter of the count and the countDocuments helpers. restricted -> replacement: $where -> $expr Also note that $expr requires MongoDB 3.6+
|
| Comments |
| Comment by Githook User [ 25/Jun/18 ] |
|
Author: {'username': 'rozza', 'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com'}Message: Updated Javadoc to document restrictions for geo commands
|