Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-468

explain() broken for _id queries

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.4
    • Affects Version/s: 1.1.4, 1.2.0, 1.3.0
    • Component/s: Querying
    • 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 Eliot Horowitz (Inactive)
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: