[JAVA-23] new find methods that pull all fields *except* Created: 18/Aug/09 Updated: 02/Oct/09 Resolved: 18/Aug/09 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 0.8 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Ryan Nitz | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I have a collection that contains lots of documents with a lot of small fields and one large one. There is a method in the Java driver that allows you to specify which fields to pull. In some cases it would be easier to specify which fields not to pull. Current method: find(DBObject ref, DBObject keys) Desired method: find(DBObject ref, DBObject keys, boolean exclude) Additionally, it would make sense to have similar findOne methods. |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 18/Aug/09 ] |
|
really |