title: Solution to use limit in mongodb find without using MongoCursor->limit()?
body: <p>I work with mongodb and i have a simple request to do. I use "find" and i want to limit the result it gets. I have seen the functions "skip" and "limit" of MongoCursor but i want to use the $limit and $skip properties in the query and not with the cursor to limit the data returned.</p>
  
  <p>In the mongodb documentation that seems possible but my request return nothing if I try like this :</p>
  
  <pre><code>$myMongoDB-&gt;myCollection-&gt;find(array('type' =&gt; 'test', '$limit' =&gt; 10);
  </code></pre>
  
  <p>Or :</p>
  
  <pre><code>$myMongoDB-&gt;myCollection-&gt;find(array('$query' =&gt; array('type' =&gt; 'test'), '$limit' =&gt; 10);
  </code></pre>
  
  <p>Anyone could help me to see what i do wrong ?</p>
  
  <p>Thank's for help.</p>
  
  <p>PS : and sorry for the quality of my english...</p>