explain() broken for _id queries

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.3.4
    • Affects Version/s: 1.1.4, 1.2.0, 1.3.0
    • Component/s: Querying
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > db.foo.find()

      { "_id" : ObjectId("4b1fd7257a88ded6296525ba"), "k" : 3 }

      > db.foo.find(

      { "_id" : ObjectId("4b1fd7257a88ded6296525ba")}

      )

      { "_id" : ObjectId("4b1fd7257a88ded6296525ba"), "k" : 3 }

      > db.foo.find(

      { "_id" : ObjectId("4b1fd7257a88ded6296525ba")}

      ).explain()

      { "_id" : ObjectId("4b1fd7257a88ded6296525ba"), "k" : 3 }

              Assignee:
              Eliot Horowitz (Inactive)
              Reporter:
              Mathias Stearn
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: