Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-573

Node.js Find documentation not clear on options

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      Description of Find in Node.js documentation is not clear about how the driver will treat options. Client accidentally projected by using

       find({}, {w:1}) 

      instead of utilizing an available option. Explaining that the second option is projected unless a valid option will help resolve ambiguity.

      Attachments

        Activity

          People

            Unassigned Unassigned
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: