find() behavior with a filter field makes no sense

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.1.3
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > small.find({},

      {prop1:1}

      )
      {
      "_id" : ObjectId("4ad394773dbdf53293f6c58a"),
      "prop1" : "men"
      }
      > small.find({},{_id:1,prop1:1})
      {
      "_id" : ObjectId("4ad394773dbdf53293f6c589")
      }
      {
      "_id" : ObjectId("4ad394773dbdf53293f6c58a"),
      "prop1" : "men"
      }
      {
      "_id" : ObjectId("4ad394773dbdf53293f6c58b")
      }
      > small.find({},

      {prop1:1,id:1}

      )
      {
      "_id" : ObjectId("4ad394773dbdf53293f6c58a"),
      "prop1" : "men"
      }

              Assignee:
              Eliot Horowitz (Inactive)
              Reporter:
              Dwight Merriman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: