[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)
(do not included these fields - or do)

Additionally, it would make sense to have similar findOne methods.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 18/Aug/09 ]

really SERVER-125

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