title: Get paginated result in Mongodb aggregation
body: <p>I am playing with some large amount of data and to query that data I am using mongodb aggregation framework. Here is a sample data:</p>
  
  <pre><code>{
     "id": "1"
     "name":"abc"
  },
  {
     "id": "2"
     "name":"abc"
  },
  {
     "id": "3"
     "name":"abc"
  },
  ...,
  {
     "id": "100"
     "name":"abc"
  }
  </code></pre>
  
  <p>So what I am doing is 10 results at a time so for that I set the $limit to 10. But what if I want 10 result after <em>id</em>:10 i.e. 10 results after the object with id 10. So it should return</p>
  
  <pre><code>{
     "id": "11"
     "name":"abc"
  },
  {
     "id": "12"
     "name":"abc"
  },
  {
     "id": "13"
     "name":"abc"
  },
  ...(And So on till id:20)
  </code></pre>
  
  <p>Is there any way to do this kind of aggregation query? Any help or suggestion would be appreciated. Thank you in advance.</p>