title: Using MongoDB Limit() and Skip() together
body: <p>Here is the query:  </p>
  
  <pre><code>$collection-&gt;find(array("x"=&gt;new MongoId("..."))-&gt;skip(5)-&gt;limit(10);
  </code></pre>
  
  <p>Using explain gives the following results:</p>
  
  <pre><code>[n]=&gt;10
  [nscanned]=&gt;15
  [nscannedObjects]=&gt;15
  </code></pre>
  
  <p>There is indexing on <code>"x"</code>. So,if I am skipping the first 5 documents, why the number of scanned objects is 15 and not 10 ?</p>