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

skip/limit has no effect when query with _id

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.0.4
    • Querying
    • None
    • windows x64
    • ALL

    Description

      A query, for example, db.test.find({_id:"xxx"}).skip(1), will return a record, whatever the skip is. I didn't find something about this in doc, so I think this is a bug.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kobevaliant kobevaliant
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: