new find methods that pull all fields *except*

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • 0.8
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Eliot Horowitz (Inactive)
              Reporter:
              Ryan Nitz
              None
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: