Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6639

Comment on: "primer/query.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      I can't find a method in MongoDB Driver v3.1 that can limit query result field.
      is it deleted on purpose?but I want to use it to get few specific fields from a large document.
      The method I want seems to exist in v2.6(http://api.mongodb.org/java/2.6/com/mongodb/DBCollection.html#find(com.mongodb.DBObject, com.mongodb.DBObject)).

      Please tell me how to get my problem resolved.thanks a lot.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 12 weeks, 3 days ago