[JAVA-5089] Update Projections Javadoc to indicate that computed expressions are allowed on find as of 4.4 Created: 28/Jul/23 Updated: 28/Oct/23 Resolved: 10/Oct/23 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Builders, Documentation |
| Affects Version/s: | None |
| Fix Version/s: | 4.11.0 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Jeffrey Yemin | Assignee: | Slav Babanin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Documentation Changes: | Not Needed | ||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||
| Description |
|
The com.mongodb.client.model.Projections#computed method's Javadoc says:
But as of MongoDB 4.4 this is no longer true. See https://www.mongodb.com/docs/manual/reference/method/db.collection.find/#std-label-find-projection. Docs should be updated to indicate that expressions are now supported. |